1
0
Fork 0

Add CMake(User)Presets.json as CMake files for grep

This commit is contained in:
Tom Willemse 2021-01-20 16:24:55 -08:00
parent f4fe076d62
commit 86afae7567

View file

@ -4,7 +4,7 @@
;; Author: Tom Willemse <tom@ryuslash.org> ;; Author: Tom Willemse <tom@ryuslash.org>
;; Keywords: local ;; 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) ;; 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 ;; 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 ;;;###autoload
(with-eval-after-load 'grep (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)) ;;;###autoload(with-eval-after-load 'cmake-mode (require 'oni-cmake))