Add generic TODO snippet using commentstring

This commit is contained in:
2016-04-17 13:04:34 +01:00
parent 437476694c
commit 9ff37a4055
4 changed files with 21 additions and 24 deletions

View File

@@ -155,26 +155,6 @@ int main(int argc, char **argv) {
}
endsnippet
# TODO: Should this be in all.snippets?
# 1. Take the form '<comment> TODO: issue ${1:id} $0'
snippet todo "Todo comment"
// TODO$1: $0
endsnippet
# TODO: Should this be in all.snippets?
# 1. Take the form '<comment> NOTE: issue ${1:id} $0'
snippet note "Note comment"
// NOTE$1: $0
endsnippet
snippet in "Doxygen [in]" i
[in]
endsnippet
snippet out "Doxygen [out]" i
[out]
endsnippet
snippet @param "Doxygen param tag"
@param[$1`!p snip.rv = complete(t[1], ['in', 'out'])`]
endsnippet