Commit Graph

84 Commits

Author SHA1 Message Date
David Ibia
c4d1bc9809 chore(lua): remove unused files related to themes and plugins for cleanup and organization purposes 2024-07-29 01:02:11 +01:00
David Ibia
c25f8963ba feat(catppuccin.lua): add new Lua file catppuccin.lua with configuration for catppuccino theme setup 2024-07-29 01:01:58 +01:00
David Ibia
30144c8a48 refactor(lualine.lua): remove IsMoltenActive function and related configuration as it is no longer needed in the lualine setup
chore(lualine.lua): clean up unnecessary code related to molten statusline configuration to improve code readability and maintainability
2024-07-01 15:54:14 +01:00
David Ibia
50dd3df42a refactor(nvim-tree.lua): update require path for nvim-tree to point to the correct location in the project structure 2024-07-01 15:54:09 +01:00
David Ibia
4027c62264 style(trouble.lua): improve keymap descriptions for better readability and clarity 2024-07-01 15:54:04 +01:00
David Ibia
939227fdc8 feat(telescope.lua): add file_browser extension with hijack_netrw option for improved file browsing experience
feat(telescope.lua): add key mappings for opening file browser, fuzzy finding files in cwd and recent files, and finding files in git
feat(telescope.lua): add key mapping for fuzzy finding string under cursor in cwd
2024-07-01 15:53:55 +01:00
David Ibia
42de4a6ad7 chore(molten.lua): remove unnecessary configuration for molten plugin
chore(quarto.lua): remove unnecessary configuration for quarto plugin
2024-07-01 15:53:26 +01:00
David Ibia
a322834154 style(none-ls.lua): remove print statements for cleaner code and better readability 2024-06-21 12:54:43 +01:00
David Ibia
2e5c3a7f35 style(lsp-config.lua): improve code formatting for better readability
feat(lsp-config.lua): add configuration for astro and kotlin language servers to enhance language support
2024-06-21 12:54:20 +01:00
David Ibia
b1737abd9d feat(mason.lua): add 'astro' to the list of installed language servers to support Astro language in Mason configuration 2024-06-21 12:51:57 +01:00
David Ibia
a3f904b2da feat(none-ls.lua): add functions CheckPoetryVirtualEnv and ResolvePythonEnvironment to handle virtual environments more efficiently 2024-06-21 12:51:44 +01:00
David Ibia
5060d0b816 feat(lualine.lua): add function IsMoltenActive to check if Molten plugin is active and display corresponding status line configuration 2024-06-14 02:25:56 +01:00
David Ibia
2b7ce8f520 feat(flutter-tools.lua): add configuration for flutter-tools statusline decorations
feat(lsp-config.lua): update key bindings for code actions and references, remove pycodestyle config
feat(lualine.lua): add functions to display Flutter Tools statusline and check if Flutter Tools is active
feat(mason.lua): add kotlin_language_server to the list of supported language servers
feat(molten.lua): improve configuration for Molten plugin based on file type
feat(none-ls.lua): improve configuration for null-ls sources, resolve virtual environment for mypy diagnostics

fix(telescope.lua): update trouble import path to sources instead of providers
feat(telescope.lua): add vimgrep_arguments to improve search functionality
feat(telescope.lua): add mappings for trouble.open in insert and normal mode
feat(telescope.lua): load extensions flutter and dap
feat(telescope.lua): define custom find_files function with specific find_command
feat(trouble.lua): update trouble import path to sources instead of providers
feat(trouble.lua): update mappings to use trouble_sources.open instead of trouble_telescope.open_with_trouble
feat(core/init.lua): add ignorecase and smartcase options for case-insensitive searching
feat(core/init.lua): add backspace option for more flexible backspacing behavior
feat(core/init.lua): set cursor color based on mode in InsertEnter and InsertLeave autocmds
feat(dap.lua): add nvim-nio dependency and load telescope-dap.nvim extension
feat(flutter-tools.lua): add flutter-tools.nvim plugin configuration
feat(molten.lua): add lazy loading and ft option for Python files
feat(none-ls.lua.disabled): add none-ls.nvim plugin configuration
feat(poet-v.lua): add lazy loading and ft option for Python files
feat(vim-tmux-navigator.lua): update cmd and keys for vim-tmux-navigator plugin

