docs(tree-sitter): add mention on how to enable

On a language level
This commit is contained in:
Jeetaditya Chatterjee 2022-06-17 20:05:16 +01:00
parent 349247fb3e
commit 7105292eed
No known key found for this signature in database
GPG key ID: 09D54CECD2132B91

View file

@ -54,6 +54,8 @@ This module has no prerequisites.
** Language support
Currently Emacs tree sitter has got [[https://github.com/emacs-tree-sitter/tree-sitter-langs/tree/master/repos][parsers for these languages]] with syntax
highlighting support for [[https://emacs-tree-sitter.github.io/syntax-highlighting/][these languages]] as well as ~typescript-tsx-mode~
To enable tree sitter for individual languages add the =+tree-sitter= flag.
Check the module readme of your language for support.
** 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