X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/d6af24826c9ef92b5538ddffca9c3d46eaf193ea..2bc5cc531c50d87c208965cdc80c0f42df56ecb1:/vim/ultisnips/c.snippets diff --git a/vim/ultisnips/c.snippets b/vim/ultisnips/c.snippets index 864d0ca..62824bc 100644 --- a/vim/ultisnips/c.snippets +++ b/vim/ultisnips/c.snippets @@ -26,3 +26,17 @@ if (${1:/* condition */}) { ${3:/* else */} } endsnippet + +snippet clangformat "Disable clang-format" +// clang-format off +${VISUAL}${0} +// 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