mirror of
https://github.com/jimeh/.emacs.d.git
synced 2026-02-19 13:46:41 +00:00
ignore specific folders within ruby projects in eproject and ack
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
;; Your init file should contain only one such instance.
|
||||
;; If there is more than one, they won't work right.
|
||||
'(ac-menu-height 15)
|
||||
'(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle")))
|
||||
'(ack-arguments (quote ("--ignore-dir=vendor/ruby" "--ignore-dir=vendor/bundle" "--ignore-dir=coverage" "--ignore-dir=docs" "--ignore-dir=doc")))
|
||||
'(ack-project-root-file-patterns (quote (".project\\'" ".xcodeproj\\'" ".sln\\'" "\\`Project.ede\\'" "\\`.git\\'" "\\`.bzr\\'" "\\`_darcs\\'" "\\`.hg\\'" "\\`Gemfile\\'" "\\`Rakefile\\'")))
|
||||
'(ack-prompt-for-directory (quote unless-guessed))
|
||||
'(aquamacs-additional-fontsets nil t)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
(define-project-type ruby (generic)
|
||||
(or (look-for "Rakefile") (look-for "Gemfile") (look-for "config.ru")
|
||||
(look-for "\.gemspec$") (look-for "Capfile"))
|
||||
:irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/"
|
||||
:irrelevant-files ("^[#]" ".git/" "vendor/" "coverage/" "doc/" "docs/"
|
||||
"\.DS_Store"))
|
||||
|
||||
(define-project-type node-js (generic)
|
||||
|
||||
Reference in New Issue
Block a user