From 7069fb50f04a8df46fdab42732e82e9e2c4389a2 Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 25 Dec 2018 12:01:55 +0000 Subject: [PATCH] vim: snippet to pretty print cmake variables --- vim/ultisnips/cmake.snippets | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/ultisnips/cmake.snippets b/vim/ultisnips/cmake.snippets index 9609a05..1983d60 100644 --- a/vim/ultisnips/cmake.snippets +++ b/vim/ultisnips/cmake.snippets @@ -18,6 +18,11 @@ target_link_libraries($2 ) endsnippet +snippet pprint "Pretty print variables" b +include(CMakePrintHelpers) +cmake_print_variables(${1:var1}) +endsnippet + snippet qt5 "Find Qt5 Modules" b # Qt5 Modules set(qt5_modules -- 2.48.1