Mercurial > vim
comparison runtime/syntax/tmux.vim @ 18750:82a28df1e2d5
Update runtime files.
Commit: https://github.com/vim/vim/commit/91359014b359cf816bf943fe2c7d492996263def
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Nov 30 17:57:03 2019 +0100
Update runtime files.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 30 Nov 2019 18:00:05 +0100 |
parents | c002c4899529 |
children | 11b656e74444 |
comparison
equal
deleted
inserted
replaced
18749:8217e179eb58 | 18750:82a28df1e2d5 |
---|---|
1 " Language: tmux(1) configuration file | 1 " Language: tmux(1) configuration file |
2 " Version: 2.9a (git-0d64531f) | 2 " Version: 3.0 (git-48cbbb87) |
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") |
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 syn match tmuxControl /%\(if\|elif\|else\|endif\)/ | |
31 | 32 |
32 syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo | 33 syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo |
33 | 34 |
34 syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString | 35 syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString |
35 syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString | 36 syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString |
41 | 42 |
42 hi def link tmuxFormatString Identifier | 43 hi def link tmuxFormatString Identifier |
43 hi def link tmuxAction Boolean | 44 hi def link tmuxAction Boolean |
44 hi def link tmuxBoolean Boolean | 45 hi def link tmuxBoolean Boolean |
45 hi def link tmuxCommands Keyword | 46 hi def link tmuxCommands Keyword |
47 hi def link tmuxControl Keyword | |
46 hi def link tmuxComment Comment | 48 hi def link tmuxComment Comment |
47 hi def link tmuxKey Special | 49 hi def link tmuxKey Special |
48 hi def link tmuxNumber Number | 50 hi def link tmuxNumber Number |
49 hi def link tmuxFlags Identifier | 51 hi def link tmuxFlags Identifier |
50 hi def link tmuxOptions Function | 52 hi def link tmuxOptions Function |
60 exec "syn match tmuxColour" . s:i . " /\\<colour" . s:i . "\\>/ display" | 62 exec "syn match tmuxColour" . s:i . " /\\<colour" . s:i . "\\>/ display" |
61 \ " | highlight tmuxColour" . s:i . " ctermfg=" . s:i . " ctermbg=" . s:bg | 63 \ " | highlight tmuxColour" . s:i . " ctermfg=" . s:i . " ctermbg=" . s:bg |
62 endfor | 64 endfor |
63 | 65 |
64 syn keyword tmuxOptions | 66 syn keyword tmuxOptions |
65 \ buffer-limit command-alias default-terminal escape-time exit-empty | 67 \ backspace buffer-limit command-alias default-terminal escape-time |
66 \ activity-action assume-paste-time base-index bell-action default-command | 68 \ exit-empty activity-action assume-paste-time base-index bell-action |
67 \ default-shell default-size destroy-unattached detach-on-destroy | 69 \ default-command default-shell default-size destroy-unattached |
68 \ display-panes-active-colour display-panes-colour display-panes-time | 70 \ detach-on-destroy display-panes-active-colour display-panes-colour |
69 \ display-time exit-unattached focus-events history-file history-limit | 71 \ display-panes-time display-time exit-unattached focus-events history-file |
70 \ key-table lock-after-time lock-command message-command-style message-limit | 72 \ history-limit key-table lock-after-time lock-command message-command-style |
71 \ message-style mouse aggressive-resize allow-rename alternate-screen | 73 \ message-limit message-style aggressive-resize allow-rename |
72 \ automatic-rename automatic-rename-format clock-mode-colour | 74 \ alternate-screen automatic-rename automatic-rename-format |
73 \ clock-mode-style main-pane-height main-pane-width mode-keys mode-style | 75 \ clock-mode-colour clock-mode-style main-pane-height main-pane-width |
74 \ monitor-activity monitor-bell monitor-silence other-pane-height | 76 \ mode-keys mode-style monitor-activity monitor-bell monitor-silence mouse |
75 \ other-pane-width pane-active-border-style pane-base-index | 77 \ other-pane-height other-pane-width pane-active-border-style |
76 \ pane-border-format pane-border-status pane-border-style prefix prefix2 | 78 \ pane-base-index pane-border-format pane-border-status pane-border-style |
77 \ remain-on-exit renumber-windows repeat-time set-clipboard set-titles | 79 \ prefix prefix2 remain-on-exit renumber-windows repeat-time set-clipboard |
78 \ set-titles-string silence-action status status-bg status-fg status-format | 80 \ set-titles set-titles-string silence-action status status-bg status-fg |
79 \ status-interval status-justify status-keys status-left status-left-length | 81 \ status-format status-interval status-justify status-keys status-left |
80 \ status-left-style status-position status-right status-right-length | 82 \ status-left-length status-left-style status-position status-right |
81 \ status-right-style status-style synchronize-panes terminal-overrides | 83 \ status-right-length status-right-style status-style synchronize-panes |
82 \ update-environment user-keys visual-activity visual-bell visual-silence | 84 \ terminal-overrides update-environment user-keys visual-activity |
83 \ window-active-style window-size window-status-activity-style | 85 \ visual-bell visual-silence window-active-style window-size |
84 \ window-status-bell-style window-status-current-format | 86 \ window-status-activity-style window-status-bell-style |
85 \ window-status-current-style window-status-format window-status-last-style | 87 \ window-status-current-format window-status-current-style |
86 \ window-status-separator window-status-style window-style word-separators | 88 \ window-status-format window-status-last-style window-status-separator |
87 \ wrap-search xterm-keys | 89 \ window-status-style window-style word-separators wrap-search xterm-keys |
88 | 90 |
89 syn keyword tmuxCommands | 91 syn keyword tmuxCommands |
90 \ attach attach-session bind bind-key break-pane breakp capture-pane | 92 \ attach attach-session bind bind-key break-pane breakp capture-pane |
91 \ capturep choose-buffer choose-client choose-tree clear-history clearhist | 93 \ capturep choose-buffer choose-client choose-tree clear-history clearhist |
92 \ clock-mode command-prompt confirm confirm-before copy-mode detach | 94 \ clock-mode command-prompt confirm confirm-before copy-mode detach |