]> git.rmz.io Git - dotfiles.git/commitdiff
vim: don't parse b flags if it also contains f
authorSamir Benmendil <samir.benmendil@gmail.com>
Sat, 18 Apr 2015 06:44:32 +0000 (07:44 +0100)
committerSamir Benmendil <samir.benmendil@gmail.com>
Sat, 18 Apr 2015 06:44:32 +0000 (07:44 +0100)
vim/ultisnips/all.snippets

index 0a637f6caefffa910243753b0e8f474788c7bf7b..1908d71cdab920c182e1a58145571ecb08c0ccff 100644 (file)
@@ -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: