1
0
Fork 0

More language servers

This commit is contained in:
Felipe Contreras-Salinas 2023-03-27 12:59:11 -03:00
parent 828a94da2e
commit fc99bab98d
No known key found for this signature in database

View file

@ -140,9 +140,12 @@ end
local servers = {
'clangd',
'gopls',
'jsonls',
'kotlin_language_server',
'marksman',
'rust_analyzer',
'texlab',
'tflint',
'tsserver',
'pylsp'
}
@ -163,7 +166,7 @@ g.ale_linters = {
html = {'tidy'},
javascript = {'eslint'},
python = {'flake8', 'isort'},
terraform = {'tflint'},
terraform = {},
tex = {},
typescript = {},
vim = {'vint'},
@ -209,6 +212,7 @@ cmp.setup({
})
})
--cmd [[autocmd FileType *\(TelescopePrompt\)\@<! lua require'completion'.on_attach()]]
-- Setup lspconfig.
local capabilities = vim.lsp.protocol.make_client_capabilities()
lsp.util.default_config = vim.tbl_deep_extend(