1
0
Fork 0

Add ‘grep-files-aliases’ entry for CSS

This commit is contained in:
Tom Willemse 2019-02-19 00:10:39 -08:00
parent e6bd52e53a
commit 414893c527

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; Keywords: local
;; Version: 20190218233500 ;; Version: 20190219000529
;; Package-Requires: (oni-company hydra fill-column-indicator) ;; Package-Requires: (oni-company hydra fill-column-indicator)
;; This program is free software; you can redistribute it and/or modify ;; This program is free software; you can redistribute it and/or modify
@ -31,7 +31,8 @@
(require 'hydra) (require 'hydra)
(eval-when-compile (eval-when-compile
(require 'compile)) (require 'compile)
(require 'grep))
(defun oni-css-property-important-p () (defun oni-css-property-important-p ()
"Return whether or not the current property is important." "Return whether or not the current property is important."
@ -135,5 +136,9 @@
(group . (1)) (group . (1))
(modes . '(scss-mode css-mode)))) (modes . '(scss-mode css-mode))))
;;;###autoload
(with-eval-after-load 'grep
(add-to-list 'grep-files-aliases '("css" . "*.css *.less *.sass *.scss")))
(provide 'oni-css) (provide 'oni-css)
;;; oni-css.el ends here ;;; oni-css.el ends here