From ffbdffa6be11e7ab9ff9ef33880d8fdc5c133708 Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Mon, 21 Oct 2024 07:15:28 -0400 Subject: [PATCH] feat: templatify language config --- .../helix/{languages.toml => languages.toml.tmpl} | 2 ++ 1 file changed, 2 insertions(+) rename home/private_dot_config/helix/{languages.toml => languages.toml.tmpl} (92%) diff --git a/home/private_dot_config/helix/languages.toml b/home/private_dot_config/helix/languages.toml.tmpl similarity index 92% rename from home/private_dot_config/helix/languages.toml rename to home/private_dot_config/helix/languages.toml.tmpl index 1601b05..77898c2 100644 --- a/home/private_dot_config/helix/languages.toml +++ b/home/private_dot_config/helix/languages.toml.tmpl @@ -16,6 +16,7 @@ file-types = ["md", "markdown"] roots = [".zk"] language-servers = ["zk"] +{{ if eq .hosttype "work" -}} [language-server.pyright] command = "pyright-langserver" args = ["--stdio"] @@ -25,3 +26,4 @@ environment = { "PYENV_VERSION" = "pyright" } [[language]] name = "python" language-servers = ["pyright"] +{{- end }}