aboutsummaryrefslogtreecommitdiff
path: root/indent
diff options
context:
space:
mode:
authorRyan Phillips <rphillips@gentoo.org>2005-06-07 16:33:57 +0000
committerRyan Phillips <rphillips@gentoo.org>2005-06-07 16:33:57 +0000
commitccb285aa4d0f9b71e2e9111709ae16744835bff2 (patch)
treeb694700653f3a0b17e9ab77f6c981e8612d5c811 /indent
downloadgentoo-syntax-ccb285aa4d0f9b71e2e9111709ae16744835bff2.tar.gz
gentoo-syntax-ccb285aa4d0f9b71e2e9111709ae16744835bff2.tar.bz2
gentoo-syntax-ccb285aa4d0f9b71e2e9111709ae16744835bff2.zip
initial import
svn path=/trunk/; revision=1
Diffstat (limited to 'indent')
-rw-r--r--indent/ebuild.vim24
-rw-r--r--indent/eclectic.vim23
-rw-r--r--indent/gentoo-metadata.vim23
3 files changed, 70 insertions, 0 deletions
diff --git a/indent/ebuild.vim b/indent/ebuild.vim
new file mode 100644
index 0000000..0630068
--- /dev/null
+++ b/indent/ebuild.vim
@@ -0,0 +1,24 @@
+" Vim syntax file
+" Language: Gentoo Ebuilds/Eclasses
+" Author: Ciaran McCreesh <ciaranm@gentoo.org>
+" Copyright: Copyright (c) 2004-2005 Ciaran McCreesh
+" Licence: You may redistribute this under the same terms as Vim itself
+"
+" Syntax highlighting for ebuilds and eclasses. Inherits from sh.vim and adds
+" in Gentoo-specific highlights for certain keywords and functions. Requires
+" vim 6.3 or later.
+
+if &compatible || v:version < 603
+ finish
+endif
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+
+runtime! indent/sh.vim
+let b:did_indent = 1
+
+
+" vim: set sts=2 sw=2:
diff --git a/indent/eclectic.vim b/indent/eclectic.vim
new file mode 100644
index 0000000..3816581
--- /dev/null
+++ b/indent/eclectic.vim
@@ -0,0 +1,23 @@
+" Vim syntax file
+" Language: Eclectic Modules
+" Author: Ciaran McCreesh <ciaranm@gentoo.org>
+" Copyright: Copyright (c) 2004-2005 Ciaran McCreesh
+" Licence: You may redistribute this under the same terms as Vim itself
+"
+" Syntax highlighting for Eclectic modules. Inherits from sh.vim and adds
+" in Eclectic-specific highlights for certain keywords and functions. Requires
+" vim 6.3 or later.
+
+if &compatible || v:version < 603
+ finish
+endif
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+
+runtime! indent/sh.vim
+let b:did_indent = 1
+
+" vim: sw=4 ts=4 et fdm=marker
diff --git a/indent/gentoo-metadata.vim b/indent/gentoo-metadata.vim
new file mode 100644
index 0000000..c8776b0
--- /dev/null
+++ b/indent/gentoo-metadata.vim
@@ -0,0 +1,23 @@
+" Vim syntax file
+" Language: Gentoo metadata.xml
+" Author: Ciaran McCreesh <ciaranm@gentoo.org>
+" Copyright: Copyright (c) 2004-2005 Ciaran McCreesh
+" Licence: You may redistribute this under the same terms as Vim itself
+"
+" Syntax highlighting for metadata.xml
+"
+
+if &compatible || v:version < 603
+ finish
+endif
+
+" Only load this indent file when no other was loaded.
+if exists("b:did_indent")
+ finish
+endif
+
+runtime! indent/xml.vim
+let b:did_indent = 1
+
+
+" vim: set sts=2 sw=2: