From 09442c667671c794d94b13446fe135ec211f72ae Mon Sep 17 00:00:00 2001 From: Samir Benmendil Date: Tue, 23 Aug 2016 08:40:52 +0100 Subject: [PATCH] vim: switch between ON/OFF in cmake files --- vim/ftplugin/cmake.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/vim/ftplugin/cmake.vim b/vim/ftplugin/cmake.vim index 3055d97..7702eb0 100644 --- a/vim/ftplugin/cmake.vim +++ b/vim/ftplugin/cmake.vim @@ -2,3 +2,8 @@ setlocal expandtab setlocal tabstop=2 setlocal shiftwidth=2 setlocal softtabstop=2 + +let g:switch_custom_definitions = + \ [ + \ ['ON', 'OFF'] + \ ] -- 2.48.1