mirror of
https://github.com/nvim-lua/kickstart.nvim.git
synced 2025-06-24 22:28:36 +02:00
adiciona formatter para java.lua e adiciona springboot-nvim
This commit is contained in:
parent
044d74b814
commit
06c74c3466
4 changed files with 37 additions and 4 deletions
17
init.lua
17
init.lua
|
@ -156,6 +156,22 @@ vim.opt.cursorline = true
|
|||
-- Minimal number of screen lines to keep above and below the cursor.
|
||||
vim.opt.scrolloff = 15
|
||||
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'java',
|
||||
callback = function()
|
||||
vim.opt_local.colorcolumn = '120'
|
||||
end,
|
||||
})
|
||||
|
||||
-- Set a vertical column marker at column 80
|
||||
-- vim.opt.colorcolumn = '120'
|
||||
|
||||
-- If you want multiple column markers, you can do:
|
||||
-- vim.opt.colorcolumn = "80,100,120"
|
||||
|
||||
-- To customize the color (to make it more transparent/subtle)
|
||||
vim.cmd [[highlight ColorColumn guibg=rgba(255,0,0,0.2) ctermbg=238]]
|
||||
|
||||
-- [[ Basic Keymaps ]]
|
||||
-- See `:help vim.keymap.set()`
|
||||
|
||||
|
@ -665,6 +681,7 @@ require('lazy').setup({
|
|||
'java-test',
|
||||
'prettier',
|
||||
'eslint_d',
|
||||
'angular-language-server',
|
||||
})
|
||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue