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