X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/8a59694b2a521359c2e1762fd633b36469a4ffb6..bc6ba3dd699468f913a587d69e020755ef606341:/vim/ultisnips/cpp.snippets diff --git a/vim/ultisnips/cpp.snippets b/vim/ultisnips/cpp.snippets index 5530263..4213966 100644 --- a/vim/ultisnips/cpp.snippets +++ b/vim/ultisnips/cpp.snippets @@ -4,6 +4,8 @@ priority 1 # disable horrible one word snippets clearsnippets pri pro pub fr mu t +clearsnippets set + snippet inc "#include <>" b #include <${1:iostream}> endsnippet @@ -46,7 +48,8 @@ ${4:void} ${1:`!p snip.rv = snip.basename or "name"`}::${2:memberFunction}(${3}) } endsnippet -snippet for "for loop (for)" +clearsnippets for +snippet fori "for loop (for)" b for (${4:size_t} ${2:i} = 0; $2 < ${1:count}; ${3:++$2}) { ${VISUAL}${0} @@ -162,7 +165,7 @@ ${VISUAL}${0} endsnippet snippet FPP "FPP Copyright" b -// Copyright © Focal Point Positioning Limited 2020. All Rights Reserved. +// Copyright © Focal Point Positioning Limited `!v strftime("%Y")`. All Rights Reserved. // This code is the copyright of Focal Point Positioning Limited and // cannot be used, copied or distributed without the express written // permission of Focal Point Positioning Limited.