Improve perform
This commit is contained in:
@@ -9,17 +9,17 @@ return {
|
||||
disableLanguageServices = false,
|
||||
disableOrganizeImports = true,
|
||||
disableTaggedHints = true,
|
||||
useLibraryCodeForTypes = true,
|
||||
analysis = {
|
||||
autoSearchPath = false,
|
||||
autoSearchPath = true,
|
||||
useLibraryCodeForTypes = true,
|
||||
logLevel = "Trace",
|
||||
typeCheckingMode = "standard",
|
||||
deprecateTypingAliases = false,
|
||||
inlayHints = {
|
||||
variableTypes = true,
|
||||
callArgumentNames = false,
|
||||
functionReturnTypes = true,
|
||||
-- functionReturnTypes = true,
|
||||
genericTypes = true,
|
||||
callArgumentNames = true,
|
||||
},
|
||||
ignore = {
|
||||
"**/unsloth_compiled_cache/**",
|
||||
|
||||
@@ -10,11 +10,16 @@ return {
|
||||
hover = {
|
||||
enable = true,
|
||||
},
|
||||
signatureHelp = {
|
||||
enable = false,
|
||||
},
|
||||
workspace = {
|
||||
-- environmentPath = "/home/duckq1u/miniconda3/envs/OCR3/bin/python",
|
||||
environmentPath = vim.fn.exepath "python",
|
||||
ignore = {
|
||||
"/home/duckq1u/miniconda3/envs/OCR3/lib/python3.11/site-packages/transformers/mode ls/albert/configuration_albert.py",
|
||||
-- "/home/duckq1u/miniconda3/envs/OCR3/lib/python3.11/site-packages/transformers/model/albert/configuration_albert.py",
|
||||
-- "/home/duckq1u/miniconda3/envs/ocr2/lib/python3.12/site-packages/transformers/models/albert/configuration_albert.py",
|
||||
"**configuration_albert.py",
|
||||
"**/unsloth_compiled_cache/**",
|
||||
},
|
||||
},
|
||||
@@ -24,8 +29,9 @@ return {
|
||||
"numpy",
|
||||
"pandas",
|
||||
"torch",
|
||||
"torchvision",
|
||||
"pytorch_lightning"
|
||||
-- "torchmetrics",
|
||||
-- "pytorch_lightning",
|
||||
},
|
||||
},
|
||||
},
|
||||
|
||||
@@ -12,7 +12,9 @@ return {
|
||||
DiagnosticVirtualTextWarn = { fg = get_hlgroup("DiagnosticWarn").fg, bg = "none" },
|
||||
|
||||
CursorLineNr = { fg = "#FFD700", bg = "none", bold = true },
|
||||
CursorLine = { fg = "none", bg = "#004C4C", bold = true },
|
||||
CursorLine = { fg = "none", bg = "#005C4C", bold = true },
|
||||
CursorColumn = { fg = "none", bg = "#005C4C", bold = true },
|
||||
|
||||
Visual = { fg = "#000000", bg = "#FFFFFF", bold = true },
|
||||
|
||||
-- remove background of inlay hints
|
||||
|
||||
Reference in New Issue
Block a user