Mercurial > dotfiles
view dot_config/helix/languages.toml @ 1039:ebd5e7683e1e
feat: add fisher + plugins
author | Zeger Van de Vannet <zeger@vandevan.net> |
---|---|
date | Mon, 29 Apr 2024 08:48:53 +0200 |
parents | 333a6c27fdf2 |
children | dcfddde1f0aa 7199f60f9808 |
line wrap: on
line source
use-grammars = { except = ["gemini"] } [language-server.pyright-langserver] command = "pyright-langserver" args = ["--stdio"] config = {} [language-server.ruff-lsp] command = "ruff-lsp" [[language]] name = "python" roots = ["pyproject.toml"] formatter = { command = "black", args = ["--quiet", "-"] } language-servers = ["ruff-lsp", "pyright-langserver"] [[grammar]] name = "tcl" source = { git = "https://github.com/lewis6991/tree-sitter-tcl", rev = "ac8b94b7a89825ddbdd6f8fc0a81c67c065be851" } [[language]] name = "tcl" scope = "source.tcl" injection-regex = "tcl" file-types = ["tcl", "do", "xdc", "sdc"] comment-token = "#" indent = { tab-width = 2, unit = " " } roots = [] [[language]] name = 'gotmpl' file-types = ["tmpl"] [[grammar]] name = "hgrc" source = { git = "https://github.com/zegervdv/tree-sitter-hgrc.git", rev = "e161daaa84d0883c8b6443e68ff6252c318a8bfb" } [[language]] name = "hgrc" scope = "source.hgrc" injection-regex = "hgrc" file-types = ["hgrc", { glob = ".hgrc" }] comment-token = "#" indent = { tab-width = 2, unit = " " } roots = [".hg"] [[grammar]] name = "hg-commit" source = { git = "https://github.com/zegervdv/tree-sitter-hg-commit.git", rev = "36cb1ed63f69b4a0d21d1ea1c25862d9ef812ea8" } [[language]] name = "hg-commit" scope = "source.hg-commit" injection-regex = "hgrc" file-types = [{ glob = "*.commit.hg.txt" }] comment-token = "HG:" indent = { tab-width = 2, unit = " " } roots = [".hg"] [[grammar]] name = "verilog" source = { git = "https://github.com/gmlarumbe/tree-sitter-verilog.git", rev = "cd6e48b27d8bd7b192a8784b0171a39afa06f13d" }