mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -325,7 +325,7 @@ snippet foreachkil
|
||||
${0:<!-- html... -->}
|
||||
<?php endforeach; ?>
|
||||
# $... = array (...)
|
||||
snippet array
|
||||
snippet array b
|
||||
$${1:arrayName} = array('${2}' => ${3});
|
||||
snippet try
|
||||
try {
|
||||
@ -603,3 +603,27 @@ snippet tc
|
||||
}
|
||||
snippet te
|
||||
throw new ${1:Exception}("${2:Error Processing Request}");
|
||||
|
||||
snippet fpc "file_put_contents" b
|
||||
file_put_contents(${1:file}, ${2:content}${3:, FILE_APPEND});$0
|
||||
|
||||
snippet sr "str_replace"
|
||||
str_replace(${1:search}, ${2:replace}, ${3:subject})$0
|
||||
|
||||
snippet ia "in_array"
|
||||
in_array(${1:needle}, ${2:haystack})$0
|
||||
|
||||
snippet is "isset"
|
||||
isset(${1:var})$0
|
||||
|
||||
snippet isa "isset array"
|
||||
isset($${1:array}[${2:key}])$0
|
||||
|
||||
snippet in "is_null"
|
||||
is_null($${1:var})$0
|
||||
|
||||
snippet fe "file_exists"
|
||||
file_exists(${1:file})$0
|
||||
|
||||
snippet id "is_dir"
|
||||
is_dir(${1:path})$0
|
||||
|
Reference in New Issue
Block a user