summaryrefslogtreecommitdiffstats
path: root/Auxiliary/vim/indent/cmake.vim
diff options
context:
space:
mode:
authorMaarten de Vries <maarten@de-vri.es>2017-09-15 19:51:42 (GMT)
committerBrad King <brad.king@kitware.com>2017-09-18 12:41:53 (GMT)
commit0d543589b90cf31c62fdeecc61cf9504a8de047d (patch)
treeaca994aadb02efa63ffcacbc758b1ea28f1c4284 /Auxiliary/vim/indent/cmake.vim
parentffa164736ec78f27583ca4515ff3dfc7a82fc702 (diff)
downloadCMake-0d543589b90cf31c62fdeecc61cf9504a8de047d.zip
CMake-0d543589b90cf31c62fdeecc61cf9504a8de047d.tar.gz
CMake-0d543589b90cf31c62fdeecc61cf9504a8de047d.tar.bz2
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.
Diffstat (limited to 'Auxiliary/vim/indent/cmake.vim')
-rw-r--r--Auxiliary/vim/indent/cmake.vim1
1 files changed, 0 insertions, 1 deletions
diff --git a/Auxiliary/vim/indent/cmake.vim b/Auxiliary/vim/indent/cmake.vim
index 6063e43..76aff64 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(