diff --git a/.config/helix/languages.toml b/.config/helix/languages.toml index 4902b918..23666482 100644 --- a/.config/helix/languages.toml +++ b/.config/helix/languages.toml @@ -98,7 +98,36 @@ language-servers = ["harper-ls"] [[grammar]] name = "ini" source.path = "/home/fic/dev/tree-sitter-ini" - +file-types = [ + "ini", + # Systemd unit files + "service", + "automount", + "device", + "mount", + "path", + "service", + "slice", + "socket", + "swap", + "target", + "timer", + # Podman quadlets + "container", + "volume", + "kube", + "network", + { glob = ".editorconfig" }, + { glob = ".npmrc" }, + { glob = "hgrc" }, + { glob = "npmrc" }, + { glob = "rclone.conf" }, + { glob = "**/tmp/*.conf" }, + # "conf", + "properties", + "cfg", + "directory" +] # [[grammar]] # name = "mail" # source.path = "/home/fic/dev/tree-sitter-mail"