Commit Graph

96 Commits

Author SHA1 Message Date
David Ibia
ae7209b8d0 chore(none-ls.lua): update formatting sources in null-ls setup
The formatting sources in the null-ls setup have been updated. The `null_ls.builtins.formatting.black` and `null_ls.builtins.formatting.rustfmt` sources have been removed, and the `null_ls.builtins.formatting.autopep8` source has been added. This change was made to improve the formatting capabilities of the null-ls plugin.
2024-01-16 11:20:10 +01:00
David Ibia
197dbab5d2 chore(lazy-lock.json): update commit hashes for none-ls.nvim, nvim-treesitter, nvim-web-devicons, and rose-pine
The commit hashes for the following dependencies have been updated:
- none-ls.nvim: Updated from 7e146f3a188853843bb4ca1bff24c912bb9b7177 to cf81e765460f722a381e5f3f5e3cbdce88398517
- nvim-treesitter: Updated from fcf843bf14adaeee53aad1b28fabba1d3b62fc8d to 59d4c14a1a4262cf637ff2420032593afa062749
- nvim-web-devicons: Updated from 4f5e6414438c920743fc1bb92bee1047620d6321 to 140edfcf25093e8b321d13e154cbce89ee868ca0
- rose-pine: Updated from c01a4a61020ddcfd3448fbb9cf11309f336bfb7b to b00800948e35df1df02c80cdea07988c4325d3ac

These updates ensure that the project is using the latest versions of these dependencies.
2024-01-16 01:35:12 +01:00
David Ibia
2f81b9e3f7 chore(lsp-config.lua): refactor code formatting and improve readability
feat(lsp-config.lua): add support for tailwindcss lsp and attach tailwind_colors only when using tailwindcss lsp
feat(lsp-config.lua): add key mappings for various LSP functionalities like go to declaration, go to definitions, show documentation, show LSP implementation, get help, show LSP type definitions, smart rename, see available code actions, show LSP references, format file, and restart LSP
feat(lsp-config.lua): configure language servers for html, typescript, css, tailwindcss, svelte, emmet, python, jedi, docker, json, vue, rust, lua, css, htmx, docker file, docker compose, and eslint
2024-01-16 01:34:57 +01:00
David Ibia
8c04ed3ff7 feat(tailwindcss-colors.lua): add support for tailwindcss-colors plugin
The `tailwindcss-colors.lua` file was added to the `absolute/after` directory. This file imports the `tailwindcss-colors` module and sets it up.

The `tailwindcss-colors.lua` file was also added to the `absolute/plugins` directory. This file returns a table with the plugin configuration, including a `config` function that requires the `absolute.after.tailwindcss-colors` module.

These changes were made to add support for the `tailwindcss-colors` plugin in the Absolute Neovim configuration.
2024-01-15 02:12:59 +01:00
David Ibia
e901890e97 feat(tailwind-sorter.lua): add tailwind-sorter plugin and configuration
The tailwind-sorter.lua file was added to the absolute/after directory. This file sets up the tailwind-sorter plugin with the following configuration:
- on_save_enabled is set to true, enabling the plugin to run on file save.
- on_save_pattern is set to a list of file patterns for which the plugin should run on save. The patterns include "*.html", "*.js", "*.jsx", "*.tsx", "*.twig", "*.hbs", "*.php", "*.heex", "*.astro", and "*.vue".

Additionally, the tailwind-sorter.lua file was added to the absolute/plugins directory. This file returns a table with the following properties:
- The first element is the plugin name "laytan/tailwind-sorter.nvim".
- The dependencies property specifies the required plugins "nvim-treesitter/nvim-treesitter" and "nvim-lua/plenary.nvim".
- The build property specifies the build command to be executed in the "formatter" directory. This command installs the necessary npm packages and builds the plugin.
- The config property is a function that requires the "absolute.after.tailwind-sorter" module, which contains the plugin configuration.

