diff options
Diffstat (limited to 'languages.toml')
-rw-r--r-- | languages.toml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/languages.toml b/languages.toml index 981fca09..72f30ca4 100644 --- a/languages.toml +++ b/languages.toml @@ -59,3 +59,15 @@ roots = [] path = "../helix-syntax/languages/tree-sitter-html" indent = { tab-width = 2, unit = " " } + +[[language]] +name = "python" +scope = "source.python" +injection-regex = "python" +file-types = ["py"] +roots = [] +path = "../helix-syntax/languages/tree-sitter-python" + +language-server = { command = "pyls" } +# TODO: pyls needs utf-8 offsets +indent = { tab-width = 2, unit = " " } |