Add nvim svelte ls

This commit is contained in:
Talia 2024-06-24 16:18:04 +02:00
parent c7d569ad79
commit 337df78954

View file

@ -11,15 +11,17 @@ end)
local default = { on_attach = require 'lsp.attach' } local default = { on_attach = require 'lsp.attach' }
for _, language in ipairs { for _, language in ipairs {
"html",
"cssls",
"clangd", "clangd",
"tsserver", "cssls",
"html",
"lua_ls", "lua_ls",
"solargraph", "solargraph",
"standardrb", "standardrb",
"svelte",
"tsserver",
"yamlls", -- bun install --global yaml-language-server
"zls", "zls",
"yamlls" -- bun install --global yaml-language-server -- "ruby_lsp",
} do } do
config[language].setup(ensure_capabilities(default)) config[language].setup(ensure_capabilities(default))
end end