These changes were made to add the tailwind-sorter plugin to the project and configure it for use.
2024-01-15 02:12:46 +01:00
David Ibia
0499526c85 chore(lsp-config.lua): refactor and organize language server configurations for better readability and maintainability 2024-01-15 02:12:05 +01:00
David Ibia
57a1accde5 chore(lazy-lock.json): update dependencies for tailwind-sorter.nvim and tailwindcss-colors.nvim to latest commits on main branch 2024-01-15 02:11:51 +01:00
David Ibia
823b4f8900 chore(README.md): remove unnecessary section and update component description
feat(README.md): add TODO to list out plugins for better documentation
2024-01-15 02:11:38 +01:00
David Ibia
71a08f4097 chore(lazy-lock.json): update keyseer.nvim and mason-lspconfig.nvim dependencies
- Update keyseer.nvim to branch "main" and commit "6cb478f9b2be4af4680ceb0308a9b49cd6b6ea73"
- Update mason-lspconfig.nvim to branch "main" and commit "3ba1b92b771f33256b4969d696b82c8ae7075364"

These updates are necessary to ensure compatibility and take advantage of the latest features and bug fixes in the dependencies.
2024-01-15 01:49:17 +01:00
David Ibia
90154b6967 feat(keyseer): add keyseer plugin and configuration
Add keyseer plugin to the project by including the `jokajak/keyseer.nvim` package in the `lua/absolute/plugins/keyseer.lua` file. The plugin is configured to use the latest version available. The configuration file `lua/absolute/after/keyseer.lua` is also added, which sets up keyseer.
2024-01-15 01:49:02 +01:00
David Ibia
2342ae3f1b chore(remap.lua): remove unnecessary blank lines for better code readability
feat(remap.lua): add descriptions to keymap settings for better understanding and maintainability
fix(remap.lua): fix keymap setting for toggling TMUX Pane to use the correct leader key
2024-01-14 22:09:29 +01:00
David Ibia
0a16978543 refactor(lsp-config.lua): clean up code formatting and improve readability
feat(lsp-config.lua): add key mappings for LSP commands to improve productivity
feat(lsp-config.lua): configure additional language servers for HTML, Emmet, Pylsp, Jedi, Docker, JSON, Vue, and Rust
refactor(lsp-config.lua): remove unnecessary comments and blank lines
2024-01-14 22:09:19 +01:00
David Ibia
dfbe7acbc4 chore(lazy-lock.json): update dressing.nvim and fzf dependencies
- Update dressing.nvim to commit b2c644abfaae7523bb393b0c452adf3ebdaf53dc
- Update fzf to commit 1a9ea6f738cfafab83a5e0e828e60f0bf68bffee

The dependencies dressing.nvim and fzf were updated to their latest commits to ensure compatibility and take advantage of any bug fixes or new features.
2024-01-14 22:09:09 +01:00
David Ibia
4f0f762caa feat(treesj.lua): add treesj.lua file to enable toggling of Treesitter Join functionality
The treesj.lua file is added to the project to enable the toggling of Treesitter Join functionality. The `tsj.setup` function is called to configure the plugin with the option `use_default_keymaps` set to `false`. This ensures that the default keymaps provided by the plugin are not used.

A keymap is set using `vim.keymap.set` to bind the `<leader>m` key combination in normal mode to the command `TSJToggle`. The `opts.desc` option is set to provide a description for the keymap.

