aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/oni-core.el b/oni-core.el
index bf58abf..cfd4e68 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2023.0708.001128
+;; Version: 2023.0715.005059
;; Package-Requires: (oni-data-dir oni-embrace oni-hydra expand-region multiple-cursors gcmh diminish ws-butler which-key insert-char-preview mixed-pitch ace-window vertico marginalia orderless consult embark docstr mini-frame)
;; This program is free software; you can redistribute it and/or modify
@@ -502,5 +502,11 @@ which normally have their errors suppressed."
(with-eval-after-load 'isearch
(setq isearch-lazy-count t))
+;;; Tree sitter
+
+(when (treesit-available-p)
+ (setq treesit-extra-load-path (string-split (getenv "TREE_SITTER_GRAMMAR_PATH") ";"))
+ (add-to-list 'interpreter-mode-alist '("bash" . bash-ts-mode)))
+
(provide 'oni-core)
;;; oni-core.el ends here