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

Updated plugins

This commit is contained in:
Amir Salihefendic
2019-03-08 08:04:56 -03:00
parent 1d42b63013
commit f50b2142bc
356 changed files with 6183 additions and 3837 deletions

View File

@ -24,8 +24,7 @@ snippet docs
# Unittest skip
snippet sk "skip unittests" b
@unittest.skip(${1:skip_reason})
endsnippet
@unittest.skip(${1:skip_reason})
snippet wh
while ${1:condition}:
@ -241,7 +240,7 @@ snippet addaarg
parser.add_argument("${0:arg}", "${1:long_arg}", action="${2:store_true}", default=${3:False}, help="${4:Help text}")
snippet pargs
"${VISUAL:return }"parser.parse_args()
# logging
# glog = get log
snippet glog
@ -314,14 +313,14 @@ snippet contain "methods for emulating a container type" b
def __contains__(self, item):
${7:pass}
snippet context "context manager methods" b
def __enter__(self):
${1:pass}
def __exit__(self, exc_type, exc_value, traceback):
${2:pass}
snippet attr "methods for customizing attribute access" b
def __getattr__(self, name):
${1:pass}
@ -331,7 +330,7 @@ snippet attr "methods for customizing attribute access" b
def __delattr__(self, name):
${3:pass}
snippet desc "methods implementing descriptors" b
def __get__(self, instance, owner):
${1:pass}
@ -341,7 +340,7 @@ snippet desc "methods implementing descriptors" b
def __delete__(self, instance):
${3:pass}
snippet cmp "methods implementing rich comparison"
def __eq__(self, other):
${1:pass}
@ -363,7 +362,7 @@ snippet cmp "methods implementing rich comparison"
def __cmp__(self, other):
${7:pass}
snippet repr "methods implementing string representation"
def __repr__(self):
${1:pass}
@ -373,7 +372,7 @@ snippet repr "methods implementing string representation"
def __unicode__(self):
${3:pass}
# note: reflected operands and augmented arithmeitc assignements have been
# intentionally ommited to reduce verbosity.
snippet numeric "methods for emulating a numeric type" b
@ -454,4 +453,4 @@ snippet numeric "methods for emulating a numeric type" b
def __coerce__(self, other):
${25:pass}