Ticket #160: syntax-ebuild.001.diff

File syntax-ebuild.001.diff, 4.5 KB (added by anonymous, 16 years ago)

Added by email2trac

  • ChangeLog

    diff --git a/ChangeLog b/ChangeLog
    index 291791f..3bd970d 100644
    a b  
     1 
     22008-01-10  Enrico Weigelt, metux ITS <weigelt@metux.de> 
     3 
     4        * syntax: added ebuild Syntax defition (taken from rhclub-tree) 
     5 
    162008-12-18  Roland Illig  <roland.illig@gmx.de> 
    27 
    38        * doc/mcedit.1: Documented the newly added filename:lineno 
  • syntax/Makefile.am

    diff --git a/syntax/Makefile.am b/syntax/Makefile.am
    index 98f8571..0ab8275 100644
    a b SYNTAXFILES = \ 
    1414        d.syntax                \ 
    1515        diff.syntax             \ 
    1616        dos.syntax              \ 
     17        ebuild.syntax           \ 
    1718        eiffel.syntax           \ 
    1819        fortran.syntax          \ 
    1920        html.syntax             \ 
  • syntax/Syntax

    diff --git a/syntax/Syntax b/syntax/Syntax
    index 58e54fc..cb1a89d 100644
    a b include assembler.syntax 
    139139file ..\*\\.([Pp][Oo][Vv])$ POV\sScript 
    140140include povray.syntax 
    141141 
     142file .\*\\.(ebuild|eclass)$ Gentoo\sEbuild 
     143include ebuild.syntax 
     144 
    142145file ..\*\\.([lL][uU][aA])$ LUA\sProgram ^#!.*/lua 
    143146include lua.syntax 
    144147 
  • new file syntax/ebuild.syntax

    diff --git a/syntax/ebuild.syntax b/syntax/ebuild.syntax
    new file mode 100644
    index 0000000..abaa457
    - +  
     1context default 
     2    keyword linestart DEPEND brightcyan 
     3    keyword linestart DESCRIPTION brightcyan 
     4    keyword linestart EAPI brightcyan 
     5    keyword linestart HOMEPAGE brightcyan 
     6    keyword linestart IUSE brightcyan 
     7    keyword linestart KEYWORDS brightcyan 
     8    keyword linestart LICENSE brightcyan 
     9    keyword linestart PDEPEND brightcyan 
     10    keyword linestart PROVIDE brightcyan 
     11    keyword linestart RDEPEND brightcyan 
     12    keyword linestart RESTRICT brightcyan 
     13    keyword linestart S brightcyan 
     14    keyword linestart SLOT brightcyan 
     15    keyword linestart SRC_URI brightcyan 
     16    keyword linestart WANT_AUTOCONF brightcyan 
     17    keyword linestart WANT_AUTOMAKE brightcyan 
     18 
     19    keyword whole _elibtoolize yellow 
     20    keyword whole check_KV yellow 
     21    keyword whole best_version yellow 
     22    keyword whole built_with_use yellow 
     23    keyword whole die yellow 
     24    keyword whole diropts yellow 
     25    keyword whole dobin yellow 
     26    keyword whole docinto yellow 
     27    keyword whole doconfd yellow 
     28    keyword whole dodir yellow 
     29    keyword whole dodoc yellow 
     30    keyword whole doenvd yellow 
     31    keyword whole doexe yellow 
     32    keyword whole dohard yellow 
     33    keyword whole dohtml yellow 
     34    keyword whole doicon yellow 
     35    keyword whole doinfo yellow 
     36    keyword whole doinitd yellow 
     37    keyword whole doins yellow 
     38    keyword whole dolib yellow 
     39    keyword whole dolib.a yellow 
     40    keyword whole dolib.so yellow 
     41    keyword whole doman yellow 
     42    keyword whole domenu yellow 
     43    keyword whole dosbin yellow 
     44    keyword whole dosed yellow 
     45    keyword whole dosym yellow 
     46    keyword whole eautoconf yellow 
     47    keyword whole eautoreconf yellow 
     48    keyword whole eautomake yellow 
     49    keyword whole ebegin yellow 
     50    keyword whole econf yellow 
     51    keyword whole eend yellow 
     52    keyword whole eerror yellow 
     53    keyword whole einfo yellow 
     54    keyword whole einstall yellow 
     55    keyword whole elibtoolize yellow     
     56    keyword whole elog yellow 
     57    keyword whole emake yellow 
     58    keyword whole epatch yellow 
     59    keyword whole ewarn yellow 
     60    keyword whole exeinto yellow 
     61    keyword whole exeopts yellow 
     62    keyword whole fowners yellow 
     63    keyword whole fperms yellow 
     64    keyword whole has yellow 
     65    keyword whole hasq yellow 
     66    keyword whole has_version yellow 
     67    keyword whole insinto yellow 
     68    keyword whole insopts yellow 
     69    keyword whole into yellow 
     70    keyword whole keepdir yellow 
     71    keyword whole libopts yellow 
     72    keyword whole local yellow 
     73    keyword whole newbin yellow 
     74    keyword whole newconfd yellow 
     75    keyword whole newdoc yellow 
     76    keyword whole newexe yellow 
     77    keyword whole newins yellow 
     78    keyword whole newman yellow 
     79    keyword whole newsbin yellow 
     80    keyword whole newinitd yellow 
     81    keyword whole prepall yellow 
     82    keyword whole prepalldocs yellow 
     83    keyword whole prepallinfo yellow 
     84    keyword whole prepallman yellow 
     85    keyword whole unpack yellow 
     86    keyword whole use yellow 
     87    keyword whole use_enable yellow 
     88    keyword whole use_with yellow 
     89 
     90    keyword = yellow 
     91    keyword : yellow 
     92    keyword ${+} brightgreen 
     93 
     94    keyword linestart abcdefghijklmnopqrstuvwxyz_\(\) brightmagenta 
     95 
     96    keyword *() brightcyan 
     97 
     98    keyword { magenta 
     99    keyword } magenta 
     100 
     101context linestart inherit \n magenta 
     102    keyword whole inherit yellow 
     103 
     104context # \n red 
     105 
     106context " " green 
     107    keyword wholeright ${+} brightgreen