diff --git a/UltiSnips/d.snippets b/UltiSnips/d.snippets index d3e7003..10bb2e4 100644 --- a/UltiSnips/d.snippets +++ b/UltiSnips/d.snippets @@ -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*/}