Update REAMDE
This commit is contained in:
parent
6ea184f8c0
commit
2dc6dc0b33
30
README.rst
30
README.rst
|
@ -2,6 +2,32 @@
|
||||||
A Tree-sitter parser for CMake
|
A Tree-sitter parser for CMake
|
||||||
==============================
|
==============================
|
||||||
|
|
||||||
This project provides a `cmake` parser. Its primary use case is to provide a `cmake` parser for `nvim-treesitter`. The
|
This project provides a `cmake` parser. Its primary use case is to provide a `cmake` parser for `nvim-treesitter`.
|
||||||
project is still underdevelopment but basic highlighting should already work.
|
|
||||||
|
|
||||||
|
|
||||||
|
Parsed syntax
|
||||||
|
=============
|
||||||
|
|
||||||
|
- Command
|
||||||
|
|
||||||
|
- General commands
|
||||||
|
- For and while loops
|
||||||
|
- If conditions
|
||||||
|
- Functions and macros
|
||||||
|
|
||||||
|
- Arguments
|
||||||
|
|
||||||
|
- Quoted arguments
|
||||||
|
- Bracket arguments
|
||||||
|
- Unquoted arguments
|
||||||
|
- Parentheses
|
||||||
|
|
||||||
|
- Variable refences
|
||||||
|
|
||||||
|
- Environment and cache variables
|
||||||
|
- Normal variables
|
||||||
|
|
||||||
|
TODO
|
||||||
|
====
|
||||||
|
|
||||||
|
- Generator expression
|
||||||
|
|
Loading…
Reference in a new issue