Two (separate) patches. The first updates vim syntax for new options in
trunk. The second re-alphabetizes the session option table data again.

--Ben
>From de4721ca01405d526f7a8a90f8784cc66f3189ea Mon Sep 17 00:00:00 2001
From: Ben Boeckel <maths...@gmail.com>
Date: Mon, 6 Feb 2012 00:05:03 -0500
Subject: [PATCH 2/3] Update vim syntax highlighting

---
 trunk/examples/tmux.vim |   12 ++++++++----
 1 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/trunk/examples/tmux.vim b/trunk/examples/tmux.vim
index 2b72176..e12428a 100644
--- a/trunk/examples/tmux.vim
+++ b/trunk/examples/tmux.vim
@@ -44,10 +44,10 @@ syn keyword tmuxCmds run[-shell] lockc lock-client locks 
lock-session lsp
 syn keyword tmuxCmds list-panes pipep pipe-pane showmsgs show-messages capturep
 syn keyword tmuxCmds capture-pane joinp join-pane choose-buffer
 
-syn keyword tmuxOptsSet prefix status status-fg status-bg bell-action
+syn keyword tmuxOptsSet prefix prefix2 status status-fg status-bg bell-action
 syn keyword tmuxOptsSet default-command history-limit status-left status-right
 syn keyword tmuxOptsSet status-interval set-titles display-time buffer-limit
-syn keyword tmuxOptsSet status-left-length status-right-length
+syn keyword tmuxOptsSet status-left-length status-right-length status-position
 syn keyword tmuxOptsSet message-[command-]bg lock-after-time default-path
 syn keyword tmuxOptsSet message-[command-]attr status-attr set-remain-on-exit
 syn keyword tmuxOptsSet status-utf8 default-terminal visual-activity 
repeat-time
@@ -74,8 +74,12 @@ syn keyword tmuxOptsSetw main-pane-width main-pane-height 
monitor-content
 syn keyword tmuxOptsSetw window-status-current-attr window-status-current-bg
 syn keyword tmuxOptsSetw window-status-current-fg mode-mouse synchronize-panes
 syn keyword tmuxOptsSetw window-status-format window-status-current-format
-syn keyword tmuxOptsSetw window-status-alert-attr
-syn keyword tmuxOptsSetw window-status-alert-bg window-status-alert-fg
+syn keyword tmuxOptsSetw window-status-activity-attr
+syn keyword tmuxOptsSetw window-status-activity-bg window-status-activity-fg
+syn keyword tmuxOptsSetw window-status-bell-attr
+syn keyword tmuxOptsSetw window-status-bell-bg window-status-bell-fg
+syn keyword tmuxOptsSetw window-status-content-attr
+syn keyword tmuxOptsSetw window-status-content-bg window-status-content-fg
 syn keyword tmuxOptsSetw pane-base-index other-pane-height other-pane-width
 
 syn keyword tmuxTodo FIXME NOTE TODO XXX contained
-- 
1.7.6.5

>From 27658f4ffe985692f17dbbf9b79af42e5696f09c Mon Sep 17 00:00:00 2001
From: Ben Boeckel <maths...@gmail.com>
Date: Mon, 6 Feb 2012 00:05:53 -0500
Subject: [PATCH 3/3] Alphabetize session options

---
 trunk/options-table.c |   18 +++++++++---------
 1 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/trunk/options-table.c b/trunk/options-table.c
index d5b8d21..8f52516 100644
--- a/trunk/options-table.c
+++ b/trunk/options-table.c
@@ -583,47 +583,47 @@ const struct options_table_entry window_options_table[] = 
{
          .default_num = 0 /* overridden in main() */
        },
 
-       { .name = "window-status-bell-attr",
+       { .name = "window-status-activity-attr",
          .type = OPTIONS_TABLE_ATTRIBUTES,
          .default_num = GRID_ATTR_REVERSE
        },
 
-       { .name = "window-status-bell-bg",
+       { .name = "window-status-activity-bg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
 
-       { .name = "window-status-bell-fg",
+       { .name = "window-status-activity-fg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
 
-       { .name = "window-status-content-attr",
+       { .name = "window-status-bell-attr",
          .type = OPTIONS_TABLE_ATTRIBUTES,
          .default_num = GRID_ATTR_REVERSE
        },
 
-       { .name = "window-status-content-bg",
+       { .name = "window-status-bell-bg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
 
-       { .name = "window-status-content-fg",
+       { .name = "window-status-bell-fg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
 
-       { .name = "window-status-activity-attr",
+       { .name = "window-status-content-attr",
          .type = OPTIONS_TABLE_ATTRIBUTES,
          .default_num = GRID_ATTR_REVERSE
        },
 
-       { .name = "window-status-activity-bg",
+       { .name = "window-status-content-bg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
 
-       { .name = "window-status-activity-fg",
+       { .name = "window-status-content-fg",
          .type = OPTIONS_TABLE_COLOUR,
          .default_num = 8
        },
-- 
1.7.6.5

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to