about summary refs log tree commit diff
path: root/users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el
diff options
context:
space:
mode:
authorProfpatsch <mail@profpatsch.de>2020-12-19T20·39+0100
committerProfpatsch <mail@profpatsch.de>2021-01-01T22·40+0000
commitfdb47be7d73652142eb15ae978d5cb63313d346a (patch)
treef277568bd2e1a083933273223cfd434c570de81c /users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el
parent3279786cd221eafc876ca1987c04efe108ed0660 (diff)
feat(emacs-tree-sitter-move): load more than one tree sitter grammar r/2046
Change-Id: I43b8ddb180c056f1b8c650ccc915ec41bae83960
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2262
Reviewed-by: Profpatsch <mail@profpatsch.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el')
-rw-r--r--users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el b/users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el
index c23e401f0a23..ddccb58c8948 100644
--- a/users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el
+++ b/users/Profpatsch/emacs-tree-sitter-move/tree-sitter-move.el
@@ -15,6 +15,7 @@
 (defun tree-sitter-move--setup ()
   ;; TODO
   (progn
+    ;; TODO: if tree-sitter-mode fails to load, display a better error
     (tree-sitter-mode t)
     (setq tree-sitter-move--cursor (tsc-root-node tree-sitter-tree))
     (add-variable-watcher