From ddd0c12d752dffbbf7fd0a93a9c60ceb985f5b09 Mon Sep 17 00:00:00 2001 From: Andy Shevchenko Date: Sun, 30 Aug 2009 17:14:54 +0300 Subject: [PATCH] Add yum repo syntax highlight file Signed-off-by: Andy Shevchenko Signed-off-by: Slava Zanko --- syntax/Syntax | 3 +++ syntax/repo.syntax | 9 +++++++++ 2 files changed, 12 insertions(+) create mode 100644 syntax/repo.syntax diff --git a/syntax/Syntax b/syntax/Syntax index f45d320f4..66a08de45 100644 --- a/syntax/Syntax +++ b/syntax/Syntax @@ -130,6 +130,9 @@ include sql.syntax file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile include spec.syntax +file ..\*\\.repo$ YUM\sRepo File +include repo.syntax + file ..\*\\.(awk)$ AWK\sFile include awk.syntax diff --git a/syntax/repo.syntax b/syntax/repo.syntax new file mode 100644 index 000000000..004e7c704 --- /dev/null +++ b/syntax/repo.syntax @@ -0,0 +1,9 @@ +# Yum repo syntax highlighting +# +# Author: Andy Shevchenko + +context default + +context # \n brown + spellcheck +