comparison runtime/syntax/tmux.vim @ 14006:665fe1f419b0

Update runtime files. commit https://github.com/vim/vim/commit/0b0f0992d46ef02fdfc1240744bef91d4299c1df Author: Bram Moolenaar <Bram@vim.org> Date: Tue May 22 21:41:30 2018 +0200 Update runtime files.
author Christian Brabandt <cb@256bit.org>
date Tue, 22 May 2018 21:45:06 +0200
parents d0a20101ecb2
children c002c4899529
comparison
equal deleted inserted replaced
14005:ca2dc95f2417 14006:665fe1f419b0
1 " Language: tmux(1) configuration file 1 " Language: tmux(1) configuration file
2 " Version: 2.3 (git-14dc2ac) 2 " Version: 2.7 (git-e4e060f2)
3 " URL: https://github.com/ericpruitt/tmux.vim/ 3 " URL: https://github.com/ericpruitt/tmux.vim/
4 " Maintainer: Eric Pruitt <eric.pruitt@gmail.com> 4 " Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
5 " License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause) 5 " License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
6 6
7 if exists("b:current_syntax") 7 if exists("b:current_syntax")
12 " uses line continuations. 12 " uses line continuations.
13 let s:original_cpo = &cpo 13 let s:original_cpo = &cpo
14 set cpo&vim 14 set cpo&vim
15 15
16 let b:current_syntax = "tmux" 16 let b:current_syntax = "tmux"
17 setlocal iskeyword+=- 17 syntax iskeyword @,48-57,_,192-255,-
18 syntax case match 18 syntax case match
19 19
20 syn keyword tmuxAction none any current other 20 syn keyword tmuxAction none any current other
21 syn keyword tmuxBoolean off on 21 syn keyword tmuxBoolean off on
22 22
23 syn keyword tmuxTodo FIXME NOTE TODO XXX contained 23 syn keyword tmuxTodo FIXME NOTE TODO XXX contained
24 24
25 syn match tmuxColour /\<colour[0-9]\+/ display 25 syn match tmuxColour /\<colour[0-9]\+/ display
26 syn match tmuxKey /\(C-\|M-\|\^\)\+\S\+/ display 26 syn match tmuxKey /\(C-\|M-\|\^\)\+\S\+/ display
27 syn match tmuxNumber /\d\+/ display 27 syn match tmuxNumber /\<\d\+\>/ display
28 syn match tmuxFlags /\s-\a\+/ display 28 syn match tmuxFlags /\s-\a\+/ display
29 syn match tmuxVariable /\w\+=/ display 29 syn match tmuxVariable /\w\+=/ display
30 syn match tmuxVariableExpansion /\${\=\w\+}\=/ display 30 syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
31 31
32 syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo 32 syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
60 exec "syn match tmuxColour" . s:i . " /\\<colour" . s:i . "\\>/ display" 60 exec "syn match tmuxColour" . s:i . " /\\<colour" . s:i . "\\>/ display"
61 \ " | highlight tmuxColour" . s:i . " ctermfg=" . s:i . " ctermbg=" . s:bg 61 \ " | highlight tmuxColour" . s:i . " ctermfg=" . s:i . " ctermbg=" . s:bg
62 endfor 62 endfor
63 63
64 syn keyword tmuxOptions 64 syn keyword tmuxOptions
65 \ buffer-limit command-alias default-terminal escape-time exit-unattached 65 \ buffer-limit command-alias default-terminal escape-time exit-empty
66 \ focus-events history-file message-limit set-clipboard terminal-overrides 66 \ activity-action assume-paste-time base-index bell-action default-command
67 \ assume-paste-time base-index bell-action bell-on-alert default-command
68 \ default-shell destroy-unattached detach-on-destroy 67 \ default-shell destroy-unattached detach-on-destroy
69 \ display-panes-active-colour display-panes-colour display-panes-time 68 \ display-panes-active-colour display-panes-colour display-panes-time
70 \ display-time history-limit key-table lock-after-time lock-command 69 \ display-time exit-unattached focus-events history-file history-limit
71 \ message-attr message-bg message-command-attr message-command-bg 70 \ key-table lock-after-time lock-command message-attr message-bg
72 \ message-command-fg message-command-style message-fg message-style mouse 71 \ message-command-attr message-command-bg message-command-fg
73 \ prefix prefix2 renumber-windows repeat-time set-titles set-titles-string 72 \ message-command-style message-fg message-limit message-style mouse
73 \ aggressive-resize allow-rename alternate-screen automatic-rename
74 \ automatic-rename-format clock-mode-colour clock-mode-style force-height
75 \ force-width main-pane-height main-pane-width mode-attr mode-bg mode-fg
76 \ mode-keys mode-style monitor-activity monitor-bell monitor-silence
77 \ other-pane-height other-pane-width pane-active-border-bg
78 \ pane-active-border-fg pane-active-border-style pane-base-index
79 \ pane-border-bg pane-border-fg pane-border-format pane-border-status
80 \ pane-border-style prefix prefix2 remain-on-exit renumber-windows
81 \ repeat-time set-clipboard set-titles set-titles-string silence-action
74 \ status status-attr status-bg status-fg status-interval status-justify 82 \ status status-attr status-bg status-fg status-interval status-justify
75 \ status-keys status-left status-left-attr status-left-bg status-left-fg 83 \ status-keys status-left status-left-attr status-left-bg status-left-fg
76 \ status-left-length status-left-style status-position status-right 84 \ status-left-length status-left-style status-position status-right
77 \ status-right-attr status-right-bg status-right-fg status-right-length 85 \ status-right-attr status-right-bg status-right-fg status-right-length
78 \ status-right-style status-style update-environment visual-activity 86 \ status-right-style status-style synchronize-panes terminal-overrides
79 \ visual-bell visual-silence word-separators aggressive-resize allow-rename 87 \ update-environment user-keys visual-activity visual-bell visual-silence
80 \ alternate-screen automatic-rename automatic-rename-format 88 \ window-active-style window-status-activity-attr window-status-activity-bg
81 \ clock-mode-colour clock-mode-style force-height force-width
82 \ main-pane-height main-pane-width mode-attr mode-bg mode-fg mode-keys
83 \ mode-style monitor-activity monitor-silence other-pane-height
84 \ other-pane-width pane-active-border-bg pane-active-border-fg
85 \ pane-active-border-style pane-base-index pane-border-bg pane-border-fg
86 \ pane-border-format pane-border-status pane-border-style remain-on-exit
87 \ synchronize-panes window-active-style window-style
88 \ window-status-activity-attr window-status-activity-bg
89 \ window-status-activity-fg window-status-activity-style window-status-attr 89 \ window-status-activity-fg window-status-activity-style window-status-attr
90 \ window-status-bell-attr window-status-bell-bg window-status-bell-fg 90 \ window-status-bell-attr window-status-bell-bg window-status-bell-fg
91 \ window-status-bell-style window-status-bg window-status-current-attr 91 \ window-status-bell-style window-status-bg window-status-current-attr
92 \ window-status-current-bg window-status-current-fg 92 \ window-status-current-bg window-status-current-fg
93 \ window-status-current-format window-status-current-style window-status-fg 93 \ window-status-current-format window-status-current-style window-status-fg
94 \ window-status-format window-status-last-attr window-status-last-bg 94 \ window-status-format window-status-last-attr window-status-last-bg
95 \ window-status-last-fg window-status-last-style window-status-separator 95 \ window-status-last-fg window-status-last-style window-status-separator
96 \ window-status-style wrap-search xterm-keys 96 \ window-status-style window-style word-separators wrap-search xterm-keys
97 97
98 syn keyword tmuxCommands 98 syn keyword tmuxCommands
99 \ attach-session attach bind-key bind break-pane breakp capture-pane 99 \ attach attach-session bind bind-key break-pane breakp capture-pane
100 \ capturep clear-history clearhist choose-buffer choose-client choose-tree 100 \ capturep choose-buffer choose-client choose-tree clear-history clearhist
101 \ choose-session choose-window command-prompt confirm-before confirm 101 \ clock-mode command-prompt confirm confirm-before copy-mode detach
102 \ copy-mode clock-mode detach-client detach suspend-client suspendc 102 \ detach-client display display-message display-panes displayp find-window
103 \ display-message display display-panes displayp find-window findw if-shell 103 \ findw if if-shell join-pane joinp kill-pane kill-server kill-session
104 \ if join-pane joinp move-pane movep kill-pane killp kill-server 104 \ kill-window killp has-session has killw link-window linkw list-buffers
105 \ start-server start kill-session kill-window killw unlink-window unlinkw 105 \ list-clients list-commands list-keys list-panes list-sessions list-windows
106 \ list-buffers lsb list-clients lsc list-keys lsk list-commands lscm 106 \ load-buffer loadb lock lock-client lock-server lock-session last-pane
107 \ list-panes lsp list-sessions ls list-windows lsw load-buffer loadb 107 \ lastp lockc locks last-window last ls lsb delete-buffer deleteb lsc lscm
108 \ lock-server lock lock-session locks lock-client lockc move-window movew 108 \ lsk lsp lsw move-pane move-window movep movew new new-session new-window
109 \ link-window linkw new-session new has-session has new-window neww 109 \ neww next next-layout next-window nextl paste-buffer pasteb pipe-pane
110 \ paste-buffer pasteb pipe-pane pipep refresh-client refresh rename-session 110 \ pipep prev previous-layout previous-window prevl refresh refresh-client
111 \ rename rename-window renamew resize-pane resizep respawn-pane respawnp 111 \ rename rename-session rename-window renamew resize-pane resizep
112 \ respawn-window respawnw rotate-window rotatew run-shell run save-buffer 112 \ respawn-pane respawn-window respawnp respawnw rotate-window rotatew run
113 \ saveb show-buffer showb select-layout selectl next-layout nextl 113 \ run-shell save-buffer saveb select-layout select-pane select-window
114 \ previous-layout prevl select-pane selectp last-pane lastp select-window 114 \ selectl selectp selectw send send-keys send-prefix set set-buffer
115 \ selectw next-window next previous-window prev last-window last send-keys 115 \ set-environment set-hook set-option set-window-option setb setenv setw
116 \ send send-prefix set-buffer setb delete-buffer deleteb set-environment 116 \ show show-buffer show-environment show-hooks show-messages show-options
117 \ setenv set-hook show-hooks set-option set set-window-option setw 117 \ show-window-options showb showenv showmsgs showw source source-file
118 \ show-environment showenv show-messages showmsgs show-options show 118 \ split-window splitw start start-server suspend-client suspendc swap-pane
119 \ show-window-options showw source-file source split-window splitw swap-pane 119 \ swap-window swapp swapw switch-client switchc unbind unbind-key
120 \ swapp swap-window swapw switch-client switchc unbind-key unbind wait-for 120 \ unlink-window unlinkw wait wait-for
121 \ wait
122 121
123 let &cpo = s:original_cpo 122 let &cpo = s:original_cpo
124 unlet! s:original_cpo s:bg s:i 123 unlet! s:original_cpo s:bg s:i