Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # This is a quick 'n' dirty made syntax highlighting file for Geany.
- # It is based on the ASM-lexer with all its limitations.
- #
- # Source:
- # https://gist.github.com/robotanarchy/dcc399645e4f36be5de7
- #
- # Installation:
- # - Save this file as ~/.config/geany/filedefs/filetypes.Grub.conf
- # - add this line to "filetype_extensions.conf" (inside Geany menu Tools
- # / Config Files):
- # Grub2=grub*.cfg;
- # - restart geany, open any grub*.cfg file
- # - PROFIT!
- [styling]
- default=default
- comment=comment_line
- commentblock=comment
- commentdirective=comment
- number=0xD997DE
- string=0xDFDFDF
- operator=operator
- identifier=identifier_1
- cpuinstruction=0x7ebbbd
- mathinstruction=keyword_2
- register=0x0080FF;;true
- directive=0xFF8080;;true
- directiveoperand=keyword_3
- character=character
- stringeol=string_eol
- extinstruction=keyword_4
- [keywords]
- instructions=gfxpayload function for done loop cdrom checkrange color commandline debug default displaymem embed errnum errorcheck fallback fstest geometry gfxmenu hiddenflag hide is64bit kernel lock md5crypt modulenounzip outline pager partnew parttype pause pxe quit root rootnoverify setkey setvbe splashimage terminal testload testvbe timeout unhide uuid vbeprobe write dd off on console hercules graphics ; генерация acpi authenticate background_color background_image badram blocklist boot cat chainloader clear cmosdump cmosclean cmostest cmp configfile cpuid crc cryptomount date devicetree distrust drivemap echo eval export false GNU Free Documentation License gettext gptsync halt hashsum help initrd initrd16 insmod keystatus linux linux16 list_env list_trusted loadfont load_env loopback ls lsfonts lsmod md5sum module multiboot nativedisk net_add_addr net_add_dns net_add_route net_bootp net_del_addr net_del_dns net_del_route net_get_dhcp_option net_ipv6_autoconf net_ls_addr net_ls_cards net_ls_dns net_ls_routes net_nslookup normal normal_exit parttool password password_pbkdf2 play probe pxe_unload rdmsr read reboot regexp rmmod save_env search sendkey serial set sha1sum sha256sum sha512sum sleep source terminal_input terminal_output terminfo test true trust unset verify_detached videoinfo wrmsr xen_hypervisor xen_module
- registers=if fi elif else then
- directives=menuentry submenu
- [settings]
- # comment_single, comment_open, comment_close get ignored?
- # default extension used when saving files
- extension=cfg
- lexer_filetype=ASM
- # lexer_filetype=C
- comment_use_indent=true
- comment_single=#
- # context action command (please see Geany's main documentation for details)
- context_action_cmd=
- [build_settings]
- # %f will be replaced by the complete filename
- # %e will be replaced by the filename without extension
- # (use only one of it at one time)
- # wine aut2exe or something here.
- compiler=
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement