diff --git a/dot_config/helix/languages.toml b/dot_config/helix/languages.toml index 45c7c27..4d69564 100644 --- a/dot_config/helix/languages.toml +++ b/dot_config/helix/languages.toml @@ -4,52 +4,13 @@ auto-format = true formatter = { command = "yamlfmt", args = ["-"] } [[language]] -name = "bash" +name = "xbps-template" +scope = "source.xbps" +roots = ["xbps-src"] file-types = [ - "sh", - "bash", - "ash", - "dash", - "ksh", - "mksh", - "zsh", - "zshenv", - "zlogin", - "zlogout", - "zprofile", - "zshrc", - "eclass", - "ebuild", - "bazelrc", - "Renviron", - "zsh-theme", - "cshrc", - "tcshrc", - "bashrc_Apple_Terminal", - "zshrc_Apple_Terminal", - { glob = "i3/config" }, - { glob = "sway/config" }, - { glob = "tmux.conf" }, - { glob = ".bash_history" }, - { glob = ".bash_login" }, - { glob = ".bash_logout" }, - { glob = ".bash_profile" }, - { glob = ".bashrc" }, - { glob = ".profile" }, - { glob = ".zshenv" }, - { glob = ".zlogin" }, - { glob = ".zlogout" }, - { glob = ".zprofile" }, - { glob = ".zshrc" }, - { glob = ".zimrc" }, - { glob = "APKBUILD" }, - { glob = ".bash_aliases" }, - { glob = ".Renviron" }, - { glob = ".xprofile" }, - { glob = ".xsession" }, - { glob = ".xsessionrc" }, - { glob = ".yashrc" }, - { glob = ".yash_profile" }, - { glob = ".hushlogin" }, - { glob = "template" }, + { glob = "srcpkgs/*/template" } ] +comment-token = "#" +language-servers = [ "bash-language-server" ] +indent = { tab-width = 4, unit = "\t" } +grammar = "bash"