Improve perform

This commit is contained in:
huyjaky
2025-10-26 18:14:56 +07:00
parent 3eda456458
commit 1f7fda6f21
6 changed files with 25 additions and 11 deletions

View File

@@ -2,25 +2,29 @@ return {
before_init = function(_, c)
if not c.settings then c.settings = {} end
if not c.settings.python then c.settings.python = {} end
c.settings.python.pythonPath = vim.fn.exepath "python"
c.settings.python.pythonPath = vim.fn.exepath "python3"
end,
settings = {
basedpyright = {
disableLanguageServices = false,
disableOrganizeImports = true,
disableTaggedHints = true,
useLibraryCodeForTypes = false,
openFilesOnly = true,
analysis = {
autoSearchPath = true,
autoSearchPath = false,
useLibraryCodeForTypes = false,
logLevel = "Trace",
typeCheckingMode = "basic",
deprecateTypingAliases = false,
diagnosticMode = "openFilesOnly",
inlayHints = {
variableTypes = true,
genericTypes = true,
callArgumentNames = true,
callArgumentNames = false,
},
ignore = {
"**/unsloth_compiled_cache/**",