Parcourir la source

fix(neovim): update default Python LSP settings

Joe il y a 1 an
Parent
commit
873f064cab
1 fichiers modifiés avec 6 ajouts et 1 suppressions
  1. 6 1
      .config/nvim/custom/proj-conf/lua/proj-conf/lsp/init.lua

+ 6 - 1
.config/nvim/custom/proj-conf/lua/proj-conf/lsp/init.lua

@@ -29,7 +29,12 @@ return {
                 basedpyright = {
                     analysis = {
                         typeCheckingMode = "standard",
-                    }
+                        diagnosticMode = "openFilesOnly",
+                        autoSearchPaths = true,
+                    },
+                    openFilesOnly = true,
+                    autoImportCompletions = true,
+                    disableOrganizeImports = true,
                 }
             }
         })