syntax propose for yum repo files

Andy Shevchenko andriy at asplinux.ru
Wed Sep 20 10:12:29 UTC 2006


The following patch for Yum repo files.
It's similar way as in vim.

--- mc/syntax/repo.syntax.repo  2006-09-20 15:34:48.000000000 +0300
+++ mc/syntax/repo.syntax       2006-09-20 15:48:54.000000000 +0300
@@ -0,0 +1,5 @@
+context default
+
+context # \n brown
+    spellcheck
+
--- mc/syntax/Syntax.repo       2005-12-13 14:12:27.000000000 +0200
+++ mc/syntax/Syntax    2006-09-20 15:36:12.000000000 +0300
@@ -118,6 +118,9 @@
  file ..\*\\.(spec|spec\.in)$ RPM\sSpecfile
  include spec.syntax

+file ..\*\\.repo$ YUM\sRepo Files
+include repo.syntax
+
  file .\*ChangeLog[\\\.A-Za-z0-9_]\*$ GNU\sChangeLog\sFile
  include changelog.syntax



-- 
With best regards,
Andy Shevchenko.      mailto: andriy at asplinux.ru





More information about the mc-devel mailing list