From 414893c527c03a164380a589fa5f6ea2805a60f1 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Tue, 19 Feb 2019 00:10:39 -0800 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=98grep-files-aliases=E2=80=99=20en?= =?UTF-8?q?try=20for=20CSS?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- oni-css.el | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/oni-css.el b/oni-css.el index 2008558..dfb2696 100644 --- a/oni-css.el +++ b/oni-css.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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