diff options
Diffstat (limited to 'vimrc-common')
-rw-r--r-- | vimrc-common | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/vimrc-common b/vimrc-common index 21df101..b8900c4 100644 --- a/vimrc-common +++ b/vimrc-common | |||
@@ -141,12 +141,13 @@ set wildmode=longest:full | " do not preselect any entry and show all possib | |||
141 | 141 | ||
142 | " code completion | 142 | " code completion |
143 | " set dictionary=/usr/share/dict/cracklib-small | 143 | " set dictionary=/usr/share/dict/cracklib-small |
144 | " set complete+=k " make default completer <C-N> respect the dictionary | 144 | set complete+=d | " scan current and included files for defined name or macro |
145 | set complete+=i | " scan current and included files for completions | ||
146 | set complete+=k " make default completer <C-N> respect the dictionary | ||
145 | set complete-=u " scan current and included files | 147 | set complete-=u " scan current and included files |
146 | set complete+=i " scan current and included files | 148 | set complete+=i " scan current and included files |
147 | set complete+=d " scan current and included files for defined name or macro | 149 | set complete+=d " scan current and included files for defined name or macro |
148 | set complete+=d | " scan current and included files for defined name or macro | 150 | " set complete=d " scan current and included files for defined name or macro |
149 | set complete+=i | " scan current and included files for completions | ||
150 | set completeopt+=noinsert | " Do not insert any text for a match until the user selects one | 151 | set completeopt+=noinsert | " Do not insert any text for a match until the user selects one |
151 | set completeopt+=noselect | " Do not select a completion from the menu, let the user do that | 152 | set completeopt+=noselect | " Do not select a completion from the menu, let the user do that |
152 | set tagcase=match | " tagcase match, because we mostly use ^] to jump around and that variant respects the upper/lower case [followscs, followic, match, ignore] | 153 | set tagcase=match | " tagcase match, because we mostly use ^] to jump around and that variant respects the upper/lower case [followscs, followic, match, ignore] |