This change allows users to toggle the Treesitter Join functionality using the `<leader>m` key combination in normal mode.
2024-01-14 04:01:44 +01:00
David Ibia
adc0e7d95c feat(trouble.lua): add configuration for telescope plugin to integrate with trouble plugin
The `trouble.lua` file is added to configure the integration between the `telescope` plugin and the `trouble` plugin. This configuration sets up key mappings for opening trouble windows and quickfix lists. It also adds keybindings for toggling document diagnostics, workspace diagnostics, and the quickfix list using the leader key. This configuration enhances the functionality of the `telescope` plugin by integrating it with the `trouble` plugin.
2024-01-14 04:01:28 +01:00
David Ibia
4273043666 feat(fzf.lua): add fzf plugin configuration
The fzf.lua file is added to the absolute/plugins directory. It contains the configuration for the fzf plugin. The configuration includes the plugin name "junegunn/fzf" and the build command "./install --all". This configuration enables the fzf plugin to be used in the project.
2024-01-14 04:01:10 +01:00
David Ibia
de2237fb2c feat(git-blame.lua): add git-blame plugin configuration
The git-blame.lua file is added with the following configuration:
- The plugin "f-person/git-blame.nvim" is included.
- The event "VeryLazy" is associated with the plugin.
2024-01-14 04:00:58 +01:00
David Ibia
286a2f7ebe feat(nvim-surround.lua): add configuration for nvim-surround plugin
The `nvim-surround.lua` file was added to the `lua/absolute/after` directory. This file contains the configuration for the `nvim-surround` plugin. The `surround.setup({})` function is called to initialize the plugin with an empty configuration object. This allows the plugin to be used with default settings.
2024-01-14 04:00:45 +01:00
David Ibia
4591540449 chore(nvim-bqf.lua): add new file nvim-bqf.lua to the absolute/after directory 2024-01-14 04:00:33 +01:00
David Ibia
7834005138 feat(none-ls.lua): add none-ls plugin configuration
The none-ls plugin is added to the list of plugins in the absolute configuration. The plugin is configured to load the "absolute.after.none-ls" module. This configuration allows for the integration of the none-ls plugin into the absolute plugin system.
2024-01-14 04:00:21 +01:00
David Ibia
7b75e5058b feat(nvim-bqf.lua): add nvim-bqf plugin configuration
Add configuration for the nvim-bqf plugin. This plugin provides enhanced quickfix and location list functionality for Neovim. The configuration includes specifying the plugin as a dependency and configuring it to load after other plugins. Additionally, it requires the nvim-treesitter and fzf plugins as dependencies. Finally, it loads a custom configuration file for the nvim-bqf plugin.
2024-01-14 04:00:07 +01:00
David Ibia
cba7ae9980 feat(none-ls.lua): add configuration for null-ls plugin to enable formatting with stylua, prettierd, shfmt, black, and rustfmt
The changes were made to add configuration for the null-ls plugin in the none-ls.lua file. This configuration enables formatting with the following tools: stylua, prettierd, shfmt, black, and rustfmt. This allows for consistent and automated formatting of code in the Lua project.
2024-01-14 03:59:54 +01:00
David Ibia
7aa69de8a8 feat(nvim-surround.lua): add nvim-surround plugin
Add the nvim-surround plugin to the list of plugins used in the configuration. This plugin provides convenient mappings and commands for manipulating surrounding characters. The plugin is sourced from the "kylechui/nvim-surround" repository, using the latest version available. The plugin is configured to be loaded during the "VeryLazy" event, and the necessary configuration file is required to be loaded after the plugin is initialized.
2024-01-14 03:59:36 +01:00
David Ibia
2a47d47b8b feat(treesj.lua): add treesj plugin configuration
Add a new file `treesj.lua` to the `absolute/plugins` directory. The file contains the configuration for the `treesj` plugin. The plugin is sourced from the repository `Wansmer/treesj` and has a dependency on `nvim-treesitter/nvim-treesitter`. The configuration includes loading the `absolute.after.treesj` module.
2024-01-14 03:41:44 +01:00
David Ibia
80f7dcf1e9 feat(trouble.lua): add trouble.nvim plugin with configuration to the project
The trouble.nvim plugin is added to the project. It is a plugin that provides a better way to handle and navigate through the list of diagnostics and other code issues. The plugin is added as a dependency and requires the nvim-tree/nvim-web-devicons plugin to function properly. The configuration for the trouble.nvim plugin is added in the absolute.after.trouble.lua file.
2024-01-14 03:15:56 +01:00
David Ibia
75a58a2d0b feat(cheatsheet.lua): add cheatsheet plugin and its dependencies to the configuration
Add the cheatsheet plugin and its dependencies to the configuration file. This allows for the integration of the cheatsheet functionality into the application.
2024-01-14 03:13:00 +01:00
David Ibia
3277805e69 chore(telescope.lua): refactor key mappings and add support for trouble.nvim integration
The key mappings in the telescope.lua file have been refactored to use the new mappings syntax introduced in the latest version of Telescope. Additionally, support for the trouble.nvim plugin has been added by mapping the `<C-q>` key to the `trouble.open_with_trouble` function in both insert and normal mode. This allows for easier navigation and troubleshooting within Telescope.
2024-01-14 03:12:36 +01:00
David Ibia
1305a943a1 chore(bufferline.lua): update keybindings for closing and creating tabs to improve consistency and avoid conflicts 2024-01-14 03:12:25 +01:00
David Ibia
5c953ee2ac chore(lazy-lock.json): update dependencies
- Update LuaSnip to commit 82108e7e31cc6fc223cc5df5cae6d89f70bb199f
  - WHY: Updating to the latest commit of LuaSnip to get the latest features and bug fixes.

