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

Revert "Merge from original repo"

This commit is contained in:
Jaeguk Hyun
2022-09-25 19:10:28 +09:00
committed by GitHub
parent 00c59fa5e1
commit 1d193551ef
122 changed files with 371 additions and 5171 deletions

View File

@ -28,14 +28,14 @@ snippet sk "skip unittests" b
@unittest.skip(${1:skip_reason})
snippet wh
while $1:
while ${1:condition}:
${0:${VISUAL}}
# dowh - does the same as do...while in other languages
snippet dowh
while True:
${1}
if $0:
if ${0:condition}:
break
snippet with
@ -115,13 +115,13 @@ snippet property
# Ifs
snippet if
if $1:
if ${1:condition}:
${0:${VISUAL}}
snippet el
else:
${0:${VISUAL}}
snippet ei
elif $1:
elif ${1:condition}:
${0:${VISUAL}}
# Match
@ -508,16 +508,3 @@ snippet numeric "methods for emulating a numeric type" b
def __coerce__(self, other):
${25:pass}
# Printing
snippet pr
print($0)
snippet prs
print("$0")
snippet prf
print(f"$0")
snippet fpr
print($0, file=${1:sys.stderr})
snippet fprs
print("$0", file=${1:sys.stderr})
snippet fprf
print(f"$0", file=${1:sys.stderr})