helix -> languages: Changed python LSPs
This commit is contained in:
parent
81b410af95
commit
5172ccc3e6
1 changed files with 19 additions and 8 deletions
|
@ -20,10 +20,26 @@ runInTerminal = false
|
||||||
|
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "python"
|
name = "python"
|
||||||
roots = ["pyproject.toml", "setup.py", "Poetry.lock", ".git"]
|
language-servers = [ "pyright", "ruff" ]
|
||||||
# language-servers = [{ command = "pyright-langserver", args = ["--stdio"] }]
|
|
||||||
|
[language-server.pyright.config.python.analysis]
|
||||||
|
typeCheckingMode = "basic"
|
||||||
|
|
||||||
|
[language-server.ruff]
|
||||||
|
command = "ruff-lsp"
|
||||||
|
|
||||||
|
[language-server.ruff.config.settings]
|
||||||
|
args = ["--ignore", "E501"]
|
||||||
|
|
||||||
|
[language.formatter]
|
||||||
|
command = "black"
|
||||||
|
args = ["--line-length", "88", "--quiet", "-"]
|
||||||
|
|
||||||
|
|
||||||
|
[[language]]
|
||||||
|
name = "astro"
|
||||||
auto-format = true
|
auto-format = true
|
||||||
formatter = {command = 'black', args = ["--quiet", "-"]}
|
language-servers = [ "astro-ls" ]
|
||||||
|
|
||||||
[language-server.astro-ls]
|
[language-server.astro-ls]
|
||||||
command = "astro-ls"
|
command = "astro-ls"
|
||||||
|
@ -31,11 +47,6 @@ args = ["--stdio"]
|
||||||
config = {typescript = {tsdk = "/home/gaspard/.local/share/fnm/node-versions/v20.11.1/installation/lib/node_modules/typescript/lib"}, environment = "node"}
|
config = {typescript = {tsdk = "/home/gaspard/.local/share/fnm/node-versions/v20.11.1/installation/lib/node_modules/typescript/lib"}, environment = "node"}
|
||||||
timeout = 2
|
timeout = 2
|
||||||
|
|
||||||
[[language]]
|
|
||||||
name = "astro"
|
|
||||||
auto-format = true
|
|
||||||
language-servers = [ "astro-ls" ]
|
|
||||||
|
|
||||||
[language-server.spyglass]
|
[language-server.spyglass]
|
||||||
command="spyglassmc-language-server"
|
command="spyglassmc-language-server"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue