Add CMake(User)Presets.json as CMake files for grep
This commit is contained in:
parent
f4fe076d62
commit
86afae7567
1 changed files with 3 additions and 2 deletions
|
@ -4,7 +4,7 @@
|
|||
|
||||
;; Author: Tom Willemse <tom@ryuslash.org>
|
||||
;; Keywords: local
|
||||
;; Version: 2020.0907.143950
|
||||
;; Version: 2021.0114.163330
|
||||
;; Package-Requires: (cmake-mode oni-company oni-fci oni-flycheck cmake-font-lock eldoc-cmake)
|
||||
|
||||
;; This program is free software; you can redistribute it and/or modify
|
||||
|
@ -65,7 +65,8 @@ See URL `https://github.com/richq/cmake-lint'"
|
|||
|
||||
;;;###autoload
|
||||
(with-eval-after-load 'grep
|
||||
(add-to-list 'grep-files-aliases '("cmake" . "CMakeLists.txt *.cmake")))
|
||||
(add-to-list 'grep-files-aliases
|
||||
'("cmake" . "CMakeLists.txt *.cmake CMakePresets.json CMakeUserPresets.json")))
|
||||
|
||||
;;;###autoload(with-eval-after-load 'cmake-mode (require 'oni-cmake))
|
||||
|
||||
|
|
Loading…
Reference in a new issue