Advertisement
AZJIO

filetypes.Grub2.conf

Feb 20th, 2021 (edited)
1,332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # This is a quick 'n' dirty made syntax highlighting file for Geany.
  2. # It is based on the ASM-lexer with all its limitations.
  3. #
  4. # Source:
  5. #   https://gist.github.com/robotanarchy/dcc399645e4f36be5de7
  6. #
  7. # Installation:
  8. # - Save this file as ~/.config/geany/filedefs/filetypes.Grub.conf
  9. # - add this line to "filetype_extensions.conf" (inside Geany menu Tools
  10. #   / Config Files):
  11. #       Grub2=grub*.cfg;
  12. # - restart geany, open any grub*.cfg file
  13. # - PROFIT!
  14.  
  15. [styling]
  16. default=default
  17. comment=comment_line
  18. commentblock=comment
  19. commentdirective=comment
  20. number=0xD997DE
  21. string=0xDFDFDF
  22. operator=operator
  23. identifier=identifier_1
  24. cpuinstruction=0x7ebbbd
  25. mathinstruction=keyword_2
  26. register=0x0080FF;;true
  27. directive=0xFF8080;;true
  28. directiveoperand=keyword_3
  29. character=character
  30. stringeol=string_eol
  31. extinstruction=keyword_4
  32.  
  33. [keywords]
  34. 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
  35. registers=if fi elif else then
  36. directives=menuentry submenu
  37.  
  38.  
  39. [settings]
  40. # comment_single, comment_open, comment_close get ignored?
  41. # default extension used when saving files
  42. extension=cfg
  43. lexer_filetype=ASM
  44. # lexer_filetype=C
  45. comment_use_indent=true
  46. comment_single=#
  47.  
  48. # context action command (please see Geany's main documentation for details)
  49. context_action_cmd=
  50.  
  51. [build_settings]
  52. # %f will be replaced by the complete filename
  53. # %e will be replaced by the filename without extension
  54. # (use only one of it at one time)
  55.  
  56. # wine aut2exe or something here.
  57. compiler=
  58.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement