Tree-sitter grammar and parser for Surface, the server-side rendering component library for Phoenix.
Supports the Surface 0.5+ template syntax.
For HEEx support, see tree-sitter-heex.
Parsing support for the following nodes:
- Tags
- Components
- Blocks
- Directives
- Expressions
- Attributes
- Text
- Comments
- Highlights
- Folds
- Indents
- Injections
Currently supported in NeoVim via nvim-treesitter.