From 8662da179070aef4b888395a791f08c242a911ad Mon Sep 17 00:00:00 2001
From: Mathias Gumz <akira at fluxbox dot org>
Date: Sun, 23 Jan 2011 22:22:44 +0100
Subject: added 3rd/ party stuff, vim related files for now

---
 3rd/vim/syntax/fluxapps.vim |  48 ++++++++++++++++
 3rd/vim/syntax/fluxkeys.vim | 133 ++++++++++++++++++++++++++++++++++++++++++++
 3rd/vim/syntax/fluxmenu.vim |  34 +++++++++++
 3 files changed, 215 insertions(+)
 create mode 100644 3rd/vim/syntax/fluxapps.vim
 create mode 100644 3rd/vim/syntax/fluxkeys.vim
 create mode 100644 3rd/vim/syntax/fluxmenu.vim

diff --git a/3rd/vim/syntax/fluxapps.vim b/3rd/vim/syntax/fluxapps.vim
new file mode 100644
index 0000000..bdada44
--- /dev/null
+++ b/3rd/vim/syntax/fluxapps.vim
@@ -0,0 +1,48 @@
+" File Name: fluxapps.vim
+" Maintainer: M.Gumz aka ak|ra (#fluxbox on freenode) <akira at fluxbox.org>
+" Original Date: 2004-02-06
+" Last Update: 2011-01-23
+" Description: fluxbox apps-file syntax
+
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
+  finish
+endif
+
+syntax case ignore
+
+syntax keyword fbStartTag app startup transient group contained
+syntax keyword fbEndTag end contained
+
+syntax keyword fbRemember Workspace Jump Head Layer Dimensions
+syntax keyword fbRemember Position Deco Shaded Tab
+syntax keyword fbRemember FocusHidden IconHidden Hidden
+syntax keyword fbRemember Sticky Minimized Maximized Fullscreen
+syntax keyword fbRemember Close Alpha
+
+syntax keyword fbValue UPPERRIGHT UPPERLEFT LOWERRIGHT LOWERLEFT WINCENTER CENTER
+
+syntax keyword fbPropertyName Name Class Title Role Transient Maximize Minimize contained
+syntax keyword fbPropertyName Shaded Stuck FocusHidden IconHidden Urgent contained
+syntax keyword fbPropertyName Workspace WorkspaceName Head Layer contained
+
+syntax match fbRegexp /[-0-9A-Za-z_\.]\+/ contained
+syntax match fbSeparator /\>!\?=\</ contained
+syntax match fbClientPattern /(\w\{-}.\{1,2}[-0-9A-Za-z_\.]\{-})/hs=s+1,he=e-1 contained contains=fbPropertyName,fbSeparator,fbRegexp skipwhite nextgroup=fbClientPattern
+syntax match fbAppStart /\[\w\+\]/ contains=fbStartTag,fbRemember skipwhite nextgroup=fbClientPattern
+syntax match fbAppEnd /\[\w\+\]$/ contains=fbEndTag
+syntax match fbValue /{.*}/hs=s+1,he=e-1
+syntax match fbComment /[#].*$/
+
+highlight link fbStartTag Type
+highlight link fbEndTag Type
+highlight link fbRemember Macro
+highlight link fbComment Comment
+highlight link fbValue String
+highlight link fbPropertyName Number
+highlight link fbSeparator Function
+highlight link fbRegexp Constant
+highlight link fbClientPattern Error
+syntax sync fromstart
+
+let b:current_syntax = 'fluxapps'
diff --git a/3rd/vim/syntax/fluxkeys.vim b/3rd/vim/syntax/fluxkeys.vim
new file mode 100644
index 0000000..3175b56
--- /dev/null
+++ b/3rd/vim/syntax/fluxkeys.vim
@@ -0,0 +1,133 @@
+" File Name: fluxkeys.vim
+" Maintainer: Mathias Gumz <akira at fluxbox dot org>
+" Original Date: 2004-01-27
+" Changelog:
+"   * 2010-09-19 update from Segaja
+"   * 2009-11-01 update to current fluxbox syntax (thanx to Harry Bullen)
+"   * 2005-06-24
+" Description: fluxbox key syntax
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+
+" quit when a syntax file was already loaded
+if exists("b:current_syntax")
+    finish
+endif
+
+syntax case ignore
+
+" COMMANDS
+
+" Mouse Commands
+syntax keyword fbActionNames StartMoving StartResizing StartTabbing  contained
+
+" Window Commands
+syntax keyword fbActionNames Minimize MinimizeWindow Iconify  contained
+syntax keyword fbActionNames Maximize MaximizeWindow MaximizeHorizontal MaximizeVertical Fullscreen  contained
+syntax keyword fbActionNames Raise Lower RaiseLayer LowerLayer SetLayer  contained
+syntax keyword fbActionNames Close Kill KillWindow  contained
+syntax keyword fbActionNames Shade ShadeWindow ShadeOn ShadeOff  contained
+syntax keyword fbActionNames Stick StickWindow  contained
+syntax keyword fbActionNames SetDecor ToggleDecor  contained
+syntax keyword fbActionNames NextTab PrevTab Tab MoveTabRight MoveTabLeft DetachClient  contained
+syntax keyword fbActionNames ResizeTo Resize ResizeHorizontal ResizeVertical  contained
+syntax keyword fbActionNames MoveTo Move MoveRight MoveLeft MoveUp MoveDown  contained
+syntax keyword fbActionNames TakeToWorkspace SendToWorkspace  contained
+syntax keyword fbActionNames TakeToNextWorkspace TakeToPrevWorkspace SendToNextWorkspace SendToPrevWorkspace  contained
+syntax keyword fbActionNames SetAlpha  contained
+syntax keyword fbActionNames SetHead SendToNexthead SendToPrevHead  contained
+syntax keyword fbActionNames ActivateTab  contained
+
+" Workspace Commands
+syntax keyword fbActionNames AddWorkspace RemoveLastWorkspace  contained
+syntax keyword fbActionNames NextWorkspace PrevWorkspace RightWorkspace LeftWorkspace Workspace  contained
+syntax keyword fbActionNames NextWindow PrevWindow Next\Group PrevGroup GotoWindow  contained
+syntax keyword fbActionNames Activate Focus Attach FocusLeft FocusRight FocusUp FocusDown  contained
+syntax keyword fbActionNames ArrangeWindows ShowDesktop Deiconify CloseAllWindows  contained
+syntax keyword fbActionNames SetWorkspaceName SetWorkspaceNameDialog  contained
+
+" Menu Commands
+syntax keyword fbActionNames RootMenu WorkspaceMenu WindowMenu ClientMenu CustomMenu HideMenus  contained
+
+" Window Manager Commands
+syntax keyword fbActionNames Restart Quit Exit  contained
+syntax keyword fbActionNames Reconfig Reconfigure  contained
+syntax keyword fbActionNames SetStyle ReloadStyle  contained
+syntax keyword fbActionNames ExecCommand Exec Execute CommandDialog  contained
+syntax keyword fbActionNames SetEnv Export  contained
+syntax keyword fbActionNames SetResourceValue SetResourceValueDialog  contained
+
+" Special Commands
+syntax keyword fbActionNames MacroCmd Delay ToggleCmd  contained
+syntax keyword fbActionNames BindKey KeyMode  contained
+syntax keyword fbActionNames ForEach Map  contained
+syntax keyword fbActionNames If Cond  contained
+
+
+" MODIFIERS
+syntax keyword fbModifierNames Control Shift Double  contained
+syntax keyword fbModifierNames Mod1 Mod2 Mod3 Mod4 Mod5  contained
+syntax keyword fbModifierNames None  contained
+syntax keyword fbModifierNames OnDesktop OnToolbar OnTitlebar OnWindow OnWindowBorder OnLeftGrip OnRightGrip contained
+
+" reference corners
+syntax keyword fbParameterNames UpperLeft Upper UpperRight contained
+syntax keyword fbParameterNames Left Right contained
+syntax keyword fbParameterNames LowerLeft Lower LowerRight contained
+" deiconfiy
+syntax keyword fbParameterNames LastWorkspace Last All AllWorkspace OriginQuiet contained
+
+" parameter numbers
+syntax match   fbParameterNumber /\([+-]\)*\d\+/ contained
+
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" match the right parts
+syntax match   fbParameter /.*/ contained contains=fbParameterNames,fbParameterNumber
+
+" anything with an unknown ActionName is colored Error
+syntax match   fbAction /\w\+/ contained contains=fbActionNames nextgroup=fbParameter
+syntax match   fbExecAction /Exec\(ute\|Command\)*\s\+.*$/ contained contains=fbActionNames
+
+" stuff for macro and toggle magic
+syntax match   fbMTParameter /.\{-\}}/ contained contains=fbParameterNames,fbParameterNumber
+syntax match   fbMTAction /\w\+/ contained contains=fbActionNames nextgroup=fbMTParameter
+syntax region  fbMTExecAction start=/{Exec\(ute\|Command\)*\s\+/hs=s+1 end=/.\{-}}/he=e-1 contained contains=fbActionNames oneline
+
+" macro magic
+syntax region  fbMacro start=/{/ end=/.\{-}}/ contained contains=fbMTExecAction,fbMTAction oneline nextgroup=fbMacro skipwhite
+syntax match   fbMacroStart /MacroCmd\s\+/ contained contains=fbActionNames nextgroup=fbMacro
+
+" toggle magic
+syntax match   fbToggleError /.$/ contained skipwhite
+syntax match   fbToggle2 /{.\{-}}/ contained contains=fbMTExecAction,fbMTAction nextgroup=fbToggleError skipwhite
+syntax match   fbToggle1 /{.\{-}}/ contained contains=fbMTExecAction,fbMTAction nextgroup=fbToggle2 skipwhite
+syntax match   fbToggleStart /ToggleCmd\s\+/ contained contains=fbActionNames nextgroup=fbToggle1
+
+" anything but a valid modifier is colored Error
+syntax match   fbKeyStart /^\w\+/  contained contains=fbModifierNames
+
+" anything but a comment or a valid key line is colored Error
+syntax match   fbNoKeyline /.\+$/ display skipwhite
+syntax region  fbKeys start=/\w\+/ end=/.\{-}:/he=e-1 contains=fbKeyStart,fbModifierNames nextgroup=fbMacroStart,fbToggleStart,fbExecAction,fbAction oneline
+syntax match   fbComment /[#!].*$/ display 
+
+"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" coloring
+highlight link fbNoKeyline Error
+highlight link fbAction Error
+highlight link fbKeyStart Error
+highlight link fbToggleError Error
+
+highlight link fbComment Comment
+highlight link fbKeys Number
+highlight link fbExecAction String
+highlight link fbMTExecAction String
+highlight link fbActionNames Type 
+highlight link fbModifierNames Macro
+highlight link fbParameter Number
+highlight link fbParameterNames Function
+highlight link fbParameterNumber Conditional
+
+syntax sync fromstart
+
+let b:current_syntax = 'fluxkeys'
diff --git a/3rd/vim/syntax/fluxmenu.vim b/3rd/vim/syntax/fluxmenu.vim
new file mode 100644
index 0000000..2cea192
--- /dev/null
+++ b/3rd/vim/syntax/fluxmenu.vim
@@ -0,0 +1,34 @@
+" File Name: fluxbox.vim
+" Maintainer: Moshe Kaminsky <kaminsky@math.huji.ac.il>
+" Original Date: May 23, 2002
+" Last Update: September 29, 2003
+" Description: fluxbox menu syntax file
+
+" Quit when a syntax file was already loaded
+if exists("b:current_syntax")
+  finish
+endif
+
+syntax keyword fluxboxMenu submenu end begin workspaces config stylesmenu separator contained
+syntax keyword fluxboxAction exec stylesdir exit restart reconfig nop style contained
+syntax keyword fluxboxPreProc include commanddialog contained
+syntax region fluxboxType matchgroup=fbSqBrackets start=/\[/ end=/\]/ contains=fluxboxAction,fluxboxMenu,fluxboxPreProc nextgroup=fluxboxHeader skipwhite oneline
+syntax region fluxboxHeader matchgroup=fbRdBrackets start=/(/ end=/)/ contained nextgroup=fluxboxCommand skipwhite oneline
+syntax region fluxboxCommand matchgroup=fbClBrackets start=/{/ end=/}/ contained oneline contains=fluxboxParam skipwhite nextgroup=fluxboxIcon
+syntax region fluxboxIcon matchgroup=fbIcBrackets start=/</ end=/>/ contained oneline
+syntax region fluxboxFold fold start=/\[submenu\]/ start=/\[begin\]/ end=/\[end\]/ contains=TOP keepend extend transparent
+syntax match fluxboxComment /#.*$/
+syntax match fluxboxParam / [^}]*/ contained display
+
+highlight link fluxboxMenu Special
+highlight link fluxboxAction Identifier
+highlight link fluxboxHeader Type
+highlight link fluxboxCommand Statement
+highlight link fluxboxPreProc PreProc
+highlight link fluxboxComment Comment
+highlight link fluxboxParam Constant
+highlight link fluxboxIcon Number
+setlocal foldmethod=syntax
+syntax sync fromstart
+
+let b:current_syntax = 'fluxmenu'
-- 
cgit v0.11.2