]>
Commit | Line | Data |
---|---|---|
1 | # tree-sitter-api-notation | |
2 | ||
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`. | |
5 | ||
6 | ## Neovim plugin | |
7 | ||
8 | If you use `nvim-treesitter`, you can also include this as a plugin and it will | |
9 | configure the file types and highlights. | |
10 | ||
11 | ``` | |
12 | require('lazy').setup({ | |
13 | ... | |
14 | 'nvim-treesitter/nvim-treesitter', | |
15 | 'https://git.sr.ht/~rbdr/tree-sitter-api-notation' | |
16 | ... | |
17 | } | |
18 | ``` | |
19 | ||
20 | [api-notation]: https://unlimited.pizza/api.html |