aboutsummaryrefslogtreecommitdiffstats
path: root/oni-yaml.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-yaml.el')
-rw-r--r--oni-yaml.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/oni-yaml.el b/oni-yaml.el
index 27a4cf6..6019257 100644
--- a/oni-yaml.el
+++ b/oni-yaml.el
@@ -54,6 +54,7 @@
;;;###autoload
(when (and (functionp 'treesit-available-p)
(treesit-available-p)
+ (require 'treesit)
(treesit-ready-p 'yaml))
(add-to-list 'major-mode-remap-alist '(yaml-mode . yaml-ts-mode))
(oni-yaml--enable-hooks 'yaml-ts-mode-hook))