Bug fixes for D snippets.

This commit is contained in:
Holger Rapp 2012-11-02 12:20:50 +01:00
commit 890e1b6bd5

View File

@ -265,11 +265,11 @@ this(${1:/*args*/})
}
endsnippet
snippet get "getter property (get)"
snippet get "getter property (get)" !
@property ${1:/*type*/} ${2:/*member_name*/}() const pure nothrow {return ${3:$2_};}
endsnippet
snippet set "setter property (set)"
snippet set "setter property (set)" !
@property void ${1:/*member_name*/}(${2:/*type*/} rhs) pure nothrow {${3:$1_} = rhs;}
endsnippet
@ -428,7 +428,7 @@ endsnippet
# Unittests
snippet unittest b
snippet unittest "unittest (unittest)" b
unittest
{
${1:/*code*/}