mirror of https://github.com/tmux/tmux.git
Fix keyword matching.
Per the documentation in *:syn-keyword* (in particular *E789*), the optional characters inside the square brackets can only be used in the end. Therefore, unfold some keywords which were being wrongly recognised. Noticed by Bruce Wolk.pull/1/head
parent
fb83914bd7
commit
f4472c16b2
|
@ -41,7 +41,7 @@ syn keyword tmuxCmds
|
||||||
\ choose-buffer clearhist clear-history deleteb delete-buffer lsb
|
\ choose-buffer clearhist clear-history deleteb delete-buffer lsb
|
||||||
\ list-buffers loadb load-buffer pasteb paste-buffer saveb save-buffer
|
\ list-buffers loadb load-buffer pasteb paste-buffer saveb save-buffer
|
||||||
\ setb set-buffer showb show-buffer
|
\ setb set-buffer showb show-buffer
|
||||||
\ clock-mode if[-shell] lock[-server] run[-shell] [server-]info
|
\ clock-mode if[-shell] lock[-server] run[-shell] server-info info
|
||||||
\ choose-list
|
\ choose-list
|
||||||
|
|
||||||
syn keyword tmuxOptsSet
|
syn keyword tmuxOptsSet
|
||||||
|
@ -49,11 +49,14 @@ syn keyword tmuxOptsSet
|
||||||
\ set-clipboard
|
\ set-clipboard
|
||||||
\ base-index bell-action bell-on-alert default-command default-path
|
\ base-index bell-action bell-on-alert default-command default-path
|
||||||
\ default-shell default-terminal destroy-unattached detach-on-destroy
|
\ default-shell default-terminal destroy-unattached detach-on-destroy
|
||||||
\ display-panes-[active-]colour display-[panes-]time history-limit
|
\ display-panes-active-colour display-panes-colour display-panes-time
|
||||||
\ lock-after-time lock-command lock-server message-[command-]attr
|
\ display-time history-limit
|
||||||
\ message-[command-]bg message-[command-]fg message-limit
|
\ lock-after-time lock-command lock-server
|
||||||
|
\ message-command-attr message-attr message-command-bg message-bg
|
||||||
|
\ message-command-fg message-fg message-limit
|
||||||
\ mouse-resize-pane mouse-select-pane mouse-select-window mouse-utf8
|
\ mouse-resize-pane mouse-select-pane mouse-select-window mouse-utf8
|
||||||
\ pane-[active-]border-bg pane-[active-]border-fg prefix prefix2
|
\ pane-active-border-bg pane-border-bg pane-active-border-fg
|
||||||
|
\ pane-border-fg prefix prefix2
|
||||||
\ renumber-windows repeat-time set-remain-on-exit set-titles
|
\ renumber-windows repeat-time set-remain-on-exit set-titles
|
||||||
\ set-titles-string status status-attr status-bg status-fg
|
\ set-titles-string status status-attr status-bg status-fg
|
||||||
\ status-interval status-justify status-keys status-left
|
\ status-interval status-justify status-keys status-left
|
||||||
|
@ -75,8 +78,9 @@ syn keyword tmuxOptsSetw
|
||||||
\ window-status-content-bg window-status-content-fg
|
\ window-status-content-bg window-status-content-fg
|
||||||
\ window-status-activity-attr window-status-activity-bg
|
\ window-status-activity-attr window-status-activity-bg
|
||||||
\ window-status-activity-fg window-status-attr
|
\ window-status-activity-fg window-status-attr
|
||||||
\ window-status-[current-]attr window-status-[current-]bg
|
\ window-status-current-attr window-status-attr window-status-current-bg
|
||||||
\ window-status-[current-]fg window-status-[current-]format
|
\ window-status-bg window-status-current-fg window-status-fg
|
||||||
|
\ window-status-current-format window-status-format
|
||||||
\ window-status-separator xterm-keys wrap-search
|
\ window-status-separator xterm-keys wrap-search
|
||||||
|
|
||||||
syn keyword tmuxTodo FIXME NOTE TODO XXX contained
|
syn keyword tmuxTodo FIXME NOTE TODO XXX contained
|
||||||
|
|
Loading…
Reference in New Issue