Commit Graph

142 Commits

Author SHA1 Message Date
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
67e1efba83 feat(init.lua): add maplocalleader configuration to set a custom local leader key for vim commands 2024-03-10 12:21:35 +01:00
David Ibia
c22561d18e feat(jupytext.lua): add jupytext plugin configuration to load jupytext.nvim and set lazy loading to false 2024-03-10 12:21:29 +01:00
David Ibia
347718979c feat(molten.lua): add molten-nvim plugin configuration to enhance Neovim functionality 2024-03-10 12:21:22 +01:00
David Ibia
7caf5d4241 feat(nvim-treesitter-context.lua): add nvim-treesitter-context plugin configuration to load custom settings for better context highlighting in Neovim 2024-03-10 12:21:15 +01:00
David Ibia
153a3f538e feat(otter.lua): add configuration for otter.nvim plugin to load custom settings after plugin initialization 2024-03-10 12:21:08 +01:00
David Ibia
8ab0ebd57e feat(quarto.lua): add quarto plugin configuration to support quarto-nvim and its dependencies for enhanced functionality 2024-03-10 12:21:01 +01:00
David Ibia
9f5022b61b feat(init.lua): add additional paths to package.path to include luarocks modules installed in user's home directory 2024-03-10 12:20:47 +01:00
David Ibia
7b78ace466 style(remap.lua): improve code readability by adding comments and whitespace
feat(remap.lua): add logic to only source specific file extensions to enhance security and prevent unintended sourcing of files
2024-03-10 12:20:39 +01:00
David Ibia
8f31e19160 feat(image.lua): add configuration for image.nvim plugin to support displaying images in the editor with customizable options 2024-03-10 12:19:57 +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
d811b3e73f feat(init.lua): add support for absolute.helpers module to provide additional helper functions 2024-03-03 14:10:23 +01:00
David Ibia
e625999f55 feat(init.lua): add require statement for open-project-folder module to enable its functionality 2024-03-03 14:10:16 +01:00
David Ibia
6bf7c84173 feat(open-project-folder.lua): add Lua script to open project root folder based on OS
feat(open-project-folder.lua): add key mapping to open project root folder in Neovim
2024-03-03 14:10:03 +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
6afb379fad feat(detect-os.lua): add script to detect the operating system and return
the corresponding value based on the environment variables and system
commands available
2024-03-03 12:02:46 +01:00
David Ibia
2bace8525a feat(get-git-root.lua): add Lua function to get the root directory of a Git project using 'git rev-parse --show-toplevel' command 2024-03-03 12:02:38 +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
470940593f refactor(remap.lua): change keymap for regex replace to <leader>sr for better
clarity and add keymap for replacing selected text in visual mode with <leader>ss
2024-02-22 12:26:55 +01:00
David Ibia
50368bc5c7 fix(remap.lua): change keymap for selecting all text from <leader>a to <C-a> to
avoid conflicts with other keybindings and improve usability.
2024-02-18 02:48:58 +01:00
David Ibia
b26965f4d2 feat(remap.lua): add keymap to show keymaps using Telescope plugin for better navigation and understanding of keybindings 2024-02-17 22:34:15 +01:00
David Ibia
7528b01bfa style(vim-tmux-navigator.lua): comment out unused key binding for TmuxNavigatePrevious command to improve code readability and maintainability 2024-02-16 23:03:01 +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
213a312bed feat(apple-pkl.lua): add plugin configuration for apple/pkl-neovim
This commit adds a new Lua file `apple-pkl.lua` to the `absolute/plugins` directory. The file contains the configuration for the plugin `apple/pkl-neovim`. The configuration includes the following:
- The plugin URL: `https://github.com/apple/pkl-neovim`
- The plugin should be loaded lazily
- The plugin should be triggered on the event "BufReadPre *.pkl"
- The plugin has a dependency on `nvim-treesitter/nvim-treesitter`
- The plugin build function installs the `pkl` language for Treesitter using the command `TSInstall! pkl`
2024-02-11 21:29:57 +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
David Ibia
5d326673e0 feat(todo-comments.lua): add support for todo-comments plugin
This commit adds support for the todo-comments plugin. It includes the following changes:

- Added a new file `todo-comments.lua` in the `lua/absolute/after` directory.
- Imported the `todo-comments` module.
- Set up the `todo-comments` plugin with default options.
- Defined key mappings for jumping to previous and next todo comments.
- Defined key mappings for opening comments in Telescope and Trouble.
- Added a new file `todo-comments.lua` in the `lua/absolute/plugins` directory.
- Exported a table with the configuration for the `todo-comments` plugin, including its dependencies and a config function that requires the `absolute.after.todo-comments` module.
2024-02-08 22:50:11 +01:00
David Ibia
850814d169 feat(comment.lua): add support for commenting functionality in the Absolute plugin
feat(comment.lua): configure Comment.nvim plugin to load the comment setup from absolute.after.comment.lua file
2024-01-30 16:10:38 +01:00
David Ibia
41e667d58a chore(lsp-config.lua): update configuration for pylsp and emmet_ls
feat(lsp-config.lua): enable rope_autoimport, flake8, pyflakes, and pycodestyle plugins for pylsp
refactor(lsp-config.lua): comment out jedi_language_server configuration
2024-01-30 16:06:14 +01:00
David Ibia
246291ed8c feat(remap.lua): add keymap for selecting all text with "<leader>a" shortcut
The change adds a new keymap in the remap.lua file to select all text in the editor when the "<leader>a" shortcut is pressed. This allows users to quickly select the entire document without manually scrolling or using other selection methods.
2024-01-30 16:05:54 +01:00
David Ibia
4bc3130791 chore(none-ls.lua): add black as a formatting source in null-ls setup to support formatting for Python files 2024-01-30 16:05:39 +01:00