Home » Questions » Computers [ Ask a new question ]

vim's autocomplete: how to prevent vim to read some include files?

vim's autocomplete: how to prevent vim to read some include files?

Vim has handy Ctrl-N key that autocompletes word under the cursor with word in current file or any included file. If Once I include boost library, this feature becomes absolutely useless because it takes dozens of seconds to read whole boost includes and I really do not want to complete anything which is defined in boost anyway. So how can I tell vim to ignore /usr/include/boost directory when looking for include files? Oh how I can set 'include' option to ignore any #include <boost/.*> ?

Asked by: Guest | Views: 71
Total answers/comments: 0