fishman/ctags — pull request #125 by blueyed (2014-11-15 10:26:41+00:00)
Title: Fix vim modelines handling

Improve determineVimFileType: do not require "set", search backwards

- "set " or "se " is not required with the (newer) modelines
- prefer later entries in case of multiple settings, by using a new `strrstr` function

Please review especially the `strrstr` function, which is derived from the `strstr` function.