refactor: modularização da configuração do Neovim- Removido o texto introdutório do Kickstart para simplificar o arquivo init.lua.- Separado as configurações de opções e keymaps em arquivos dedicados ( e ).- Adicionado o arquivo para gerenciar a instalação do plugin .- Movido a configuração de plugins para um arquivo separado ().- Atualizado o arquivo de configuração de lint para simplificar a definição de linters e adicionar um mapeamento de tecla para acionar a lintagem manualmente.- Adicionado um aviso no arquivo de configuração de debug indicando a necessidade de aprendizado prévio para uso do pacote.Essas mudanças visam modularizar a configuração do Neovim, tornando-a mais organizada e fácil de manter. A separação de responsabilidades em arquivos distintos facilita a leitura e a modificação das configurações, além de permitir uma melhor escalabilidade para futuras adições e ajustes.
Provide a method to disable autoformat on save lsp fallback for
specified filetypes. By default disable for C/C++ as an example,
because it does not have a well standardized coding style.
Based on conform recipe:
https://github.com/stevearc/conform.nvim/blob/master/doc/recipes.md
Tree-sitter indenting for ruby is pretty terrible.
But the fix requires a few steps, so showed those
and documented how you could do that for other languages
as well (with the tricky part being the
additional_vim_regex_highlighting trick)
Fixesnvim-lua/kickstart.nvim#692
`neodev` configures Lua LSP for your Neovim config, runtime and plugins
used for completion, annotations and signatures of Neovim apis
With neodev, there's no more need to manually set lua_ls workspace
settings which don't seem to work properly anyway as currently nvim
api completion does not work.
We've removed over 1/3 of the code that was in kickstart previously,
and more than doubled the amount of comments explaining every line
of code (to the best of my ability).
kickstart now properly uses many of the lazy.nvim config and loading
idioms, which should be really helpful for people moving both to
modular configs, as well as extending the kickstart config in one file.
Additional features:
- Beautiful ascii art
- Added some documentation that explains what is an LSP, what is telescope, etc
- There is now a `:checkhealth` for kickstart, which checks some basic information
and adds useful information for maintainers (for people cloning the repo).
- Improved LSP configuration and tool installation, for easier first time startup
- Changed init.lua ordering, so that it moves from simple options to complicated config
```
-------------------------------------------------------------------------------
Language files blank comment code
-------------------------------------------------------------------------------
Lua 1 108 404 298
-------------------------------------------------------------------------------
```
This commit introduces three additional fields - `sync_install`, `ignore_install`, and `modules` - to the Treesitter configuration. This update is aimed at resolving warnings that were previously displayed, potentially causing confusion or frustration for new users of Neovim. By explicitly defining these fields, the configuration aligns better with the latest `nvim-treesitter` requirements.