Skip to content

Commit

Permalink
fix(ts-movement): install only when Emacs has tree-sitter support
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Jan 30, 2024
1 parent d411a14 commit 90ef5da
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/me-prog.el
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@

(use-package ts-movement
:straight (:host github :repo "haritkapadia/ts-movement")
:when (+emacs-features-p 'tree-sitter)
:hook ((prog-mode conf-mode) . +ts-movement-maybe)
:config
(+map-local! :keymaps 'ts-movement-map "v" #'+ts-movement-transient)
Expand Down

0 comments on commit 90ef5da

Please sign in to comment.