grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

grub.cfg syntax highlight for UEStudio/UltraEdit32


From: y.volta
Subject: grub.cfg syntax highlight for UEStudio/UltraEdit32
Date: Sun, 1 Jun 2008 10:58:41 +0800

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 =  address@hidden&*()-+=|\/{}[]:;"'<> ,        .?
/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 ------------------

reply via email to

[Prev in Thread] Current Thread [Next in Thread]