vim syntax highlighting missing some f'ns
Posted: 17 May 2015, 18:54
Hi, all.
I've noticed that the AHK syntax-highlighting definition file that's bundled with the current version of vim fails to highlight a number of commands. The problem appears to be that although the following lines are in the "syn keyword autohotkeyPreProc" section, they aren't in the "syn keyword autohotkeyCommand" section. The exception is the "KeyHistory" item, which is in both sections and which does highlight correctly.
\ HotkeyInterval HotKeyModifierTimeout
\ Hotstring
\ IfWinActive IfWinNotActive IfWinExist IfWinNotExist
\ MaxHotkeysPerInterval MaxThreads MaxThreadsBuffer MaxThreadsPerHotkey
\ UseHook InstallKeybdHook InstallMouseHook
\ KeyHistory
\ NoTrayIcon SingleInstance
\ WinActivateForce
\ AllowSameLineComments
\ ClipboardTimeout
\ CommentFlag
\ ErrorStdOut
\ EscapeChar
\ MaxMem
\ NoEnv
\ Persistent
I've noticed that the AHK syntax-highlighting definition file that's bundled with the current version of vim fails to highlight a number of commands. The problem appears to be that although the following lines are in the "syn keyword autohotkeyPreProc" section, they aren't in the "syn keyword autohotkeyCommand" section. The exception is the "KeyHistory" item, which is in both sections and which does highlight correctly.
\ HotkeyInterval HotKeyModifierTimeout
\ Hotstring
\ IfWinActive IfWinNotActive IfWinExist IfWinNotExist
\ MaxHotkeysPerInterval MaxThreads MaxThreadsBuffer MaxThreadsPerHotkey
\ UseHook InstallKeybdHook InstallMouseHook
\ KeyHistory
\ NoTrayIcon SingleInstance
\ WinActivateForce
\ AllowSameLineComments
\ ClipboardTimeout
\ CommentFlag
\ ErrorStdOut
\ EscapeChar
\ MaxMem
\ NoEnv
\ Persistent