Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/connorlay/tree-sitter-surface
Surface grammar for Tree-sitter
https://github.com/connorlay/tree-sitter-surface
elixir neovim parser tree-sitter
Last synced: 20 days ago
JSON representation
Surface grammar for Tree-sitter
- Host: GitHub
- URL: https://github.com/connorlay/tree-sitter-surface
- Owner: connorlay
- Created: 2021-07-12T15:33:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-02-19T13:32:15.000Z (over 1 year ago)
- Last Synced: 2024-07-30T20:56:11.867Z (4 months ago)
- Topics: elixir, neovim, parser, tree-sitter
- Language: JavaScript
- Homepage:
- Size: 78.1 KB
- Stars: 19
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
Awesome Lists containing this project
README
# Tree-sitter Surface
[Tree-sitter](https://tree-sitter.github.io/tree-sitter/) grammar and parser for [Surface](https://surface-ui.org), the server-side rendering component library for [Phoenix](https://www.phoenixframework.org/).
Supports the Surface 0.5+ template syntax.
For HEEx support, see [tree-sitter-heex](https://github.com/connorlay/tree-sitter-heex).
## Features
Parsing support for the following nodes:
* Tags
* Components
* Blocks
* Directives
* Expressions
* Attributes
* Text
* Comments## Queries
* Highlights
* Folds
* Indents
* InjectionsCurrently supported in NeoVim via [nvim-treesitter](https://github.com/nvim-treesitter/nvim-treesitter).