Add which-key, lsp and dap and multiple keybinds
This commit is contained in:
@@ -1,7 +1,23 @@
|
||||
return {
|
||||
"neovim/nvim-lspconfig",
|
||||
config = function()
|
||||
vim.lsp.enable({ "lua_ls", "jedi_language_server", "gopls", "html", "yamlls", "svelte-language-server", "clangd",
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user