Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix cosmetic/usability bug with marking paths.
This commit addresses justinmk#76 and more specifically, this comment: justinmk#76 (comment). It likely needs some cleanup, but it basically works. A few notes: - Syntax rules for DirvishFullPath and DirvishArg must follow the other rules, otherwise they may be overriden (see :h syn-priority). - I am not sure whether \v has any effect in syntax rule, as the manual says that syntax patterns are always magic (:h syn-pattern). - map() has been replaced by a for loop: this way the code is cleaner (IMO) and the resulting syntax rules shorter. - I am not sure what the place for the condition testing for b:current_syntax is. That might need to be changed.
- Loading branch information