Use snipMate syntax

mixed UltiSnips and snipMate syntax was causing parse errors.
This commit is contained in:
Matthew Barry 2016-01-11 10:29:54 -06:00
parent bfe6914f1c
commit ba38c83495

View File

@ -605,33 +605,25 @@ snippet te
throw new ${1:Exception}("${2:Error Processing Request}"); throw new ${1:Exception}("${2:Error Processing Request}");
snippet fpc "file_put_contents" b snippet fpc "file_put_contents" b
file_put_contents(${1:file}, ${2:content}${3:, FILE_APPEND});$0 file_put_contents(${1:file}, ${2:content}${3:, FILE_APPEND});$0
endsnippet
snippet sr "str_replace" snippet sr "str_replace"
str_replace(${1:search}, ${2:replace}, ${3:subject})$0 str_replace(${1:search}, ${2:replace}, ${3:subject})$0
endsnippet
snippet ia "in_array" snippet ia "in_array"
in_array(${1:needle}, ${2:haystack})$0 in_array(${1:needle}, ${2:haystack})$0
endsnippet
snippet is "isset" snippet is "isset"
isset(${1:var})$0 isset(${1:var})$0
endsnippet
snippet isa "isset array" snippet isa "isset array"
isset($${1:array}[${2:key}])$0 isset($${1:array}[${2:key}])$0
endsnippet
snippet in "is_null" snippet in "is_null"
is_null($${1:var})$0 is_null($${1:var})$0
endsnippet
snippet fe "file_exists" snippet fe "file_exists"
file_exists(${1:file})$0 file_exists(${1:file})$0
endsnippet
snippet id "is_dir" snippet id "is_dir"
is_dir(${1:path})$0 is_dir(${1:path})$0
endsnippet