I noticed that many keywords with optional components are not being properly syntax highlighted in Vim. For example, in tmux.vim, the keyword window-status-[current-]bg is specified. The intent is that the word current- be optional. But Vim does not seem to recognize any part of the keyword after the bracketed part.
For example, in a .tmux.conf file, the keywords window-status-bg and window-status-current-bg are not recognized as key words. But window-status-current- is erroneously highlighted as a key word. Also the keyword specified as [server-]info in tmux.vim causes only the keyword server- to be recognized. The only keywords with optional components being recognized are those with the optional component at the end. Is there something I am missing here? Bruce ------------------------------------------------------------------------------ LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users