docs: rephrase the README opening
This commit is contained in:
@@ -1,8 +1,9 @@
|
||||
# tree-sitter-tumblr
|
||||
|
||||
A [tree-sitter](https://tree-sitter.github.io/) grammar for [Tumblr
|
||||
theme](https://www.tumblr.com/docs/en/custom_themes) template syntax,
|
||||
packaged as a drop-in Neovim runtime tree.
|
||||
theme](https://www.tumblr.com/docs/en/custom_themes) template syntax.
|
||||
The repository also ships filetype detection, queries, and the build
|
||||
glue Neovim needs, so you can install it directly as a plugin.
|
||||
|
||||
The grammar recognises the structure of theme files (variables, block
|
||||
tags, attributes, `lang:` tags, prefixed forms, size suffixes) and
|
||||
@@ -73,7 +74,7 @@ Files are recognised as `tumblr` by extension or by double-extension:
|
||||
```sh
|
||||
tree-sitter generate # regenerate src/parser.c from grammar.js
|
||||
tree-sitter test # run the test corpus under test/corpus/
|
||||
make # rebuild parser/tumblr.so for Neovim
|
||||
make # build parser/tumblr.so
|
||||
```
|
||||
|
||||
The known-name lists in `queries/tumblr/highlights.scm` were extracted
|
||||
|
||||
Reference in New Issue
Block a user