SPML grammar for tree-sitter.
- Parser for SPML Syntax Trees
- Syntax highlighting
- Can use tree-sitter-java, tree-sitter-javascript and tree-sitter-css for the respective embedded languages.
- install nvim-treesitter
- build
tree-sitter-spml
withmake
- copy or link the build
libtree-sitter-spml.so
into thenvim-treesitter/parsers/
directory under the namespml
- copy or link all
.scm
files inside of thequeries/
directory into a newnvim-treesitter/queries/spml
directory - optionally invoke
:TSInstall java
,:TSInstall javascript
and:TSInstall css
from inside neovim