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:
amix
2017-03-14 16:16:07 +01:00
parent 7b7a056680
commit 395c077dcb
15 changed files with 170 additions and 67 deletions

View File

@ -56,7 +56,7 @@
#
# Feedback is welcome!
#
# Main
# Main
snippet sim
${1:public }static int Main(string[] args) {
${0}
@ -358,7 +358,7 @@ snippet enum
enum ${1} {
${0}
}
snippet enum+
public enum ${1} {
${0}
@ -378,7 +378,7 @@ snippet <p
snippet <ex
<exception cref="${1:System.Exception}">${2}</exception>
snippet <r
<returns>${1}</returns>{
<returns>${1}</returns>
snippet <s
<see cref="${1}"/>
snippet <rem
@ -398,7 +398,7 @@ snippet eq
${0:throw new NotImplementedException();}
return base.Equals(obj);
}
# exception
# exception
snippet exc
public class ${1:MyException} : ${2:Exception} {
public $1() { }
@ -409,13 +409,13 @@ snippet exc
System.Runtime.Serialization.StreamingContext context)
: base(info, context) { }
}
# indexer
# indexer
snippet index
public ${1:object} this[${2:int} index] {
get { ${0} }
set { ${0} }
}
# eventhandler
# eventhandler
snippet inv
EventHandler temp = ${1:MyEvent};
if (${2:temp} != null) {
@ -442,7 +442,7 @@ snippet propf
}
snippet propg
public ${1:int} ${2:MyProperty} { get; private set; }
# switch
# switch
snippet switch
switch (${1:switch_on}) {
${0}