[ADD][VIM] C++ namespace snippet

This commit is contained in:
Bruno BELANYI 2019-10-18 16:47:00 +02:00
parent 8faf2e188b
commit e8314d6f34

View file

@ -0,0 +1,10 @@
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: