nitlanguage
/
nit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
d609d9b
)
misc/vim: fix omnifunc order of results found in the long doc
author
Alexis Laferrière
<alexis.laf@xymus.net>
Sat, 11 Apr 2015 14:11:00 +0000
(10:11 -0400)
committer
Alexis 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
patch
|
blob
|
history
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