Archived
0
0
Fork 0

added 4 new language servers

This commit is contained in:
Daryl Ronningen 2022-07-11 12:28:39 -07:00
parent d6dbae2c02
commit 6b7f8c264f
Signed by: Daryl Ronningen
GPG key ID: FD23F0C934A5EC6B
5 changed files with 30 additions and 0 deletions

View file

@ -18,3 +18,7 @@ lspconfig.util.default_config = vim.tbl_extend("force", lspconfig.util.default_c
require("user.lsp.settings.sumneko_lua")
require("user.lsp.settings.jsonls")
require("user.lsp.settings.tsserver")
require("user.lsp.settings.yamlls")
require("user.lsp.settings.volar")
require("user.lsp.settings.dockerls")
require("user.lsp.settings.rnix")

View file

@ -0,0 +1,6 @@
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
return
end
lspconfig.dockerls.setup({})

View file

@ -0,0 +1,6 @@
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
return
end
lspconfig.rnix.setup({})

View file

@ -0,0 +1,8 @@
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
return
end
lspconfig.volar.setup({
filetypes = { "typescript", "javascript", "javascriptreact", "typescriptreact", "vue", "json" },
})

View file

@ -0,0 +1,6 @@
local status_ok, lspconfig = pcall(require, "lspconfig")
if not status_ok then
return
end
lspconfig.yamlls.setup({})