Example with Recursion Turned Off
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.
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).
No other configuration should be necessary; just run: