Updated LSP init settings; added init references; can hide languages

This commit is contained in:
2024-09-06 22:19:49 -05:00
parent cdd09df5d7
commit fc6f018952
11 changed files with 2586 additions and 29 deletions

View File

@@ -6,45 +6,77 @@
"socket": "ws://127.0.0.1:3030/?name=shell",
"initialization-options": {}
},
"python": {
"python - pylsp": {
"hidden": true,
"info": "https://github.com/python-lsp/python-lsp-server",
"alt-command": "pylsp --ws --port 3030",
"command": "lsp-ws-proxy --listen 3030 -- pylsp",
"socket": "ws://127.0.0.1:3030/?name=pylsp",
"initialization-options": {
"pylsp.plugins.rope_autoimport.enabled": true,
"pylsp.plugins.rope_completion.enabled": true,
"pylsp.plugins.rope_completion.eager": true,
"pylsp.plugins.jedi_completion.fuzzy": true,
"pylsp.plugins.jedi.extra_paths": [
"/home/abaddon/Portable_Apps/py-venvs/lsp_bridge-venv/venv/lib/python3.10/site-packages/gi-stubs"
]
"pylsp": {
"plugins": {
"rope_autoimport": {
"enabled": true
},
"rope_completion": {
"enabled": false,
"eager": false
},
"jedi_completion": {
"fuzzy": true
},
"jedi":{
"extra_paths": [
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
]
}
}
}
}
},
"python_alt_config": {
"python3 - pylsp": {
"info": "https://github.com/python-lsp/python-lsp-server",
"alt-command": "pylsp",
"alt-command2": "pylsp --ws --port 3030",
"command": "lsp-ws-proxy --listen 3030 -- pylsp",
"socket": "ws://127.0.0.1:3030/?name=pylsp",
"initialization-options": {
"pylsp.plugins.ruff": true,
"pylsp.plugins.pylsp_rope.rename": true,
"pylsp.plugins.rope_rename.enabled": false,
"pylsp.plugins.rope_autoimport.enabled": true,
"pylsp.plugins.rope_completion.enabled": false,
"pylsp.plugins.rope_completion.eager": false,
"pylsp.plugins.jedi_rename.enabled": false,
"pylsp.plugins.jedi_completion.enabled": true,
"pylsp.plugins.jedi_completion.include_class_objects": false,
"pylsp.plugins.jedi_completion.include_function_objects": false,
"pylsp.plugins.jedi_completion.fuzzy": true,
"pylsp.plugins.jedi.extra_paths": [
"/home/abaddon/Portable_Apps/py-venvs/lsp_bridge-venv/venv/lib/python3.10/site-packages/gi-stubs"
]
"pylsp": {
"plugins": {
"ruff": true,
"pylsp_rope": {
"rename": true
},
"rope_rename": {
"enabled": false
},
"rope_autoimport": {
"enabled": true
},
"rope_completion": {
"enabled": false,
"eager": false
},
"jedi_rename": {
"enabled": false
},
"jedi_completion": {
"enabled": true,
"include_class_objects": true,
"include_function_objects": true,
"fuzzy": true
},
"jedi":{
"extra_paths": [
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
]
}
}
}
}
},
"python3": {
"python3 - jedi-language-server": {
"hidden": true,
"info": "https://pypi.org/project/jedi-language-server/",
"alt-command": "jedi-language-server",
"command": "lsp-ws-proxy --listen 3030 -- jedi-language-server",
@@ -62,7 +94,9 @@
},
"markupKindPreferred": "markdown",
"workspace": {
"extraPaths": ["/home/abaddon/Portable_Apps/py-venvs/gtk-apps-venv/venv/lib/python3.10/site-packages/gi"],
"extraPaths": [
"/home/abaddon/Portable_Apps/py-venvs/pylsp-venv/venv/lib/python3.10/site-packages"
],
"environmentPath": "/home/abaddon/Portable_Apps/py-venvs/gtk-apps-venv/venv/bin/python",
"symbols": {
"ignoreFolders": [".nox", ".tox", ".venv", "__pycache__", "venv"],