aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--compat/getopt.c2
-rw-r--r--examples/tmux.vim9
2 files changed, 4 insertions, 7 deletions
diff --git a/compat/getopt.c b/compat/getopt.c
index 03ad9e80..9cd3b3d2 100644
--- a/compat/getopt.c
+++ b/compat/getopt.c
@@ -94,7 +94,7 @@ BSDgetopt(int nargc, char *const *nargv, const char *ostr)
}
else { /* need an argument */
if (*place) /* no white space */
- BSDoptarg = place;
+ BSDoptarg = (char *)place;
else if (nargc <= ++BSDoptind) { /* no arg */
place = EMSG;
if (*ostr == ':')
diff --git a/examples/tmux.vim b/examples/tmux.vim
index a6bf74e2..dcb58246 100644
--- a/examples/tmux.vim
+++ b/examples/tmux.vim
@@ -191,9 +191,7 @@ syn keyword tmuxOptsSet
\ message-command-style
\ message-limit
\ message-style
- \ mouse-resize-pane
- \ mouse-select-pane
- \ mouse-select-window
+ \ mouse
\ mouse-utf8
\ pane-active-border-style
\ pane-border-style
@@ -230,8 +228,6 @@ syn keyword tmuxOptsSetw
\ allow-rename
\ alternate-screen
\ automatic-rename
- \ c0-change-interval
- \ c0-change-trigger
\ clock-mode-colour
\ clock-mode-style
\ force-height
@@ -239,7 +235,6 @@ syn keyword tmuxOptsSetw
\ main-pane-height
\ main-pane-width
\ mode-keys
- \ mode-mouse
\ mode-style
\ monitor-activity
\ monitor-silence
@@ -249,6 +244,7 @@ syn keyword tmuxOptsSetw
\ remain-on-exit
\ synchronize-panes
\ utf8
+ \ window-active-style
\ window-status-activity-style
\ window-status-bell-style
\ window-status-current-format
@@ -257,6 +253,7 @@ syn keyword tmuxOptsSetw
\ window-status-last-style
\ window-status-separator
\ window-status-style
+ \ window-style
\ wrap-search
\ xterm-keys