Ticket #1573: [PATCH] Add yum repo syntax highlight file.eml

File [PATCH] Add yum repo syntax highlight file.eml, 2.8 KB (added by slavazanko, 15 years ago)
Line 
1Delivered-To: slavazanko@gmail.com
2Received: by 10.103.170.9 with SMTP id x9cs102904muo;
3        Tue, 1 Sep 2009 11:00:39 -0700 (PDT)
4Received: by 10.223.2.205 with SMTP id 13mr3028313fak.83.1251828038597;
5        Tue, 01 Sep 2009 11:00:38 -0700 (PDT)
6Return-Path: <andy@dhcppc74>
7Received: from suomicom.fi (mail.suomicom.fi [217.119.36.25])
8        by mx.google.com with ESMTP id 10si9393094fxm.37.2009.09.01.11.00.38;
9        Tue, 01 Sep 2009 11:00:38 -0700 (PDT)
10Received-SPF: neutral (google.com: 217.119.36.25 is neither permitted nor denied by best guess record for domain of andy@dhcppc74) client-ip=217.119.36.25;
11Authentication-Results: mx.google.com; spf=neutral (google.com: 217.119.36.25 is neither permitted nor denied by best guess record for domain of andy@dhcppc74) smtp.mail=andy@dhcppc74
12Received: from exim by suomicom.fi with spam-scanned (Exim 4.69)
13        (envelope-from <andy@dhcppc74>)
14        id 1MiXe6-00068U-AL
15        for slavazanko@gmail.com; Tue, 01 Sep 2009 21:00:29 +0300
16X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.suomicom.fi
17X-Spam-Level:
18X-Spam-Status: No, score=0.3 required=5.5 tests=ALL_TRUSTED,AWL,TVD_RCVD_IP
19        autolearn=disabled version=3.2.5
20Received: from 79-134-110-209.cust.suomicom.fi ([79.134.110.209] helo=dhcppc74)
21        by suomicom.fi with esmtps (TLSv1:AES256-SHA:256)
22        (Exim 4.69)
23        (envelope-from <andy@dhcppc74>)
24        id 1MiXe6-00068N-5P; Tue, 01 Sep 2009 20:59:54 +0300
25Received: from dhcppc74 (localhost.localdomain [127.0.0.1])
26        by dhcppc74 (8.14.3/8.14.3) with ESMTP id n81HwnR5015076;
27        Tue, 1 Sep 2009 20:59:31 +0300
28Received: (from andy@localhost)
29        by dhcppc74 (8.14.3/8.14.3/Submit) id n7UEFsGt021647;
30        Sun, 30 Aug 2009 17:15:54 +0300
31From: Andy Shevchenko <andy.shevchenko@gmail.com>
32To: slavazanko@gmail.com
33Cc: Andy Shevchenko <andy.shevchenko@gmail.com>
34Subject: [PATCH] Add yum repo syntax highlight file
35Date: Sun, 30 Aug 2009 17:14:54 +0300
36Message-Id: <1251641694-21566-1-git-send-email-andy.shevchenko@gmail.com>
37X-Mailer: git-send-email 1.6.0.6
38
39Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
40---
41 syntax/Syntax      |    3 +++
42 syntax/repo.syntax |    9 +++++++++
43 2 files changed, 12 insertions(+), 0 deletions(-)
44 create mode 100644 syntax/repo.syntax
45
46diff --git a/syntax/Syntax b/syntax/Syntax
47index 7452bbf..b784061 100644
48--- a/syntax/Syntax
49+++ b/syntax/Syntax
50@@ -130,6 +130,9 @@ include sql.syntax
51 file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
52 include spec.syntax
53 
54+file ..\*\\.repo$ YUM\sRepo File
55+include repo.syntax
56+
57 file ..\*\\.(awk)$ AWK\sFile
58 include awk.syntax
59 
60diff --git a/syntax/repo.syntax b/syntax/repo.syntax
61new file mode 100644
62index 0000000..004e7c7
63--- /dev/null
64+++ b/syntax/repo.syntax
65@@ -0,0 +1,9 @@
66+# Yum repo syntax highlighting
67+#
68+# Author: Andy Shevchenko <andy.shevchenko@gmail.com>
69+
70+context default
71+
72+context # \n brown
73+       spellcheck
74+
75--
761.6.0.6
77