Files
dotfiles/dot_config/nvim/lua/plugins/lsp.lua
2026-03-22 18:04:35 +01:00

38 lines
738 B
Lua

return {
"neovim/nvim-lspconfig",
config = function()
vim.lsp.enable({ "lua_ls",
"basedpyright",
"gopls",
"html",
"yamlls",
"svelte-language-server",
"clangd",
"ansiblels",
"vtsls",
"zls",
"glsl_analyzer",
"rust_analyzer",
"templ",
"tailwindcss",
})
-- Testing basedpyright atm, change to jedi idk
vim.lsp.config("basedpyright", {
settings = {
['basedpyright'] = {
analysis = {
typeCheckingMode = "basic",
inlayHints = {
variableTypes = true,
genericTypes = true,
},
autoFormatStrings = true,
}
}
}
})
end
}