From 491da1a1be2cf380a2174b5d3a282f9d1b9f8ac0 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 3fd984f1..5605f146 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]+\\)"))