summaryrefslogtreecommitdiffstats
path: root/syntax/tmux.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2020-08-23 17:26:30 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2020-08-23 17:26:30 +0200
commitbc3b36088e468a50d0cc515544b8138e622c27b3 (patch)
treeb2823c472e2a2d5e7d049591881efb29df164d86 /syntax/tmux.vim
parent5d0150e326cf29936c832eb3b7ca846299f597b6 (diff)
downloadvim-polyglot-bc3b36088e468a50d0cc515544b8138e622c27b3.tar.gz
vim-polyglot-bc3b36088e468a50d0cc515544b8138e622c27b3.zip
Update
Diffstat (limited to 'syntax/tmux.vim')
-rw-r--r--syntax/tmux.vim8
1 files changed, 4 insertions, 4 deletions
diff --git a/syntax/tmux.vim b/syntax/tmux.vim
index 7993d481..d1cf1301 100644
--- a/syntax/tmux.vim
+++ b/syntax/tmux.vim
@@ -1,7 +1,7 @@
if !exists('g:polyglot_disabled') || index(g:polyglot_disabled, 'tmux') == -1
" Language: tmux(1) configuration file
-" Version: before-OpenBSD-lock (git-53c84fd4)
+" Version: 3.1b (git-769ae106)
" URL: https://github.com/ericpruitt/tmux.vim/
" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
@@ -32,10 +32,10 @@ syn match tmuxVariable /\w\+=/ display
syn match tmuxVariableExpansion /\${\=\w\+}\=/ display
syn match tmuxControl /%\(if\|elif\|else\|endif\)/
-syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo
+syn region tmuxComment start=/#/ skip=/\\\@<!\\$/ end=/$/ contains=tmuxTodo,@Spell
-syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString
-syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString
+syn region tmuxString start=+"+ skip=+\\\\\|\\"\|\\$+ excludenl end=+"+ end='$' contains=tmuxFormatString,@Spell
+syn region tmuxString start=+'+ skip=+\\\\\|\\'\|\\$+ excludenl end=+'+ end='$' contains=tmuxFormatString,@Spell
" TODO: Figure out how escaping works inside of #(...) and #{...} blocks.
syn region tmuxFormatString start=/#[#DFhHIPSTW]/ end=// contained keepend