More language servers
This commit is contained in:
parent
828a94da2e
commit
fc99bab98d
1 changed files with 5 additions and 1 deletions
6
init.lua
6
init.lua
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue