From eddac6bbac97e6ac7cb9b854d7a6217fe98901d7 Mon Sep 17 00:00:00 2001 From: Tom Dalziel Date: Sun, 16 Jun 2024 15:08:03 +0200 Subject: [PATCH] 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 43030c22..558dc043 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)) (require 'hideif nil t) (with-no-warnings (let* ((hif-else-regexp (concat hif-cpp-prefix "\\(?:else\\|elif[ \t]+\\)"))