- Add cheatsheet.nvim with commit 9716f9aaa94dd1fd6ce59b5aae0e5f25e2a463ef
  - WHY: Adding cheatsheet.nvim as a new dependency to enhance the functionality of the application.

- Update copilot.vim to commit 1a55183ef9347d6f420406a3746474b6b9fb9ef5
  - WHY: Updating copilot.vim to the latest commit to benefit from the latest improvements and bug fixes.

- Update indent-blankline.nvim to commit 12e92044d313c54c438bd786d11684c88f6f78cd
  - WHY: Updating indent-blankline.nvim to the latest commit to get the latest enhancements and bug fixes.

- Update lspkind.nvim to commit 1735dd5a5054c1fb7feaf8e8658dbab925f4f0cf
  - WHY: Updating lspkind.nvim to the latest commit to benefit from the latest features and improvements.

- Update mason-lspconfig.nvim to commit 0989bdf4fdf7b5aa4c74131d7ffccc3f399ac788
  - WHY: Updating mason-lspconfig.nvim to the latest commit to get the latest enhancements and bug fixes.

- Update mason.nvim to commit e110bc3be1a7309617cecd77bfe4bf86ba1b8134
  - WHY: Updating mason.nvim to the latest commit to benefit from the latest features and improvements.

- Update nightfly to commit 0c6e2e88bf15634af94a91fcc2e20e28a09dfecd
  - WHY: Updating nightfly to the latest commit to get the latest enhancements and bug fixes.

- Add none-ls.nvim with commit 7e146f3a188853843bb4ca1bff24c912bb9b7177
  - WHY: Adding none-l
2024-01-14 03:12:01 +01:00
David Ibia
979f229157 chore(init.lua): remove unnecessary lines and disable loading of Perl and Ruby providers
The lines `vim.g.loaded_perl_provider = 0` and `vim.g.loaded_ruby_provider = 0` were removed as they are unnecessary and not being used. This change improves the cleanliness of the code.

Additionally, the lines `-` were removed as they were empty and not serving any purpose.
2024-01-14 03:11:26 +01:00
David Ibia
3e331e02b6 refactor(colorscheme.lua): clean up indentation and remove commented out code
feat(colorscheme.lua): set default color to "rose-pine" if no color argument is provided
feat(colorscheme.lua): set theme to "tokyonight" by default
2024-01-13 23:55:39 +01:00
David Ibia
159b0e0b68 feat(jedi.lua): enable call signatures in Jedi completion popup and configure Jedi to use spaces instead of tabs for indentation
feat(supertab.lua): add Supertab plugin and configure it to be loaded after Absolute configuration
2024-01-05 23:38:40 +01:00
David Ibia
348d2904d6 refactor(init.lua): move require("absolute.remap") statement to the end of the file for better organization and readability 2024-01-05 16:20:13 +01:00
David Ibia
8a786d0420 feat(indent-blank-line): add support for indent-blank-line plugin
The `indent-blank-line` plugin is added to enhance the indentation of blank lines in the code. This improves code readability and makes it easier to navigate through the code. The plugin is configured to use the `ibl` module and is integrated into the existing `absolute.after` module.
2024-01-04 10:37:36 +01:00
David Ibia
a57fdb2201 fix(init.lua): remove extra empty line
fix(absolute/after/colorscheme.lua): comment out unnecessary code for setting Normal and NormalFloat highlight groups
fix(absolute/after/jedi.lua): enable popup on dot for jedi
feat(absolute/after/tokyonight.lua): add support for tokyonight theme with specific configuration
feat(absolute/plugins/tokyonight.lua): add tokyonight plugin with configuration to load after plugin setup
fix(absolute/remap.lua): remove extra empty line
2024-01-04 10:14:27 +01:00
David Ibia
68aba67294 chore(jedi.lua): disable popup on dot in jedi plugin configuration
chore(jedi.lua): remove unused keybindings in jedi plugin configuration
chore(lsp-config.lua): remove pyright language server configuration
feat(lsp-config.lua): add jedi_completion plugin configuration to pylsp language server
feat(lsp-config.lua): add jedi_language_server configuration
chore(mason.lua): remove pyright language server from mason plugin configuration
feat(mason.lua): add jedi_language_server to mason plugin configuration
chore(poet-v.lua): add autocommand to activate virtualenv when entering a buffer with .venv or .py file
2024-01-03 19:05:06 +01:00
David Ibia
aee290dcf9 feat: add support for Jedi-Vim plugin
- Add configuration for Jedi-Vim plugin in `lua/absolute/plugins/jedi.lua`
- Create `lua/absolute/after/jedi.lua` to set Jedi-Vim mappings and options

