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