mirror of
https://github.com/amix/vimrc
synced 2025-06-16 01:25:00 +08:00
Updated plugins
This commit is contained in:
@ -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}
|
||||
|
Reference in New Issue
Block a user