♻️ New organization
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.
This commit is contained in:
parent
9d8686a0aa
commit
ce804e1a1a
30 changed files with 1595 additions and 981 deletions
19
lua/kickstart/plugins/kanagawa.lua
Normal file
19
lua/kickstart/plugins/kanagawa.lua
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
return {
|
||||
{ -- You can easily change to a different colorscheme.
|
||||
-- Change the name of the colorscheme plugin below, and then
|
||||
-- change the command in the config to whatever the name of that colorscheme is.
|
||||
--
|
||||
-- If you want to see what colorschemes are already installed, you can use `:Telescope colorscheme`.
|
||||
'rebelot/kanagawa.nvim',
|
||||
priority = 1000, -- Make sure to load this before all the other start plugins.
|
||||
init = function()
|
||||
-- Load the colorscheme here.
|
||||
-- Like many other themes, this one has different styles, and you could load
|
||||
-- any other, such as 'tokyonight-storm', 'tokyonight-moon', or 'tokyonight-day'.
|
||||
vim.cmd.colorscheme 'kanagawa-dragon'
|
||||
|
||||
-- You can configure highlights by doing something like:
|
||||
vim.cmd.hi 'Comment gui=none'
|
||||
end,
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue