Add cmake surround for generator expressions
This commit is contained in:
parent
72fe59ffaa
commit
6d2fbc2ac5
@ -7,5 +7,9 @@ setlocal foldmethod=syntax
|
|||||||
setlocal commentstring=#%s
|
setlocal commentstring=#%s
|
||||||
|
|
||||||
" Custon surround for creating a CMake variable from a text object.
|
" Custon surround for creating a CMake variable from a text object.
|
||||||
" "ys{motion}v" makes a variable out of "<text-obj>" - > "${<text-obj>}"
|
" "ys{motion}v" makes a variable out of "text-obj" -> "${text-obj}"
|
||||||
let b:surround_{char2nr("v")} = "${\r}"
|
let b:surround_{char2nr("v")} = "${\r}"
|
||||||
|
|
||||||
|
" Custom surround for createing a CMake generator expression from a test object.
|
||||||
|
" "ys{motion}g" makes a generator expression out of "text-obj" -> "$<text-obj>"
|
||||||
|
let b:surround_{char2nr("g")} = "$<\r>"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user