nitlanguage
/
nit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
misc/vim: fix omnifunc order of results found in the long doc
[nit.git]
/
misc
/
vim
/
plugin
/
nit.vim
diff --git
a/misc/vim/plugin/nit.vim
b/misc/vim/plugin/nit.vim
index
3cef764
..
073ef8b
100644
(file)
--- a/
misc/vim/plugin/nit.vim
+++ b/
misc/vim/plugin/nit.vim
@@
-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)
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
endif
endfor