dotfiles/nvim/lua/lsp_conf.lua

36 lines
737 B
Lua

local capabilites = require('cmp_nvim_lsp').update_capabilities(vim.lsp.protocol.make_client_capabilities())
require'lspconfig'.tsserver.setup{
capabilites = capabilites
}
require'lspconfig'.jsonls.setup{
capabilites = capabilites
}
require'lspconfig'.dockerls.setup{
capabilites = capabilites
}
require'lspconfig'.eslint.setup{
capabilites = capabilites,
settings= {
run = "onSave"
}
}
require'lspconfig'.gdscript.setup{
capabilites = capabilites
}
require'lspconfig'.gopls.setup{
capabilites = capabilites
}
require'lspconfig'.rust_analyzer.setup{
capabilites = capabilites
}
require'lspconfig'.cssls.setup{
capabilites = capabilites
}
require'lspconfig'.bashls.setup{
capabilites = capabilites
}
require'fzf_lsp'.setup()