[ADD][VIM] CMake specific configuration
This commit is contained in:
parent
61fb44f08b
commit
986c255736
6
vim/.vim/after/ftplugin/cmake.vim
Normal file
6
vim/.vim/after/ftplugin/cmake.vim
Normal file
|
@ -0,0 +1,6 @@
|
|||
" Create the `b:undo_ftplugin` variable if it doesn't exist
|
||||
call ftplugined#check_undo_ft()
|
||||
|
||||
" Use 2 spaces indentation inside CMake files
|
||||
setlocal shiftwidth=2
|
||||
let b:undo_ftplugin.='|setlocal shiftwidth<'
|
Loading…
Reference in a new issue