dot-files/vim/.vim/after/ftplugin/cmake.vim

7 lines
206 B
VimL
Raw Normal View History

" 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<'