From bdf9a71ab7baa2b1de9abcfd5df1a9107a55d141 Mon Sep 17 00:00:00 2001 From: Jack Jamison Date: Sun, 5 Jul 2026 01:19:30 -0400 Subject: add a bunch of emacs packages HELP --- .config/emacs/lisp/evil-collection/modes/js2-mode/README.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .config/emacs/lisp/evil-collection/modes/js2-mode/README.org (limited to '.config/emacs/lisp/evil-collection/modes/js2-mode/README.org') diff --git a/.config/emacs/lisp/evil-collection/modes/js2-mode/README.org b/.config/emacs/lisp/evil-collection/modes/js2-mode/README.org new file mode 100644 index 0000000..3639801 --- /dev/null +++ b/.config/emacs/lisp/evil-collection/modes/js2-mode/README.org @@ -0,0 +1,12 @@ +* js2-mode + + Evil compatibility for [[https://github.com/mooz/js2-mode][js2-mode]]. No key bindings. + + Adds a hook to =js2-mode-hook= and =js2-jsx-mode-hook= that sets the + buffer-local =evil-shift-width= to match =js-indent-level=, so =>>= and + =<<= indent by the same amount js2-mode does. + +** New commands + + - =evil-collection-js2-set-evil-shift-width= - Sync =evil-shift-width= + with =js-indent-level= in the current buffer. -- cgit v1.2.3