Wiki

Clone wiki

TagHighlight / NoRecurse

Example with Recursion Turned Off

Use Case

User has source code all in one directory but has a lot of subdirectories that would take a long time to scan. The user therefore wishes to disable recursive scanning. User project uses Qt4, so the user would like the classes etc from Qt4 (e.g. QString) to be highlighted.

Implementation

Make sure that you have installed the standard libraries (see :help TagHighlight-install-stdlib). The Qt4 library will be loaded automatically. Create a file called taghl_config.txt in the source directory. In that file, add the following line (with no leading whitespace).

Recurse:False

No other configuration should be necessary; just run:

:UpdateTypesFile

Updated