chore(remap.lua): reorganize keymap descriptions for better clarity and readability
feat(remap.lua): add key mappings for jumping up, down, to next, and to previous locations with center screen
feat(remap.lua): add key mappings for resizing windows right, left, up, and down by 10 lines
feat(safe-invoke.lua): add utility function SafeInvoke to safely invoke functions and handle errors
2024-06-14 02:03:40 +01:00
David Ibia
a96a4f719e feat(nvim-cmp.lua): change mapping confirm behavior to select current suggestion by default 2024-03-17 15:03:17 +01:00
David Ibia
5a617aeaff style(treesj.lua): fix indentation and align key-value pairs for better readability
feat(treesj.lua): add max_join_length option to tsj.setup for configuring maximum join length
feat(treesj.lua): add silent and noremap options to opts variable for better key mapping control
2024-03-17 15:02:45 +01:00
David Ibia
36a4939eb2 chore(supertab.lua): remove supertab configuration files as they are no longer needed 2024-03-17 15:02:25 +01:00
David Ibia
0241ccc827 feat(none-ls.lua): add mypy diagnostic tool with extra_args to specify python executable path based on environment variables 2024-03-17 15:02:11 +01:00
David Ibia
bacfe5981e style(mason.lua): remove unnecessary semicolon at the end of require statement
feat(mason.lua): replace eslint with biome in the list of installed LSP servers for mason configuration
2024-03-17 15:02:00 +01:00
David Ibia
5e7ffa698a refactor(lsp-config.lua): remove pyflakes from pylsp setup to improve performance and simplify configuration
feat(lsp-config.lua): add configuration for biome server to support additional filetypes and improve language server capabilities
2024-03-17 15:01:47 +01:00
David Ibia
e86c79c0f4 style(incline.lua): fix indentation and formatting for better code readability
feat(incline.lua): add hide option to hide cursorline in the setup configuration
feat(incline.lua): improve path shortening logic for long lines in the render function
2024-03-13 13:35:48 +01:00
David Ibia
7ab0dd47a5 feat(undotree.lua): set undodir option to store undo files in ~/.vim/undodir
feat(undotree.lua): enable undofile option to persist undo history between sessions
2024-03-13 01:57:47 +01:00
David Ibia
b202796340 feat(jupytext.lua): add jupytext setup configuration for markdown style and output extension to .md for better compatibility with markdown files 2024-03-10 12:22:49 +01:00
David Ibia
db5156be5a chore(lualine.lua): improve code formatting by aligning comments and adding whitespace for better readability
feat(lualine.lua): add support for molten statusline configuration to enhance statusline customization
2024-03-10 12:22:41 +01:00
David Ibia
730b62e1da feat(molten.lua): add autocmds to dynamically adjust configuration based on file type and Molten status
feat(molten.lua): add autocmd to export output chunks to Jupyter notebook on write
feat(molten.lua): add autocmds to import output chunks from Jupyter notebook based on kernel
feat(molten.lua): add autocmd to initialize Molten buffer and import output chunks
2024-03-10 12:22:33 +01:00
David Ibia
b5d1df5dc5 style(nvim-cmp.lua): reformat code for better readability and consistency
feat(nvim-cmp.lua): add custom source "otter" for otter completion in autocompletion sources
2024-03-10 12:22:25 +01:00
David Ibia
3e9289046f feat(nvim-treesitter-context.lua): add treesitter-context plugin configuration to enhance code context visibility and navigation 2024-03-10 12:22:18 +01:00
David Ibia
99579eeab9 feat(nvim-treesitter.lua): add support for additional parsers (markdown_inline, markdown) to improve syntax highlighting capabilities
feat(nvim-treesitter.lua): enable textobjects for moving, selecting, and swapping code blocks to enhance code navigation and manipulation within the editor
2024-03-10 12:22:11 +01:00
David Ibia
ef623f83ad feat(otter.lua): add support for embedding Python and Lua languages in Otter 2024-03-10 12:22:04 +01:00
David Ibia
77340c5dcf feat(quarto.lua): add Quarto setup configuration for language server protocol features, code runner settings, and keymap bindings to enhance Quarto functionality. 2024-03-10 12:21:56 +01:00
David Ibia
4ddb4399ab feat(highlight-colors): add support for nvim-highlight-colors plugin to customize syntax highlighting colors in Neovim 2024-03-05 12:07:24 +01:00
David Ibia
193672949d refactor(lsp-config.lua): remove tailwindcss specific logic from lsp config file
feat(tailwindcss-colors.lua): delete tailwindcss-colors.lua file
feat(tailwindcss-colors.lua): delete tailwindcss-colors setup call
feat(tailwindcss-colors.lua): delete tailwindcss-colors plugin configuration file
2024-03-05 12:06:51 +01:00
David Ibia
db4b8ad12c refactor(gitignore.lua): replace GetProjectRoot function with require statement for
absolute.utils.get-git-root module to improve code organization and readability
feat(gitignore.lua): update keymap description to include GitIgnore prefix for
clarity and consistency with functionality provided by the keymap
2024-03-03 12:02:53 +01:00
David Ibia
c8b30a453e refactor(nvim-silicon.lua): change variable names for better readability
feat(nvim-silicon.lua): add functionality to create a screenshots directory and
open it based on the operating system
feat(nvim-silicon.lua): add keymaps for creating a screenshot and opening the
screenshots directory
feat(nvim-silicon.lua): update silicon setup with font and output settings
2024-03-03 12:02:27 +01:00
David Ibia
884fc44344 feat(nvim-silicon.lua): add support for generating code images using Silicon
feat(nvim-silicon.lua): create configuration to use Silicon for code image generation
2024-02-29 21:35:27 +01:00
David Ibia
1c57efd8cb refactor(incline.lua): change window placement to right for better UI consistency
feat(incline.lua): add function shortenPath to truncate long file paths for display
2024-02-26 21:37:57 +01:00
David Ibia
260aff8ebf chore(hologram.lua): remove unused hologram.lua files from absolute directory 2024-02-26 21:36:50 +01:00
David Ibia
30c2b464e0 refactor(incline.lua): remove unused functions get_git_diff and get_diagnostic_label
feat(incline.lua): add display of relative path in the rendered output for better context
2024-02-26 15:33:42 +01:00
David Ibia
6fba1ca3f1 refactor(incline.lua): improve code formatting and indentation for better readability
feat(incline.lua): add support for displaying diagnostic signs and git diff
information in the incline plugin to enhance user experience
2024-02-26 14:57:09 +01:00
David Ibia
69319e52c5 refactor(incline.lua): update incline setup to include window padding and margin
feat(incline.lua): add custom rendering function to display file icons, git diff
indicators, and diagnostic signs in incline plugin
2024-02-26 14:56:24 +01:00
David Ibia
49f2e99f83 feat(gitsigns): add gitsigns plugin to enhance git integration in Neovim
feat(gitsigns): configure gitsigns plugin to load setup in after directory for customization
2024-02-26 14:56:13 +01:00
David Ibia
c4e74ff5e1 style(hologram.lua): fix indentation for consistency and readability
feat(hologram.lua): change image_pattern to start with a dot for file extensions
feat(hologram.lua): add support for handling image previews on buffer enter and leave events
2024-02-26 14:37:14 +01:00
David Ibia
ba39d9bfe4 style(toggleterm.lua): fix indentation and alignment for better readability
feat(toggleterm.lua): add lazygit terminal setup with custom configurations
feat(toggleterm.lua): add keymap to toggle lazygit terminal with leader key
feat(toggleterm.lua): comment out keymap for opening a general terminal
2024-02-26 14:37:06 +01:00
David Ibia
dcabac3a07 feat(incline.lua): add incline setup in incline.lua to configure incline plugin
feat(incline.lua): add incline plugin configuration in plugins/incline.lua to load incline setup on VeryLazy event
2024-02-26 14:36:51 +01:00
David Ibia
dce8aaa3bc chore(bufferline.lua): remove bufferline configuration and key mappings for tab
management to simplify and streamline the setup of the bufferline plugin
chore(bufferline.lua): remove bufferline plugin configuration and dependencies
to declutter the plugin setup and improve maintainability
2024-02-26 14:36:29 +01:00
David Ibia
55edad9ed6 fix(toggleterm.lua): change key mapping for opening lazygit from "<leader>gl" to "<leader>gs" to avoid conflicts with other mappings
feat(toggleterm.lua): set toggleterm direction to "float" to make the terminal window float instead of splitting the current window
2024-02-16 22:59:57 +01:00
David Ibia
bfcd015867 chore(vim-fugitive): remove vim-fugitive.lua files
The vim-fugitive.lua files were removed as they are no longer needed in the project.
2024-02-16 14:14:26 +01:00
David Ibia
15246a74ab feat(toggleterm.lua): add support for toggleterm plugin to open a terminal and lazygit
This commit adds support for the toggleterm plugin in Neovim. It introduces a new Lua file `toggleterm.lua` in the `absolute/after` directory, which configures the toggleterm plugin. It sets up key mappings to open a terminal and toggle the lazygit terminal.

