1
0
mirror of https://github.com/amix/vimrc synced 2025-07-03 22:25:32 +08:00
This commit is contained in:
bood
2013-08-17 11:14:09 +02:00
parent dca331dcc1
commit 9984538008
22 changed files with 41 additions and 596 deletions

View File

@ -405,3 +405,10 @@ snippet aw
array_walk($${1:foo}, function(&$${2:v}, $${3:k}) {
$$2 = ${4};
});
# static var assign once
snippet static_var
static $${1} = null;
if (is_null($$1)){
$$1 = ${2};
}