Improve perform
This commit is contained in:
@@ -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/**",
|
||||
|
||||
Reference in New Issue
Block a user