fix: fix lualine theme and add custom section

- Update `lua/absolute/after/lualine.lua` to fix the lualine theme configuration
- Add a custom section to display the Poetv status line in lualine

feat: add keybindings for Poetv plugin

- Add keybindings for activating and deactivating virtualenv in `lua/absolute/after/poet-v.lua`

fix: fix remap keybindings

- Update `lua/absolute/remap.lua` to fix and improve remap keybindings

feat: add alternate escape keybinding

- Add keybinding to use <C-c> as an alternate escape key in insert mode

fix: disable Q keybinding

- Disable the Q keybinding to prevent accidentally entering Ex mode

feat: add keybinding for formatting document with LSP Formatter

- Add keybinding to format the document using the LSP Formatter

feat: add keybindings for navigation quick fixes

- Add keybindings for navigating through quick fixes in the location list and the quickfix list

feat: add keybinding for regex replace

- Add keybinding to perform a regex replace in the entire file

feat: add keybinding for sourcing file

- Add keybinding to source the current file

feat: add keybinding for toggling TMUX pane

- Add keybinding to toggle the TMUX pane using MaximizerToggle command
2024-01-03 17:54:20 +01:00
David Ibia
6aa492bca8 chore(.gitignore): update .gitignore file to include Lua-related files and directories
feat(gitignore.lua): add Lua script to generate .gitignore file using gitignore.nvim plugin

chore(lsp-config.lua): comment out configuration for pyright server

feat(poet-v.lua): add poet-v plugin for managing Python virtual environments
2024-01-03 01:44:36 +01:00
David Ibia
68421c4615 feat(dap.lua): add configuration for dap and dap-ui plugins to enable debugging features in Neovim
feat(lsp-config.lua): configure python lsp using pylsp to provide language server capabilities for Python files
refactor(magma.lua): remove magma plugin configuration as it is no longer used
feat(mason.lua): add configuration for mason and mason-nvim-dap plugins to enable package management and debugging features in Neovim
refactor(init.lua): set maplocalleader to "\\" for easier keybindings
refactor(remap.lua): remove setting mapleader to " " as it is no longer needed, add keybinding for toggling file explorer using NvimTreeToggle command
2024-01-03 01:13:50 +01:00
David Ibia
589ab57da2 feat(dashboard.lua): add dashboard plugin and configuration for a customized dashboard
feat(magma.lua.disabled): add magma plugin and configuration, but disable it for now
2024-01-02 21:13:43 +01:00
David Ibia
6d7c3de411 fix(init.lua): enable line wrapping by setting vim.opt.wrap to true
fix(init.lua): remove color column limit by setting vim.opt.colorcolumn to an empty string
2024-01-02 14:51:03 +01:00
David Ibia
50b968ed9d feat(lsp-config.lua): add configuration for dockerls, jsonls, volar, rust_analyzer, cssls, htmx, docker_compose_language_service, and eslint servers to enhance language support in the editor
fix(remap.lua): add key mappings for moving selected lines or blocks of text up and down in visual mode, moving half page up and down, and adjusting cursor position after using 'n' and 'N' commands
2024-01-02 00:38:36 +01:00
David Ibia
923265371f chore(README.md): add important note about compatibility with Apple Silicon and removal of incompatible plugins
docs(README.md): explain the components of the project, including the package manager and the use of the after directory for plugin configuration
2024-01-01 21:44:47 +01:00
David Ibia
4e36594907 chore: add .env to .gitignore file to exclude it from version control
docs: add README.md file with an introduction, installation instructions, and personalization note for Absolute VIM Configuration
2024-01-01 21:38:22 +01:00
David Ibia
e454b4a8b9 feat: updated plugins and editor configuration 2024-01-01 21:03:31 +01:00
David Ibia
2537f12e0c feat: added neovim configuration 2024-01-01 12:34:19 +01:00