1
0
mirror of https://github.com/amix/vimrc synced 2025-06-16 01:25:00 +08:00

Forgot to check in the rest of the updated plugins :/

This commit is contained in:
Amir
2022-09-20 10:08:31 +02:00
parent c6ba5aa440
commit 3978f7b467
77 changed files with 630 additions and 371 deletions

View File

@ -86,7 +86,7 @@ snippet =?:
snippet ?:
${1:true} ? ${2:a} : ${0}
snippet t "$retVal = (condition) ? a : b"
$${1:retVal} = (${2:condition}) ? ${3:a} : ${4:b};
$${1:retVal} = ($2) ? ${3:a} : ${4:b};
# Predefined variables
snippet C
$_COOKIE['${1:variable}']
@ -283,7 +283,7 @@ snippet def "define('VARIABLE_NAME', 'definition')"
snippet def?
${1}defined('${2}')
snippet wh "while (condition) { ... }"
while (${1:/* condition */}) {
while ($1) {
${0:${VISUAL}}
}
snippet do "do { ... } while (condition)"