From 86afae7567f3dbafdb46835c5750620f8637eaa9 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Wed, 20 Jan 2021 16:24:55 -0800 Subject: [PATCH] Add CMake(User)Presets.json as CMake files for grep --- oni-cmake.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/oni-cmake.el b/oni-cmake.el index 836f27c..e8de373 100644 --- a/oni-cmake.el +++ b/oni-cmake.el @@ -4,7 +4,7 @@ ;; Author: Tom Willemse ;; 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))