Improve perform

This commit is contained in:
huyjaky
2025-10-26 08:13:18 +07:00
parent 04c5dcd06a
commit bad1ed5cb2
14 changed files with 274 additions and 267 deletions

View File

@@ -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/**",

View File

@@ -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",
},
},
},

View File

@@ -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