Can you find or filter out Vim completion?

I am using Vim 8.0 with Python3 and myint / ClangComplete for C / C ++ terminations. SDL_<tab> offers each function and type from SDL. Is there a way to restrict sentences to SDL_EventType types, functions that return SDL_Windows, etc.? BidiComplete seems like a good place to start, since SDL_<tab>EVENT will match SDL_WINDOWEVENT and SDL_FIRSTEVENT , but not SDL_FINGERDOWN , etc. Ideally, I would like to be able to filter any / all fields in the ClangComplete popup menu, as I might be interested in "functions that take SDL_Window * as an argument or return one." The filtering / searching mechanism can be just a regular expression throughout the text of each line in PUM.

+8
c ++ vim regex code-completion clang-complete
source share
1 answer

As I mentioned in my comment, it looks like you are requesting a fuzzy termination that is already requested (see github.com/Rip-Rip/clang_complete/issues/388). You can use the toobig modification to get what you want.

0
source share

All Articles