dot-files/vim/.vim/UltiSnips/cpp.snippets

11 lines
180 B
Plaintext
Raw Permalink Normal View History

2019-10-18 16:47:00 +02:00
snippet ns "namespace .. (namespace)"
namespace${1/.+/ /m}${1:`!p snip.rv = snip.basename or "name"`}
{
${VISUAL}$0
}${1/.+/ \/\/ /m}namespace $1
endsnippet
# vim:ft=snippets: