# Trident language support for Helix
#
# Install:
#   1. Copy this file to ~/.config/helix/languages.toml
#      (or merge into your existing one)
#   2. Link the queries:
#      mkdir -p ~/.config/helix/runtime/queries/trident
#      ln -s <path-to>/editor/queries/highlights.scm \
#             ~/.config/helix/runtime/queries/trident/highlights.scm
#   3. Ensure `trident-lsp` is on your PATH

language
name = "trident"
scope = "source.trident"
file-types = ["tri"]
comment-tokens = ["//"]
indent = { tab-width = 4, unit = "    " }
language-servers = ["trident-lsp"]
roots = ["trident.toml"]

grammar
name = "trident"
source = { path = "../../tree-sitter" }

[language-server.trident-lsp]
command = "trident-lsp"

Local Graph