From: Alexis Laferrière Date: Wed, 4 Feb 2015 11:03:06 +0000 (-0500) Subject: misc/vim: always use the standard library for autocompletion X-Git-Tag: v0.7.2~24^2~3 X-Git-Url: http://nitlanguage.org misc/vim: always use the standard library for autocompletion Signed-off-by: Alexis Laferrière --- diff --git a/misc/vim/plugin/nit.vim b/misc/vim/plugin/nit.vim index d5921e0..ea308a5 100644 --- a/misc/vim/plugin/nit.vim +++ b/misc/vim/plugin/nit.vim @@ -52,8 +52,8 @@ function NitComplete() " prediction and some also require double-enter on end of line. let g:acp_behaviorKeywordIgnores = ['new', 'var', 'in', 'do', 'els', 'end', 'ret', 'for', 'fun'] - " Use nitls to compute all interesting files from the current directory - for file in split(system('nitls -M', '\n')) + " Use nitls to compute all interesting files from the current directory and the standard library + for file in split(system('nitls -M standard .', '\n')) silent let &complete = &complete . ',s' . file silent set complete? endfor