From 3ce3e3e09948d01e599ef20e5d5fe8f637c489ad Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Thu, 10 Apr 2025 16:33:08 -0700 Subject: oni-php: Treat js, vue, and jsx files as JavaScript for grepping --- oni/home/config/pop-os/emacs.el | 3 +++ 1 file changed, 3 insertions(+) diff --git a/oni/home/config/pop-os/emacs.el b/oni/home/config/pop-os/emacs.el index bb87586..30c31e3 100644 --- a/oni/home/config/pop-os/emacs.el +++ b/oni/home/config/pop-os/emacs.el @@ -212,3 +212,6 @@ buffers.") (with-eval-after-load 'flycheck-phpstan (advice-add 'flycheck-phpstan-parse-output :filter-return #'oni-fixup-phpstan-filenames)) + +(with-eval-after-load 'grep + (add-to-list 'grep-files-aliases '("js" . "*.js *.jsx *.json *.vue"))) -- cgit v1.3-2-g0d8e