Re: [PATCH]: define keyword to substitute colors in syntax files
- From: Pavel Roskin <proski gnu org>
- To: "Andrew V. Samoilov" <sav bcs zp ua>
- Cc: mc-devel gnome org
- Subject: Re: [PATCH]: define keyword to substitute colors in syntax files
- Date: Tue, 25 Feb 2003 10:15:20 -0500 (EST)
Hello!
> this patch allows new "define" keyword in builtin editor syntax files.
> Now only colors can be substituted, but it can be improved on request.
Thank you! I'm applying it.
What would really be nice is:
1) Define both foreground and background:
define comment brown black
context default
keyword /\* comment
2) Make it possible to put defines in a separate file:
Syntax:
include defines.syntax
file ..\*\\.sh$ Shell\sScript ^#!\s\*/.\*/([a-z]?|ba|pdk)sh
include sh.syntax
defines.syntax:
define comment brown black
sh.syntax:
context # \n comment
--
Regards,
Pavel Roskin
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]