misc/vim: fix omnifunc order of results found in the long doc
authorAlexis Laferrière <alexis.laf@xymus.net>
Sat, 11 Apr 2015 14:11:00 +0000 (10:11 -0400)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sat, 11 Apr 2015 14:22:20 +0000 (10:22 -0400)
Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

misc/vim/plugin/nit.vim

index 3cef764..073ef8b 100644 (file)
@@ -146,7 +146,7 @@ fun NitOmnifuncAddFromFile(base, matches, path)
                        call s:NitOmnifuncAddAMatch(synopsis_matches, words, name)
                elseif get(words, 3, '') =~? a:base
                        " Match in the longer doc
-                       call s:NitOmnifuncAddAMatch(synopsis_matches, words, name)
+                       call s:NitOmnifuncAddAMatch(doc_matches, words, name)
                endif
        endfor