feat: templatify language config
This commit is contained in:
parent
8174b07865
commit
ffbdffa6be
1 changed files with 2 additions and 0 deletions
|
@ -16,6 +16,7 @@ file-types = ["md", "markdown"]
|
||||||
roots = [".zk"]
|
roots = [".zk"]
|
||||||
language-servers = ["zk"]
|
language-servers = ["zk"]
|
||||||
|
|
||||||
|
{{ if eq .hosttype "work" -}}
|
||||||
[language-server.pyright]
|
[language-server.pyright]
|
||||||
command = "pyright-langserver"
|
command = "pyright-langserver"
|
||||||
args = ["--stdio"]
|
args = ["--stdio"]
|
||||||
|
@ -25,3 +26,4 @@ environment = { "PYENV_VERSION" = "pyright" }
|
||||||
[[language]]
|
[[language]]
|
||||||
name = "python"
|
name = "python"
|
||||||
language-servers = ["pyright"]
|
language-servers = ["pyright"]
|
||||||
|
{{- end }}
|
Loading…
Add table
Reference in a new issue