Add ‘grep-files-aliases’ entry for CSS
This commit is contained in:
parent
e6bd52e53a
commit
414893c527
1 changed files with 7 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 20190218233500
|
||||
;; Version: 20190219000529
|
||||
;; Package-Requires: (oni-company hydra fill-column-indicator)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -31,7 +31,8 @@
|
|||
(require 'hydra)
|
||||
|
||||
(eval-when-compile
|
||||
(require 'compile))
|
||||
(require 'compile)
|
||||
(require 'grep))
|
||||
|
||||
(defun oni-css-property-important-p ()
|
||||
"Return whether or not the current property is important."
|
||||
|
@ -135,5 +136,9 @@
|
|||
(group . (1))
|
||||
(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)
|
||||
;;; oni-css.el ends here
|
||||
|
|
Loading…
Reference in a new issue