X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b863fd7bc83dfe237652020fd884490ed57e30ee..b3aedb2bc3eb7b255e91858ad46c5e187a07fee0:/vim/ultisnips/all.snippets?ds=sidebyside diff --git a/vim/ultisnips/all.snippets b/vim/ultisnips/all.snippets index 0a637f6..7b779f6 100644 --- a/vim/ultisnips/all.snippets +++ b/vim/ultisnips/all.snippets @@ -32,7 +32,7 @@ def _parse_comments(s): ctriple.append(indent) rv.append(ctriple) - elif 'b' in flags: + elif 'b' in flags and 'f' not in flags: if len(text) == 1: rv.insert(0, (text,text,text, "")) except StopIteration: @@ -168,7 +168,7 @@ snippet AGPL3 "AGPL3 License" b ${0} endsnippet -snippet GMGPL linking exception "GMGPL linking exception License" b +snippet GMGPL "GMGPL linking exception License" b `!p snip.rv = b` `!p snip.rv = i + m` As a special exception, if other files instantiate generics from `!p snip.rv = i + m` this unit, or you link this unit with other files to produce an