Hi, all,

    I've made a 'Grub2 Menu' syntax hightlight for UEStudio/UltraEditor. it can 
hight the commands, index
`functions' and `menuentry' in grub.cfg.

    Wish this will help your editing. ;-)

see bellow:
-------------------------------------------------------------------

/L20"Grub2 Menu" Line Comment = # Escape Char = \ String Chars = "' File 
Extensions = cfg lst
/Delimiters =  [EMAIL PROTECTED]&*()-+=|\/{}[]:;"'<> ,        .?
/Indent Strings = "{"
/Unindent Strings = "}"
/Open Brace Strings =  "{" "(" "["
/Close Brace Strings = "}" ")" "]"
/Open Fold Strings = "{"
/Close Fold Strings = "}"
/Function String = "%function[ ^t]+^([a-zA-Z_0-9]+^)"
/Function String 1 = "%menuentry[ ^t]+"^(*^)""
/C1
$
&&
'
break
case continue
elif else esac exit export
fi font for
if in
insmod
menuentry
return
set
terminal
then
unalias unset
while
{
||
}
/C2 "mods name"
_bsd _chain _linux _multiboot
acorn affs afs amiga aout apple ata
biosdisk bitmap blocklist boot bsd
cat chain cmp configfile cpio cpuid
echo elf ext2
fat fshelp
gfxterm gpt gzio
halt hello help hexdump hfs hfsplus
iso9660
jfs jpeg
linux loopback ls lspci lsusb lvm
memdisk minix multiboot
normal ntfs ntfscomp
pc pci play png
raid read reboot reiserfs
search serial sfs sleep sun
terminfo test tga
udf ufs
vbe vbeinfo vbetest vga video videotest
xfs

--------------------------------------------the end ------------------
_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to