]>
Commit | Line | Data |
---|---|---|
c47550bd RBR |
1 | # tree-sitter-api-notation |
2 | ||
3113c607 RBR |
3 | This is a tree-sitter parser for [api-notation][api-notation]. It also has a |
4 | built-in neovim plugin if you use `nvim-treesitter`. | |
c47550bd RBR |
5 | |
6 | ## Neovim plugin | |
7 | ||
8 | If you use `nvim-treesitter`, you can also include this as a plugin and it will | |
3113c607 | 9 | configure the file types and highlights. |
c47550bd RBR |
10 | |
11 | ``` | |
12 | require('lazy').setup({ | |
13 | ... | |
95610c21 | 14 | 'nvim-treesitter/nvim-treesitter', |
c47550bd RBR |
15 | 'https://git.sr.ht/~rbdr/tree-sitter-api-notation' |
16 | ... | |
17 | } | |
18 | ``` | |
19 | ||
20 | [api-notation]: https://unlimited.pizza/api.html |