From 774597018c422d47d33e48ff28cf28e5fa3dcced Mon Sep 17 00:00:00 2001 From: =?utf8?q?Alexis=20Laferri=C3=A8re?= Date: Wed, 4 Feb 2015 06:03:06 -0500 Subject: [PATCH] misc/vim: always use the standard library for autocompletion MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Alexis Laferrière --- misc/vim/plugin/nit.vim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 1.7.9.5