]> git.rmz.io Git - dotfiles.git/blobdiff - vim/ultisnips/c.snippets
qutebrowser: also cycle through accept all cookies
[dotfiles.git] / vim / ultisnips / c.snippets
index 62d2509e34e348758bbca4b1ec6b01dbf8a8f33b..62824bc71de65c20148ff32eb8c586f0ecad5739 100644 (file)
@@ -28,7 +28,15 @@ if (${1:/* condition */}) {
 endsnippet
 
 snippet clangformat "Disable clang-format"
-// clang-format: off
+// clang-format off
 ${VISUAL}${0}
-// clang-format: on
+// clang-format on
+endsnippet
+
+snippet nolintnl "Disable clang-tiny diagnostic on next line" b
+//NOLINTNEXTLINE(${0})
+endsnippet
+
+snippet nolint "Disable clang-tiny diagnostic"
+NOLINT(${0})
 endsnippet