From 7105292eedf1555bd87b633490440ecc8dbdeaf6 Mon Sep 17 00:00:00 2001 From: Jeetaditya Chatterjee Date: Fri, 17 Jun 2022 20:05:16 +0100 Subject: [PATCH] docs(tree-sitter): add mention on how to enable On a language level --- modules/tools/tree-sitter/README.org | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/tools/tree-sitter/README.org b/modules/tools/tree-sitter/README.org index 3f9a21e16..0ae737029 100644 --- a/modules/tools/tree-sitter/README.org +++ b/modules/tools/tree-sitter/README.org @@ -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