This repository has been archived on 2026-04-01. You can view files and clone it, but cannot push or open issues or pull requests.
Files
nvim-config/lua/plugins/lsp.lua
2026-02-23 19:14:22 +01:00

37 lines
716 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"
})
-- Testing basedpyright atm, change to jedi idk
vim.lsp.config("basedpyright", {
settings = {
['basedpyright'] = {
analysis = {
typeCheckingMode = "basic",
inlayHints = {
variableTypes = true,
genericTypes = true,
},
autoFormatStrings = true,
}
}
}
})
end
}