aboutsummaryrefslogtreecommitdiff
path: root/support/vim/syntax
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2008-02-13 00:20:34 +0000
committerMike Buland <eichlan@xagasoft.com>2008-02-13 00:20:34 +0000
commitc9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6 (patch)
tree9eb0ed622835b0e59cc156a08de9313a2c71d0a9 /support/vim/syntax
parent5093edfb74b24c5782591af0d85134c295c6b0e6 (diff)
downloadlibbu++-c9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6.tar.gz
libbu++-c9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6.tar.bz2
libbu++-c9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6.tar.xz
libbu++-c9925dd2bc26ad9b7f1395a8c1ddfb2786276ae6.zip
Added the support tree and the new taf vim hilighter.
Diffstat (limited to 'support/vim/syntax')
-rw-r--r--support/vim/syntax/taf.vim36
1 files changed, 36 insertions, 0 deletions
diff --git a/support/vim/syntax/taf.vim b/support/vim/syntax/taf.vim
new file mode 100644
index 0000000..70e57dc
--- /dev/null
+++ b/support/vim/syntax/taf.vim
@@ -0,0 +1,36 @@
1" Vim syntax file
2" Language: Nango
3" Maintainer: None :)
4" Last Change: 2006 Aug 24
5
6" For version 5.x: Clear all syntax items
7" For version 6.x: Quit when a syntax file was already loaded
8if version < 600
9 syntax clear
10elseif exists("b:current_syntax")
11 finish
12endif
13
14
15sy region Group matchgroup=Operator start=+{+ end=+}+ contains=NamePair,Value,Group,Title,Comment,Operator
16sy region Title matchgroup=Operator start=+{+ end=+:+ keepend
17sy region Title matchgroup=Operator start=+{[ \t]*"+ skip=+\\"+ end=+"[ \t]*:+ keepend
18
19sy region Value start=+"+ skip=+\\"+ end=+"+
20sy match Value +[^{}:=" \t\r\n]\++
21sy match Name +[^{}:=" \t\r\n]\+[ \t\r\n]*=+ contains=Operator
22
23sy match Operator '}'
24sy match Operator '='
25
26sy region Comment start=+//+ end=+$+
27sy region Comment start=+/\*+ end=+\*/+
28" sy region NamePair matchgroup=Name start=+[^{}:=" \t\r\n]\+[ \t\r\n]*=+ matchgroup=Value end=+[^{}:=" \t\r\n]\++
29" sy region NamePair matchgroup=Name start=+[^{}:=" \t\r\n]\+[ \t\r\n]*=+ matchgroup=Value end=+[^{}:=" \t\r\n]\++
30
31
32hi def link NamePair Normal
33hi def link Name Identifier
34hi def link Value Constant
35hi def link Group Statement
36