aboutsummaryrefslogtreecommitdiffstats
path: root/oni-autohotkey.el
diff options
context:
space:
mode:
authorGravatar Tom Willemse2023-07-15 01:08:26 -0700
committerGravatar Tom Willemse2023-07-15 01:08:26 -0700
commit6c97f1359599c8329f51ba8051fdd3fc1ccc82ef (patch)
tree40e9ed8481b4cea1577b733fafbcf8f073e55b28 /oni-autohotkey.el
parent23ff70c4ef428bf554b4448c860e9b61c2db84f4 (diff)
downloademacs-config-6c97f1359599c8329f51ba8051fdd3fc1ccc82ef.tar.gz
emacs-config-6c97f1359599c8329f51ba8051fdd3fc1ccc82ef.zip
[oni-core] Add settings for tree-sitter
- Set the ‘treesit-extra-load-path’ to the value of ‘TREE_SITTER_GRAMMAR_PATH’. Emacs doesn't seem to do this automatically, but Guix sets that variable when grammars get installed. - Add ‘bash-ts-mode’ to the ‘interpreter-mode-alist’. In his article[1] about tree sitter support in Emacs Mickey Petersen mentions that it's best to use ‘major-mode-remap-alist’, however in his example he remaps ‘bash-mode’ to ‘bash-ts-mode’, but there is no ‘bash-mode’. Setting the ‘interpreter-mode-alist’ like this still works. [1]: https://www.masteringemacs.org/article/how-to-get-started-tree-sitter
Diffstat (limited to 'oni-autohotkey.el')
0 files changed, 0 insertions, 0 deletions