docs(tree-sitter): add better wording to readme
This commit is contained in:
parent
76d38ddc63
commit
e72930c433
1 changed files with 6 additions and 7 deletions
|
@ -17,7 +17,7 @@
|
||||||
- [[#troubleshooting][Troubleshooting]]
|
- [[#troubleshooting][Troubleshooting]]
|
||||||
|
|
||||||
* Description
|
* Description
|
||||||
Add [[https://tree-sitter.github.io/tree-sitter/][tree-sitter]] support to doom:
|
This module adds [[https://tree-sitter.github.io/tree-sitter/][tree-sitter]] support to doom:
|
||||||
|
|
||||||
#+begin_quote
|
#+begin_quote
|
||||||
Tree sitter is a parser generator tool and an incremental parsing library. It
|
Tree sitter is a parser generator tool and an incremental parsing library. It
|
||||||
|
@ -25,9 +25,9 @@ can build a concrete syntax tree for a source file and efficiently update the
|
||||||
syntax tree as the source file is edited.
|
syntax tree as the source file is edited.
|
||||||
#+end_quote
|
#+end_quote
|
||||||
|
|
||||||
|
It includes:
|
||||||
+ Include better syntax highlighting of supported code
|
+ Better syntax highlighting of supported languages
|
||||||
+ Add structural text objects to manipulate functions statements and other code
|
+ Structural text objects to manipulate functions statements and other code
|
||||||
structures like any other text object
|
structures like any other text object
|
||||||
|
|
||||||
** Maintainers
|
** Maintainers
|
||||||
|
@ -55,9 +55,8 @@ highlighting support for [[https://emacs-tree-sitter.github.io/syntax-highlighti
|
||||||
** Text Objects
|
** Text Objects
|
||||||
Not all language support all text objects (yet). [[https://github.com/nvim-treesitter/nvim-treesitter-textobjects#built-in-textobjects][Here is a table of the text
|
Not all language support all text objects (yet). [[https://github.com/nvim-treesitter/nvim-treesitter-textobjects#built-in-textobjects][Here is a table of the text
|
||||||
objects languages support]]
|
objects languages support]]
|
||||||
Note: only languages with parsers in emacs have text object support currently
|
Note: only languages with parsers in emacs have text object support currently.
|
||||||
|
Currently text objects are bound to:
|
||||||
currently text objects are bound to:
|
|
||||||
| key | text object |
|
| key | text object |
|
||||||
|-----+-------------|
|
|-----+-------------|
|
||||||
| =f= | function |
|
| =f= | function |
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue