9 lines
314 B
VimL
9 lines
314 B
VimL
" Enable syntax folding, see .vim/after/syntax/cmake.vim
|
|
setlocal foldmethod=syntax
|
|
" Set comment string
|
|
setlocal commentstring=#%s
|
|
|
|
" Custon surround for creating a CMake variable from a text object.
|
|
" "ys{motion}v" makes a variable out of "<text-obj>" - > "${<text-obj>}"
|
|
let b:surround_{char2nr("v")} = "${\r}"
|