branch: elpa/evil
commit 491da1a1be2cf380a2174b5d3a282f9d1b9f8ac0
Author: Tom Dalziel <tom...@hotmail.com>
Commit: Tom Dalziel <33435574+tomd...@users.noreply.github.com>

    Add c-ts-mode to evil-jump-item c major modes
    
    Fixes #1908
---
 evil-commands.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/evil-commands.el b/evil-commands.el
index 3fd984f12d..5605f146d6 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -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]+\\)"))

Reply via email to