astro-nvim-v3 - change: turn off declare symbols basedpyright
This commit is contained in:
30
lua/plugins/configs/lsp/config/jedi_language.lua
Normal file
30
lua/plugins/configs/lsp/config/jedi_language.lua
Normal file
@@ -0,0 +1,30 @@
|
||||
return {
|
||||
|
||||
init_options = {
|
||||
completion = {
|
||||
disableSnippets = true,
|
||||
},
|
||||
diagnostics = {
|
||||
enable = false,
|
||||
},
|
||||
hover = {
|
||||
enable = true,
|
||||
},
|
||||
workspace = {
|
||||
environmentPath = "/home/duckq1u/miniconda3/envs/OCR3/bin/python",
|
||||
ignore = {
|
||||
"/home/duckq1u/miniconda3/envs/OCR3/lib/python3.11/site-packages/transformers/mode ls/albert/configuration_albert.py",
|
||||
},
|
||||
},
|
||||
|
||||
jediSettings = {
|
||||
autoImportModules = {
|
||||
"numpy",
|
||||
"pandas",
|
||||
"torch",
|
||||
-- "torchmetrics",
|
||||
-- "pytorch_lightning",
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user