Skip to content

tree-sitter/tree-sitter-julia

Repository files navigation

tree-sitter-julia

CI discord matrix crates npm pypi

A tree-sitter parser for Julia.

References

Guidelines for writing queries

  • No highlighting is better than ambiguous highlighting. If syntax highlighting is excessive or wrong, it loses its value.

  • Only public names defined in Core should be highlighted as builtin. Julia Base is huge, and highlighting everything in it has diminishing returns.

  • Captures mostly follow Neovim's naming conventions, since they're well documented and widely used. Adapting the captures to work with other editors usually requires a few small changes.