configura angular language server e format style para java
This commit is contained in:
parent
27382201d1
commit
79c770bbfb
|
@ -99,8 +99,7 @@ local config = {
|
|||
enabled = true,
|
||||
-- Formatting works by default, but you can refer to a specific file/URL if you choose
|
||||
settings = {
|
||||
path = '/home/lucas/magna-sistemas-java-code-formatter.xml',
|
||||
profile = 'MagnaSistemasStyle',
|
||||
url = '/home/lucas/magna-sistemas-java-code-formatter.xml',
|
||||
},
|
||||
},
|
||||
completion = {
|
||||
|
|
8
init.lua
8
init.lua
|
@ -156,10 +156,11 @@ vim.opt.cursorline = true
|
|||
-- Minimal number of screen lines to keep above and below the cursor.
|
||||
vim.opt.scrolloff = 15
|
||||
|
||||
-- Uncoment if you want a margin in filetypes
|
||||
vim.api.nvim_create_autocmd('FileType', {
|
||||
pattern = 'java',
|
||||
callback = function()
|
||||
vim.opt_local.colorcolumn = '120'
|
||||
vim.opt_local.colorcolumn = '200'
|
||||
end,
|
||||
})
|
||||
|
||||
|
@ -680,7 +681,6 @@ require('lazy').setup({
|
|||
'java-test',
|
||||
'prettier',
|
||||
'eslint_d',
|
||||
'angular-language-server',
|
||||
})
|
||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||
|
||||
|
@ -706,6 +706,10 @@ require('lazy').setup({
|
|||
require('lspconfig')[server_name].setup(server)
|
||||
end
|
||||
end,
|
||||
-- TODO: configurar versão do angular e capabilities
|
||||
angularls = function()
|
||||
require('lspconfig').angularls.setup {}
|
||||
end,
|
||||
},
|
||||
}
|
||||
end,
|
||||
|
|
Loading…
Reference in New Issue