Skip to content

Commit

Permalink
Add c-ts-mode to evil-jump-item c major modes
Browse files Browse the repository at this point in the history
Fixes #1908
  • Loading branch information
tomdl89 committed Jun 17, 2024
1 parent afb3788 commit 491da1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion evil-commands.el
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ and jump to the corresponding one."
((and (not (eolp)) (evil-looking-at-end-comment t))
(forward-comment -1))
((and
(memq major-mode '(c-mode c++-mode))
(memq major-mode '(c-mode c++-mode c-ts-mode c++-ts-mode))
(require 'hideif nil t)
(with-no-warnings
(let* ((hif-else-regexp (concat hif-cpp-prefix "\\(?:else\\|elif[ \t]+\\)"))
Expand Down

0 comments on commit 491da1a

Please sign in to comment.