summaryrefslogtreecommitdiff
path: root/admin/notes/tree-sitter/starter-guide
diff options
context:
space:
mode:
Diffstat (limited to 'admin/notes/tree-sitter/starter-guide')
-rw-r--r--admin/notes/tree-sitter/starter-guide2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/notes/tree-sitter/starter-guide b/admin/notes/tree-sitter/starter-guide
index a6a4c647f23..606f7891dfa 100644
--- a/admin/notes/tree-sitter/starter-guide
+++ b/admin/notes/tree-sitter/starter-guide
@@ -238,7 +238,7 @@ Concretely, something like this:
...
(cond
;; Tree-sitter.
- ((treesit-ready-p 'python-mode 'python)
+ ((treesit-ready-p 'python)
(treesit-parser-create 'python)
(setq-local treesit-font-lock-settings python--treesit-settings)
(setq-local treesit-font-lock-feature-list