diff options
author | JSDurand <mmemmew@gmail.com> | 2022-02-11 16:28:51 +0800 |
---|---|---|
committer | JSDurand <mmemmew@gmail.com> | 2022-02-11 16:28:51 +0800 |
commit | 6fefcdfc0da2bae277997c54e50da6ba021fefa9 (patch) | |
tree | 648ac924ae27f27219e5b0f545cfacff7d7d2520 | |
parent | 435c95393459d0c7825a4431f0ebcec6898ba16b (diff) |
ibuffer: add section for rust buffers
* ibuffer.el (durand-bongo-set-filter): Add a section for buffers in
the rustic-mode or the rust-mode.
-rw-r--r-- | ibuffer.el | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -343,6 +343,8 @@ derived modes of `ibuffer-mode'."))) found)) ((derived-mode-p 'bongo-playlist-mode 'bongo-library-mode))))) +;;; For directory + ;;;###autoload (define-ibuffer-filter durand-directory "Limit current view to buffers with directory a subdirectory of \ @@ -368,6 +370,9 @@ value of `default-directory' in that buffer." (interactive) (setq ibuffer-filter-groups (list (cons "Bongo" '((durand-bongo))) + (cons "RS" '((or + (mode . rustic-mode) + (mode . rust-mode)))) (cons "C" '((mode . c-mode))) (cons "ELisp" '((mode . emacs-lisp-mode))) (cons "EWW" '((mode . eww-mode))) |