The `toggleterm.lua` file imports the `toggleterm` and `Terminal` modules from the toggleterm plugin. It then sets up the toggleterm plugin using the `toggle_term.setup()` function.

The `lazygit` terminal is defined using the `Terminal:new()` function. It specifies the command to run (`lazygit`), the directory to run the command in (`git_dir`), and the floating window options. It also defines an `on_open` function to start insert mode and set a key mapping to close the terminal, and an `on_close` function to start insert mode.

The `_LAZYGIT_TOGGLE()` function is defined to toggle the `lazygit` terminal.

Key mappings are set using the `vim.api.nvim_set_keymap()` function. The `<leader>gl` mapping is set to call the `_LAZYGIT_TOGGLE()` function, and the `<C-`` mapping is set to open a terminal using the `ToggleTerm` command.

Additionally, a new Lua file `toggleterm.lua` is added in the `absolute/plugins` directory, which exports the toggleterm plugin configuration. It requires the `absolute.after.toggleterm` module to configure the toggleterm plugin.
2024-02-16 14:13:23 +01:00
David Ibia
a0d0658a16 feat(hologram.lua): add support for hologram plugin to display and handle image previews in Neovim
This commit adds two new files: `hologram.lua` and `hologram.lua`.

The `hologram.lua` file contains the configuration for the `hologram.nvim` plugin. It is responsible for setting up the plugin and linking it to the `absolute.after.hologram` file.

The `hologram.lua` file contains the implementation for handling image previews using the `hologram` and `image` modules. It sets up autocmds to trigger the `handle_image_preview` function when entering or opening a buffer with an image file. The function creates a new image object and displays it for 5 seconds before deleting it. There is also a `handle_image_preview_close` function that is triggered when leaving or closing a buffer with an image file, but it is currently commented out.

These changes were made to enhance the functionality of Neovim by allowing users to preview images within the editor using the `hologram.nvim` plugin.
2024-02-08 22:51:47 +01:00
David Ibia
bce7208644 refactor(dashboard.lua): remove unnecessary empty lines
refactor(dashboard.lua): update dashboard setup config to include the header option with the provided header array
2024-02-08 22:50:59 +01:00
David Ibia
0900427b05 fix(lsp-config.lua): fix typo in variable name 'bufnr' to 'opts.buffer' to enable completion triggered by <c-x><c-o>
refactor(lsp-config.lua): remove unnecessary 'enabled' property from 'pycodestyle' configuration
2024-02-08 22:50:45 +01:00