first push

This commit is contained in:
newbieQQ 2024-08-24 01:14:49 +08:00
parent 4498108b19
commit 22dde69f49
2 changed files with 12 additions and 1 deletions

View File

@ -1,4 +1,15 @@
return { return {
-- capabilities = require("cmp_nvim_lsp").default_capabilities(),
settings = {
basedpyright = {
analysis = {
autoSearchPaths = true,
diagnosticMode = "openFilesOnly",
useLibraryCodeForTypes = true,
typeCheckingMode = "standard"
},
},
},
on_attach = function() on_attach = function()
G.api.nvim_create_user_command('R', function() G.api.nvim_create_user_command('R', function()
G.cmd [[set splitbelow]] G.cmd [[set splitbelow]]

View File

@ -51,7 +51,7 @@ return {
require("mason-lspconfig").setup({ require("mason-lspconfig").setup({
ensure_installed = { ensure_installed = {
"bashls", "bashls",
"basedpyright", -- "basedpyright",
"lua_ls", "lua_ls",
"jsonls", "jsonls",
"yamlls", "yamlls",