diff options
| author | condy <condy0919@gmail.com> | 2025-10-25 07:37:58 +0800 |
|---|---|---|
| committer | condy <condy0919@gmail.com> | 2025-10-25 07:37:58 +0800 |
| commit | 092408dcf7655c299d69b8cacb85bdea59598196 (patch) | |
| tree | bf537de62fb3d71b708999cfecb3b5115d76e381 | |
| parent | 44f3de67af4a4ea5c7213c1de1001af0a84e723e (diff) | |
Revert "Fix evil-shift-width for yaml-ts-mode"
This reverts commit 44f3de67af4a4ea5c7213c1de1001af0a84e723e.
| -rw-r--r-- | evil-collection.el | 2 | ||||
| -rw-r--r-- | modes/yaml-mode/evil-collection-yaml-mode.el | 4 |
2 files changed, 2 insertions, 4 deletions
diff --git a/evil-collection.el b/evil-collection.el index a4fcea1..dc36248 100644 --- a/evil-collection.el +++ b/evil-collection.el @@ -351,7 +351,7 @@ See `evil-collection-init' and `evil-collection--modes-with-delayed-setup'." woman xref xwidget - (yaml-mode ,@(when (>= emacs-major-version 29) '(yaml-ts-mode))) + yaml-mode youtube-dl zmusic (ztree ztree-diff ztree-dir)) diff --git a/modes/yaml-mode/evil-collection-yaml-mode.el b/modes/yaml-mode/evil-collection-yaml-mode.el index 0ef9d1c..3bf6667 100644 --- a/modes/yaml-mode/evil-collection-yaml-mode.el +++ b/modes/yaml-mode/evil-collection-yaml-mode.el @@ -25,7 +25,6 @@ ;;; Code: (require 'evil-collection) (require 'yaml-mode nil t) -(require 'yaml-ts-mode nil t) (defconst evil-collection-yaml-mode-maps nil) @@ -37,8 +36,7 @@ ;;;###autoload (defun evil-collection-yaml-mode-setup () "Set up `evil' bindings for `yaml'." - (dolist (hook '(yaml-mode-hook yaml-ts-mode-hook)) - (add-hook hook #'evil-collection-yaml-mode-set-evil-shift-width))) + (add-hook 'yaml-mode-hook #'evil-collection-yaml-mode-set-evil-shift-width)) (provide 'evil-collection-yaml-mode) ;;; evil-collection-yaml-mode.el ends here |
