aboutsummaryrefslogtreecommitdiffstats
path: root/oni-core.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-16 23:21:16 -0700
committerGravatar Tom Willemse2023-07-16 23:21:16 -0700
commitb64b38187177b529c6706bd260157ec77c2758d1 (patch)
tree0e8ef00a526a6a4f2d2848aae438e463880ac297 /oni-core.el
parent6c97f1359599c8329f51ba8051fdd3fc1ccc82ef (diff)
downloademacs-config-b64b38187177b529c6706bd260157ec77c2758d1.tar.gz
emacs-config-b64b38187177b529c6706bd260157ec77c2758d1.zip
[oni-core] Remove unnecessary code
When Emacs is first started ‘treesit-extra-load-path’ is empty and any ‘(treesit-language-available-p ...)’ will return nil. But calling, for example, ‘bash-ts-mode’ will work if the package is installed in Guix and will fill the variable.
Diffstat (limited to 'oni-core.el')
-rw-r--r--oni-core.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/oni-core.el b/oni-core.el
index cfd4e68..affa954 100644
--- a/oni-core.el
+++ b/oni-core.el
@@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local
-;; Version: 2023.0715.005059
+;; Version: 2023.0716.225152
;; 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
@@ -505,7 +505,6 @@ which normally have their errors suppressed."
;;; 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)