ZyX_I avatar ZyX_I committed aa4519f

@/fwc: Fixed completion when {message} is present before second check

Comments (0)

Files changed (3)


         if a:type is# 'complete'
+            if comptype is# 'msg'
+                continue
+            endif
             if addedcompletion
                 if !addedcycle
                     let addedcycle=1


 ::: Section <Different sections/{prefixes}+{next}>
 ::: Section <Different sections/{optional}+{next}>
 ::: Section <Different sections/{optional}+{prefixes}>
+::: Section <Messages>
 <<< messages


   allfolds noallfolds
 # vim: cms=#%s fmr=▶,▲ sw=2 ts=2 sts=2 et ft=conf
+#▶1 Messages
+:let s:_messages={'test': 'Test message'}
+`(in list #test match /^a/)
+  @+
+  =filter(copy(s:list), 'v:val[0] is "a"')
+`(#test in list match /^a/)
+  @+
+  =filter(copy(s:list), 'v:val[0] is "a"')
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.