diff options
Diffstat (limited to 'admin/notes/tree-sitter/starter-guide')
-rw-r--r-- | admin/notes/tree-sitter/starter-guide | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/admin/notes/tree-sitter/starter-guide b/admin/notes/tree-sitter/starter-guide index 129f9ee5fa4..378ff581afa 100644 --- a/admin/notes/tree-sitter/starter-guide +++ b/admin/notes/tree-sitter/starter-guide @@ -8,6 +8,7 @@ TOC: - Building Emacs with tree-sitter - Install language definitions - Setup +- Naming convention - Font-lock - Indent - Imenu @@ -94,6 +95,12 @@ Then in other places, we decide on whether to enable tree-sitter by (treesit-can-enable-p)) #+end_src +* Naming convention + +When referring to tree-sitter as a noun, use “tree-sitter”, like +python-use-tree-sitter. For prefix use “treesit”, like +python-treesit-indent. + * Font-lock Tree-sitter works like this: You provide a query made of patterns and |