1
0
mirror of https://github.com/tmate-io/tmate-ssh-server.git synced 2020-11-18 19:53:51 -08:00

Make it detect multiple options with a single leading `-' (eg set -gw).

This commit is contained in:
Tiago Cunha 2010-02-03 00:21:48 +00:00
parent ebcc0ebd2d
commit b7758a9932

View File

@ -1,7 +1,7 @@
" Vim syntax file " Vim syntax file
" Language: tmux(1) configuration file " Language: tmux(1) configuration file
" Maintainer: Tiago Cunha <me@tiagocunha.org> " Maintainer: Tiago Cunha <me@tiagocunha.org>
" Last Change: $Date: 2010-01-08 16:34:49 $ " Last Change: $Date: 2010-02-03 00:21:48 $
" License: This file is placed in the public domain. " License: This file is placed in the public domain.
if version < 600 if version < 600
@ -75,7 +75,7 @@ syn keyword tmuxTodo FIXME NOTE TODO XXX contained
syn match tmuxKey /\(C-\|M-\|\^\)\p/ display syn match tmuxKey /\(C-\|M-\|\^\)\p/ display
syn match tmuxNumber /\d\+/ display syn match tmuxNumber /\d\+/ display
syn match tmuxOptions /\s-\a/ display syn match tmuxOptions /\s-\a\+/ display
syn match tmuxVariable /\w\+=/ display syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display syn match tmuxVariableExpansion /\${\=\w\+}\=/ display