From 8174b07865953672e6f8db658484917e4517de57 Mon Sep 17 00:00:00 2001 From: Matthew Ryan Dillon Date: Fri, 18 Oct 2024 07:19:15 -0400 Subject: [PATCH] hack: stuffing python lsp config into editor will circle back and convert to a template --- home/private_dot_config/helix/languages.toml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/home/private_dot_config/helix/languages.toml b/home/private_dot_config/helix/languages.toml index 3d948de..1601b05 100644 --- a/home/private_dot_config/helix/languages.toml +++ b/home/private_dot_config/helix/languages.toml @@ -8,7 +8,6 @@ command = "clippy" command = "zk" args = ["lsp"] - [[language]] name = "markdown" scope = "source.md" @@ -16,3 +15,13 @@ injection-regex = "md|markdown" file-types = ["md", "markdown"] roots = [".zk"] language-servers = ["zk"] + +[language-server.pyright] +command = "pyright-langserver" +args = ["--stdio"] +config = {} +environment = { "PYENV_VERSION" = "pyright" } + +[[language]] +name = "python" +language-servers = ["pyright"]