]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ultisnips/cpp.snippets
zsh/prompt: don't try to populate git prompt if not in git repo
[dotfiles.git] / vim / ultisnips / cpp.snippets
index 3bc235f0f5a6de1bf1434df62a274b80cca624a9..5530263852979d17c32701eda3080674c3ec67c4 100644 (file)
@@ -153,3 +153,18 @@ inline std::ostream & operator<<(std::ostream &os, ${1:Type} const & rhs)
        return os;
 }
 endsnippet
+
+snippet pragma-ignore "ignore diagnostics"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-W${1}"
+${VISUAL}${0}
+#pragma GCC diagnostic pop
+endsnippet
+
+snippet FPP "FPP Copyright" b
+// Copyright © Focal Point Positioning Limited 2020. 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.
+${0}
+endsnippet