From 0d543589b90cf31c62fdeecc61cf9504a8de047d Mon Sep 17 00:00:00 2001 From: Maarten de Vries Date: Fri, 15 Sep 2017 21:51:42 +0200 Subject: [PATCH] vim: Remove default setting of expandtab An update from vim-cmake-syntax by commit v3.9.0-rc1~167^2^2 (vim-cmake-syntax 2017-05-02, 2017-05-02) brought in a change to set `expandtab` in CMake language files. This should be a per-project or per-user choice instead, so drop the setting. --- Auxiliary/vim/indent/cmake.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/Auxiliary/vim/indent/cmake.vim b/Auxiliary/vim/indent/cmake.vim index 6063e4311e..76aff64a6c 100644 --- a/Auxiliary/vim/indent/cmake.vim +++ b/Auxiliary/vim/indent/cmake.vim @@ -14,7 +14,6 @@ if exists("b:did_indent") endif let b:did_indent = 1 -setlocal et setlocal indentexpr=CMakeGetIndent(v:lnum) setlocal indentkeys+==ENDIF(,ENDFOREACH(,ENDMACRO(,ELSE(,ELSEIF(,ENDWHILE(