pi-umbra 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -4
- package/node_modules/@shikijs/cli/dist/cli.d.mts +13 -6
- package/node_modules/@shikijs/cli/dist/cli.mjs +32 -27
- package/node_modules/@shikijs/cli/dist/{code-to-ansi-BNrZay-4.mjs → code-to-ansi-Dmm_CuZ9.mjs} +15 -7
- package/node_modules/@shikijs/cli/dist/index.d.mts +24 -3
- package/node_modules/@shikijs/cli/dist/index.mjs +1 -1
- package/node_modules/@shikijs/cli/package.json +3 -3
- package/node_modules/@shikijs/core/dist/index.d.mts +28 -28
- package/node_modules/@shikijs/core/dist/index.mjs +15 -12
- package/node_modules/@shikijs/core/package.json +4 -4
- package/node_modules/@shikijs/engine-javascript/dist/{engine-compile-Bdn9ihA2.d.mts → engine-compile-CtqiSkRk.d.mts} +5 -0
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.d.mts +1 -1
- package/node_modules/@shikijs/engine-javascript/dist/engine-compile.mjs +2 -4
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.d.mts +2 -3
- package/node_modules/@shikijs/engine-javascript/dist/engine-raw.mjs +2 -4
- package/node_modules/@shikijs/engine-javascript/dist/index.d.mts +1 -1
- package/node_modules/@shikijs/engine-javascript/dist/index.mjs +1 -1
- package/node_modules/@shikijs/engine-javascript/dist/string-TLTPtCPs.mjs +115 -0
- package/node_modules/@shikijs/engine-javascript/package.json +3 -3
- package/node_modules/@shikijs/engine-oniguruma/package.json +3 -3
- package/node_modules/@shikijs/langs/dist/ada.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/ahk.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/beancount.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/coq.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/csharp.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/css.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/dart.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/dotenv.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/emacs-lisp.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/gn.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/handlebars.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/julia.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/latex.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/luau.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/marko.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/moonbit.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/nextflow-groovy.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/nextflow.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/nushell.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/php.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/powershell.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/ruby.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/rust.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/sql.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/svelte.mjs +1 -1
- package/node_modules/@shikijs/langs/dist/twig.mjs +3 -3
- package/node_modules/@shikijs/langs/dist/typespec.mjs +1 -1
- package/node_modules/@shikijs/langs/package.json +3 -3
- package/node_modules/@shikijs/primitive/dist/index.d.mts +31 -32
- package/node_modules/@shikijs/primitive/dist/index.mjs +2 -1
- package/node_modules/@shikijs/primitive/package.json +3 -3
- package/node_modules/@shikijs/themes/dist/monokai.mjs +1 -1
- package/node_modules/@shikijs/themes/dist/one-dark-pro.mjs +1 -1
- package/node_modules/@shikijs/themes/dist/red.mjs +1 -1
- package/node_modules/@shikijs/themes/dist/solarized-dark.mjs +1 -1
- package/node_modules/@shikijs/themes/dist/solarized-light.mjs +1 -1
- package/node_modules/@shikijs/themes/package.json +3 -3
- package/node_modules/@shikijs/types/dist/index.d.mts +76 -76
- package/node_modules/@shikijs/types/package.json +1 -1
- package/node_modules/pi-umbra-copy-chat/README.md +4 -7
- package/node_modules/pi-umbra-copy-chat/extensions/umbra-copy-chat.ts +16 -54
- package/node_modules/pi-umbra-copy-chat/package.json +1 -1
- package/node_modules/pi-umbra-help/checks/umbra-help.check.ts +10 -1
- package/node_modules/pi-umbra-help/extensions/umbra-help.ts +31 -0
- package/node_modules/pi-umbra-help/package.json +1 -1
- package/node_modules/pi-umbra-inputbar/README.md +1 -1
- package/node_modules/pi-umbra-inputbar/extensions/umbra-inputbar.ts +1 -1
- package/node_modules/pi-umbra-inputbar/package.json +2 -2
- package/node_modules/pi-umbra-shimmer/package.json +1 -1
- package/node_modules/pi-umbra-shimmer/patch.mjs +23 -21
- package/node_modules/pi-umbra-skill-matcher/package.json +1 -1
- package/node_modules/pi-umbra-skill-matcher/patch.mjs +7 -0
- package/node_modules/pi-umbra-subagents/README.md +24 -6
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/bar/bar-line.ts +250 -102
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/bar.check.ts +133 -66
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/bar.ts +59 -27
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/fan/index.ts +53 -8
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/fan/spec.ts +24 -14
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/fan/store.check.ts +132 -5
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/fan/store.ts +156 -64
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/fan/worktree.ts +156 -0
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/panel.ts +1 -1
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/skills/delegate/state.ts +19 -0
- package/node_modules/pi-umbra-subagents/extensions/umbra-subagents/skills/fan/SKILL.md +25 -4
- package/node_modules/pi-umbra-subagents/package.json +2 -2
- package/node_modules/pi-umbra-theme/checks/umbra-background.check.ts +7 -1
- package/node_modules/pi-umbra-theme/extensions/umbra-background.ts +2 -1
- package/node_modules/pi-umbra-theme/package.json +3 -3
- package/node_modules/shiki/dist/bundle-full.d.mts +4 -4
- package/node_modules/shiki/dist/bundle-web.d.mts +9 -9
- package/node_modules/shiki/dist/types.d.mts +3 -3
- package/node_modules/shiki/package.json +10 -10
- package/package.json +9 -12
- package/node_modules/@shikijs/engine-javascript/dist/scanner-DX8LRFGE.mjs +0 -77
- package/node_modules/pi-umbra-rename/LICENSE +0 -21
- package/node_modules/pi-umbra-rename/README.md +0 -18
- package/node_modules/pi-umbra-rename/checks/umbra-rename.check.ts +0 -55
- package/node_modules/pi-umbra-rename/extensions/umbra-rename.ts +0 -22
- package/node_modules/pi-umbra-rename/package.json +0 -36
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"AutoHotkey\",\"fileTypes\":[\"ahk\"],\"name\":\"ahk\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"include\":\"#script-block\"},{\"include\":\"#function\"},{\"include\":\"#function-call\"},{\"include\":\"#keyword\"},{\"include\":\"#punctuation\"},{\"include\":\"#text\"}],\"repository\":{\"comment\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"punctuation.definition.comment.ahk\"}},\"example\":\";comment\",\"match\":\"(^\\\\s*|\\\\s+)(;).*\",\"name\":\"comment.line.semicolon.ahk\"},{\"begin\":\"^\\\\s*/\\\\*\",\"end\":\"^\\\\s*\\\\*/\",\"example\":\"/* comment */\",\"name\":\"comment.block.slashstar.ahk\"}]},\"function\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.function.ahk\"},\"2\":{\"name\":\"punctuation.bracket.parenthesis.ahk\"},\"3\":{\"patterns\":[{\"include\":\"#text\"}]},\"4\":{\"name\":\"punctuation.bracket.parenthesis.ahk\"},\"5\":{\"name\":\"punctuation.bracket.curly.ahk\"},\"6\":{\"name\":\"comment.line.semicolon.functionline.ahk\"}},\"example\":\"fun(){\",\"match\":\"(?i:^(\\\\s*\\\\w+)(?<!if|while)(\\\\()(.*)(\\\\))\\\\s*(\\\\{)(\\\\s+;.*)?$)\",\"name\":\"functionline.ahk\"}]},\"function-call\":{\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"$self\"}]},\"2\":{\"name\":\"comment.line.semicolon.if.ahk\"}},\"example\":\"#if [expression]\",\"match\":\"#\\\\b(?i:if)\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.if.ahk\"},{\"captures\":{\"1\":{\"name\":\"string.parameter.import.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.import.ahk\"}},\"example\":\"#include\",\"match\":\"#\\\\b(?i:include(?:|again))\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.import.ahk\"},{\"captures\":{\"1\":{\"name\":\"string.parameter.directives.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.directive.ahk\"}},\"example\":\"#persistent\",\"match\":\"#\\\\b(?i:allowsamelinecomments|clipboardtimeout|commentflag|delimiter|derefchar|errorstdout|escapechar|hotkeyinterval|hotkeymodifiertimeout|hotstring|iftimeout|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|inputlevel|installkeybdhook|installmousehook|keyhistory|ltrim|maxhotkeysperinterval|maxmem|maxthreads|maxthreadsbuffer|maxthreadsperhotkey|menumaskkey|noenv|notrayicon|persistent|requires|singleinstance|usehook|warn|winactivateforce)\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.directives.ahk\"},{\"example\":\"winkill\",\"match\":\"\\\\b(?i:autotrim|blockinput|click|clipwait|control|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|coordmode|detecthiddentext|detecthiddenwindows|drive|driveget|drivespacefree|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopy|filecopydir|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemove|filemovedir|fileread|filereadline|filerecycle|filerecycleempty|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|gosub|goto|groupactivate|groupadd|groupclose|groupdeactivate|gui|guicontrol|guicontrolget|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|input|inputbox|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclick|mouseclickdrag|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|send|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundget|soundgetwavevolume|soundplay|soundset|soundsetwavevolume|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivate|winactivatebottom|winclose|winget|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winhide|winkill|winmaximize|winmenuselectitem|winminimize|winminimizeall|winminimizeallundo|winmove|winrestore|winset|winsettitle|winshow|winwait|winwaitactive|winwaitclose|winwaitnotactive)\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\".length\",\"match\":\"\\\\b(?!MsgBox)(?<=\\\\.)(?i:length|ateof|encoding|__handle|name|isbuiltin|isvariadic|minparams|maxparams|position|pos)(?![(.\\\\[])\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\"A_ScriptDir\",\"match\":\"\\\\b(?!MsgBox)(?i:a_ahkpath|a_args|a_listlines|a_sendmode|a_sendlevel|a_storecapslockmode|a_coordmodetooltip|a_coordmodepixel|a_coordmodemouse|a_coordmodecaret|a_coordmodemenu|a_timeidlekeyboard|a_timeidlemouse|a_defaultgui|a_defaultlistview|a_defaulttreeview|a_comspec|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_clipboard|a_computername|a_controldelay|a_cursor|a_ddd??|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_initialworkingdir|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelayplay|a_keydelay|a_keydurationplay|a_keyduration|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfilepath|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mmm??|a_mmmm|a_mon|a_mousedelayplay|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles|true|false)\\\\b\",\"name\":\"constant.language.ahk\"}]},\"keyword\":{\"patterns\":[{\"example\":\"this\",\"match\":\"\\\\b(?!MsgBox)(?i:this)\\\\b\",\"name\":\"support.class.ahk\"},{\"example\":\"LButton\",\"match\":\"\\\\b(?!MsgBox)(?i:new|__New|__Delete|__Set|__Get|__Call|shift|lshift|rshift|alt|lalt|ralt|control|lcontrol|rcontrol|ctrl|lctrl|rctrl|lwin|rwin|appskey|altdown|altup|shiftdown|shiftup|ctrldown|ctrlup|lwindown|lwinup|rwindown|rwinup|lbutton|rbutton|mbutton|wheelup|wheelleft|wheelright|wheeldown|xbutton1|xbutton2|joy1|joy2|joy3|joy4|joy5|joy6|joy7|joy8|joy9|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy30|joy31|joy32|joyx|joyy|joyz|joyr|joyu|joyv|joypov|joyname|joybuttons|joyaxes|joyinfo|space|tab|enter|escape|esc|backspace|bs|delete|del|insert|ins|pgup|pgdn|home|end|up|down|left|right|printscreen|ctrlbreak|pause|scrolllock|capslock|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadmult|numpadadd|numpadsub|numpaddiv|numpaddot|numpaddel|numpadins|numpadclear|numpadup|numpaddown|numpadleft|numpadright|numpadhome|numpadend|numpadpgup|numpadpgdn|numpadenter|f1|f2|f3|f4|f5|f6|f7|f8|f9|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f20|f21|f22|f23|f24|browser_back|browser_forward|browser_refresh|browser_stop|browser_search|browser_favorites|browser_home|volume_mute|volume_down|volume_up|media_next|media_prev|media_stop|media_play_pause|launch_mail|launch_media|launch_app1|launch_app2|vk\\\\d+|sc\\\\d+)\\\\b(?!\\\\s*\\\\()\\\\b\",\"name\":\"keyword.keys.ahk\"},{\"example\":\"text\",\"match\":\"\\\\b(?!MsgBox)(?<!\\\\.)(?i:ahk_id|ahk_exe|ahk_pid|ahk_class|ahk_group|not|or|and|static|global|local|byref|error|single|GuiEscape|GuiClose|GuiSize|GuiContextMenu|GuiDropFiles|buttons|lines|blind|raw|all|base)(?![(.\\\\[])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=::\\\\s*)(AltTab|ShiftAltTab|AltTabMenu|AltTabAndMenu|AltTabMenuDismiss)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(AutoTrim|DetectHiddenText|DetectHiddenWindows|ListLines|SetStoreCapsLockMode)\\\\b\\\\s*,?\\\\s*)(O(?:n|ff))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bBlockInput\\\\b\\\\s*,?\\\\s*)(On|Off|Send|Mouse|SendAndMouse|Default|MouseMove|MouseMoveOff)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControl\\\\b\\\\s*,?\\\\s*)(Check|Uncheck|Enable|Disable|Show|Hide|Style|ExStyle|ShowDropDown|HideDropDown|TabLeft|TabRight|Add|Delete|Choose|ChooseString|EditPaste)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControlClick\\\\b\\\\s*,?[^,]*,[^,]+,[^,]*,\\\\s*)(L|Left|R|Right|M|Middle|X1|XButton1|X2|XButton2|WheelUp|WU|WheelDown|WD|WheelLeft|WL|WheelRight|WR)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControlClick\\\\b\\\\s*,?[^,]*,[^,]+,[^,]*,[^,]*,[^,]*,[^,]*)(NA|[DU]|Pos)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bCoordMode\\\\b\\\\s*,?\\\\s*)(ToolTip|Pixel|Mouse|Caret|Menu)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bCoordMode\\\\b\\\\s*,?[^,]+,\\\\s*)(Screen|Relative|Window|Client)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDrive\\\\b\\\\s*,?\\\\s*)(Label|Lock|Unlock|Eject)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDriveGet\\\\b\\\\s*,?[^,]+,\\\\s*)(List|Capacity|FS|FileSystem|Label|Serial|Type|Status|StatusCD)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDriveGet\\\\b\\\\s*,?[^,]+,\\\\s*List\\\\s*,\\\\s*)(CDROM|REMOVABLE|FIXED|NETWORK|RAMDISK|UNKNOWN)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Env(?:Add|Sub))\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)(Seconds|Minutes|Hours|Days|[DHMS])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=([-+])=[^,]+,\\\\s*)(Seconds|Minutes|Hours|Days|[DHMS])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFileEncoding\\\\b\\\\s*,?\\\\s*)(UTF-8|UTF-8-RAW|UTF-16|UTF-16-RAW|CP\\\\d{3,5})\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFor\\\\s+(\\\\w+|%\\\\w+%)\\\\s*(,\\\\s*(\\\\w+|%\\\\w+%))?\\\\s+)(in)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFormatTime\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(Time|ShortDate|LongDate|YearMonth|YDay0??|WDay|YWeek)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGetKeyState\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)([PT])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(New|Add|Show|Submit|Cancel|Hide|Destroy|Font|Color|Margin|Menu|Minimize|Maximize|Restore|Flash|Default|ListView)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*)(Text|Edit|UpDown|Picture|Pic|Button|Checkbox|Radio|DropDownList|DDL|ComboBox|ListBox|ListView|TreeView|Link|Hotkey|DateTime|MonthCal|Slider|Progress|GroupBox|Tab2??|Tab3|StatusBar|ActiveX|Custom)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Show\\\\s*,[^,]*)(Center|xCenter|yCenter|AutoSize|Minimize|Maximize|Restore|NoActivate|NA|Hide)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Submit\\\\s*,\\\\s*)NoHide\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Font\\\\s*,[^,]*)(Bold|Italic|Strike|Underline|Norm|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Color\\\\s*,\\\\s*)(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Flash\\\\s*,\\\\s*)Off\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*(((\\\\w+|%\\\\w+%):\\\\s*)?New\\\\s*,)?[^,]*)(AlwaysOnTop|Border|Caption|Delimiter|Disabled|DPIScale|Hwnd|Label|LastFound|LastFoundExist|MaximizeBox|MinimizeBox|MinSize|MaxSize|OwnDialogs|Owner|Parent|Resize|SysMenu|Theme|ToolWindow)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(\\\\w+|%\\\\w+%)\\\\s*,[^,]*)(wp|hp|xp|yp|xm|ym|xs|ys)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(\\\\w+|%\\\\w+%)\\\\s*,[^,]*)(AltSubmit|Choose|Disabled|Hidden|Left|Right|Center|Section|Tabstop|Wrap|VScroll|HScroll|Controls|BackgroundTrans|Background|Border|HwndOutputVar|Theme|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Edit\\\\s*,[^,]*)(Limit|Lowercase|Multi|Number|Password|ReadOnly|Uppercase|WantCtrlA|WantReturn|WantTab|Wrap)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*UpDown\\\\s*,[^,]*)(Horz|Left|Range|Wrap|16|0x80)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(Pic(?:ture|))\\\\s*,[^,]*)(Icon\\\\d+)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Button\\\\s*,[^,]*)(Default)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*CheckBox\\\\s*,[^,]*)(Check(?:3|ed|edGray))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Radio\\\\s*,[^,]*)(Group|Checked)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(D(?:ropDownList|DL))\\\\s*,[^,]*)(Choose|Uppercase|Lowercase|Sort)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ComboBox\\\\s*,[^,]*)(Limit|Simple)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ListBox\\\\s*,[^,]*)(Choose|Multi|ReadOnly|Sort|0x100)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*DateTime\\\\s*,[^,]*,[^,]*)(LongDate|Time|Choose|ChooseNone|Range|Right)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*MonthCal\\\\s*,[^,]*)(Multi|Range|Colors|[48]|16)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Slider\\\\s*,[^,]*)(Buddy1|Buddy2|Center|Invert|Left|Line|NoTicks|Page|Range|Thick|TickInterval|ToolTip|Vertical)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Progress\\\\s*,[^,]*)(Background|Range|Smooth|Vertical|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua)|Background(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(Tab[23]??)\\\\s*,[^,]*)(Choose|Background|Buttons|Left|Right|Bottom|Wrap)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ListView\\\\s*,[^,]*)(AltSubmit|Background|Checked|Count|Grid|Hdr|LV|LV0x10|LV0x20|Multi|NoSortHdr|NoSort|ReadOnly|Sort|SortDesc|WantF2|Icon|Tile|IconSmall|List|Report|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*TreeView\\\\s*,[^,]*)(AltSubmit|Background|Buttons|Checked|HScroll|ImageList|Lines|ReadOnly|WantF2|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(Text|Move|MoveDraw|Focus|Disable|Enable|Hide|Show|Delete|Choose|ChooseString|Font|Options)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?[^,]*([-+]))(g|Redraw|AltSubmit|Choose|Disabled|Hidden|Left|Right|Center|Section|Tabstop|Wrap|VScroll|HScroll|Controls|BackgroundTrans|Background|Border|HwndOutputVar|Theme)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?[^,]*([-+]))(Limit|Lowercase|Multi|Number|Password|ReadOnly|Uppercase|WantCtrlA|WantReturn|WantTab|Wrap|Horz|Left|Range|Wrap|16|0x80|Icon|Default|Check3|Checked|CheckedGray|Group|Checked|Choose|Uppercase|Lowercase|Sort|Limit|Simple|Choose|Multi|ReadOnly|Sort|0x100|LongDate|Time|Choose|ChooseNone|Range|Right|Multi|Range|Colors|[48]|16|Buddy1|Buddy2|Center|Invert|Left|Line|NoTicks|Page|Range|Thick|TickInterval|ToolTip|Vertical|Background|Range|Smooth|Vertical|Choose|Background|Buttons|Left|Right|Bottom|Wrap|AltSubmit|Background|Checked|Count|Grid|Hdr|LV|LV0x10|LV0x20|Multi|NoSortHdr|NoSort|ReadOnly|Sort|SortDesc|WantF2|Icon|Tile|IconSmall|List|Report|AltSubmit|Background|Buttons|Checked|HScroll|ImageList|Lines|ReadOnly|WantF2)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControlGet\\\\b\\\\s*,?[^,]+,\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(Pos|FocusV??|Enabled|Visible|Hwnd|Name)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIf\\\\s+(\\\\w+|%\\\\w+%)\\\\s+)(is\\\\s+(not\\\\s+)?(Integer|Float|Number|Digit|Xdigit|Alpha|Upper|Lower|Alnum|Space|Time|Date))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIf\\\\s+(\\\\w+|%\\\\w+%)\\\\s+(not\\\\s+)?)(between|contains|in)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIfMsgBox\\\\s*,?\\\\s*)(Yes|No|OK|Cancel|Abort|Ignore|Retry|Continue|TryAgain|Timeout)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bInputBox\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,\\\\s*)(HIDE)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*)(Files|Parse|Read|Reg)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Files\\\\s*,[^,]+,\\\\s*)(DF?R?|DR?F?|FD?R?|FR?D?|RD?F?|RF?D?)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Parse\\\\s*,[^,]+,\\\\s*)(CSV)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Reg\\\\s*,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Reg\\\\s*,[^,]+,\\\\s*)(KV?R?|KR?V?|VK?R?|VR?K?|RK?V?|RV?K?)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMenu\\\\b\\\\s*,?\\\\s*)Tray\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMenu\\\\b\\\\b\\\\s*,?[^,]+,\\\\s*)(Add|Insert|Delete|DeleteAll|Rename|Check|Uncheck|ToggleCheck|Enable|Disable|ToggleEnable|Default|NoDefault|Standard|NoStandard|Icon|NoIcon|Tip|Show|Color|Click|MainWindow|NoMainWindow|UseErrorLevel)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMouseClick(Drag)?\\\\b\\\\s*,?\\\\s*)(L|Left|R|Right|M|Middle|X1|X2)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bPixelGetColor\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,[^,]*)(Alt|Slow|RGB)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bPixelSearch\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]*)(Fast|RGB)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProcess\\\\b\\\\s*,?\\\\s*)(Exist|Close|List|Priority|Wait|WaitClose)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProcess\\\\b\\\\s*,?\\\\s*Priority\\\\s*,[^,]+,\\\\s*)(L|Low|B|BelowNormal|N|Normal|A|AboveNormal|H|High|R|Realtime)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Progress|SplashImage)\\\\b\\\\s*,?\\\\s*)(Off|Show)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProgress\\\\b\\\\s*,?[^,]*)(A|([BM])([12])?|T|Hide|(C[BTW])(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegDelete\\\\b\\\\s*,?\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegDelete\\\\b\\\\s*,?[^,]+,\\\\s*)(AHK_DEFAULT)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegRead\\\\b\\\\s*,?[^,]+,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegWrite\\\\b\\\\s*,?\\\\s*)(REG_(?:SZ|EXPAND_SZ|MULTI_SZ|DWORD|BINARY))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegWrite\\\\b\\\\s*,?[^,]+,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Run(?:|Wait))\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(Max|Min|Hide|UseErrorLevel)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSendMode\\\\b\\\\s*,?\\\\s*)(Event|Input|InputThenPlay|Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Set(?:Caps|Num|Scroll)LockState)\\\\b\\\\s*,?\\\\s*)(On|Off|AlwaysOn|AlwaysOff)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetFormat\\\\b\\\\s*,?\\\\s*)((?:Integer|Float)(?:|Fast))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetFormat\\\\b\\\\s*,?\\\\s*(Integer(?:|Fast))\\\\s*,\\\\s*)([DH]|HEX)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetMouseDelay\\\\b\\\\s*,?[^,]+,\\\\s*)(Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetKeyDelay\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)(Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetRegView\\\\b\\\\s*,?\\\\s*)(32|64|Default)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetTimer\\\\b\\\\s*,?[^,]*,\\\\s*)(On|Off|Delete)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetTitleMatchMode\\\\b\\\\s*,?\\\\s*)(RegEx|Fast|Slow)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSoundSet\\\\b\\\\s*,?[^,]+,\\\\s*)(MASTER|SPEAKERS|DIGITAL|LINE|MICROPHONE|SYNTH|CD|TELEPHONE|PCSPEAKER|WAVE|AUX|ANALOG|HEADPHONES|N/A)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSoundSet\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(VOLUME|VOL|ONOFF|MUTE|MONO|LOUDNESS|STEREOENH|BASSBOOST|PAN|QSOUNDPAN|BASS|TREBLE|EQUALIZER)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSplashImage\\\\b\\\\s*,?[^,]+,[^,]*)(A|([BM])([12])?|T|Hide|(C[BTW])(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bStringCaseSense\\\\b\\\\s*,?\\\\s*)(On|Off|Locale)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSysGet\\\\b\\\\s*,?[^,]+,\\\\s*)(Monitor(?:Count|Primary||WorkArea|Name))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bThread\\\\b\\\\s*,?\\\\s*)(NoTimers|Priority|Interrupt)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bTransform\\\\b\\\\s*,?[^,]+,\\\\s*)(Unicode|Deref|HTML|Asc|Chr|Mod|Exp|Sqrt|Log|Ln|Round|Ceil|Floor|Abs|Sin|Cos|Tan|ASin|ACos|ATan|Pow|BitNot|BitAnd|BitOr|BitXOr|BitShiftLeft|BitShiftRight)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bWinGet\\\\b\\\\s*,?[^,]+,\\\\s*)(ID|IDLast|PID|ProcessName|ProcessPath|Count|List|MinMax|ControlList|ControlListHwnd|Transparent|TransColor|Style|ExStyle)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bWinSet\\\\b\\\\s*,?\\\\s*)(AlwaysOnTop|Bottom|Top|Disable|Enable|Redraw|Style|ExStyle|Region|Transparent|TransColor)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?<!\\\\.)(?i:if|else|switch|case|return|loop|break|for|while|class|extends|catch|finally|throw|try|until|continue|critical|exit|exitapp)\\\\b\",\"name\":\"keyword.control.ahk\"},{\"match\":\"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)\\\\b\",\"name\":\"constant.numeric.ahk\"},{\"match\":\"[-!#\\\\&*+/^|~]\",\"name\":\"keyword.operator.arithmetic.ahk\"},{\"match\":\":=|\\\\.=|=|::\",\"name\":\"keyword.operator.assignment.ahk\"},{\"match\":\"[<>]|<>|[<=>]=|!=\",\"name\":\"keyword.operator.comparison.ahk\"}]},\"punctuation\":{\"patterns\":[{\"match\":\"[,:?`]\",\"name\":\"punctuation.ahk\"},{\"match\":\"[]()\\\\[{}]\",\"name\":\"punctuation.bracket.ahk\"},{\"match\":\"%\",\"name\":\"punctuation.definition.variable.percent.ahk\"}]},\"script-block\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.class.ahk\"},\"2\":{\"name\":\"support.class.ahk\"},\"4\":{\"name\":\"keyword.class.ahk\"},\"5\":{\"name\":\"support.class.ahk\"}},\"example\":\"class A extends B\",\"match\":\"(?i:\\\\b(class)\\\\b\\\\s*(\\\\w+))\\\\s*((extends)\\\\s+(\\\\w+))?\",\"name\":\"classline.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.label.ahk\"}},\"example\":\"label:\",\"match\":\"^\\\\s*(\\\\w+:)(\\\\s+;.*)?$\",\"name\":\"labelline.ahk\"},{\"captures\":{\"1\":{\"name\":\"support.function.ahk\"},\"2\":{\"name\":\"entity.name.function.label.ahk\"}},\"example\":\"Gosub label\",\"match\":\"(?i:(Gosub)\\\\s*,?\\\\s*(\\\\w+))\",\"name\":\"golabel.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"plaintext\"}},\"example\":\"::hot::\",\"match\":\"(?i: *(:[*0bceiknprsz]{0,2}:.+::)(.+))\",\"name\":\"hotstring.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"punctuation.definition.equals.colon\"}},\"example\":\"^c::\",\"match\":\"^\\\\s*([^\\\"]+)(::)\",\"name\":\"hotkeyline.ahk\"}]},\"string\":{\"patterns\":[{\"begin\":\"^\\\\s*\\\\((?!.*\\\\))\",\"end\":\"^\\\\s*\\\\)\",\"example\":\"I can't get mean.\",\"name\":\"string.ahk\"}]},\"text\":{\"patterns\":[{\"match\":\"\\\\b(?i:autotrim|Exception|blockinput|click|clipwait|control|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|coordmode|detecthiddentext|detecthiddenwindows|drive|driveget|drivespacefree|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopy|filecopydir|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemove|filemovedir|fileread|filereadline|filerecycle|filerecycleempty|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|gosub|goto|groupactivate|groupadd|groupclose|groupdeactivate|gui|guicontrol|guicontrolget|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|input|inputbox|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclick|mouseclickdrag|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|send|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundget|soundgetwavevolume|soundplay|soundset|soundsetwavevolume|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivate|winactivatebottom|winclose|winget|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winhide|winkill|winmaximize|winmenuselectitem|winminimize|winminimizeall|winminimizeallundo|winmove|winrestore|winset|winsettitle|winshow|winwait|winwaitactive|winwaitclose|winwaitnotactive)\\\\b\",\"name\":\"support.function.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?i:abs|Push|length|RemoveAt|Count|InsertAt|ObjGetCapacity|ObjRemoveAt|ObjInsertAt|StrReplace|ObjDelete|acos|asc|asin|atan|ceil|chr|cos|ObjAddRef|ObjRelease|ComObject|comobjcreate|comobjactive|comobjarray|comobjconnect|comobjenwrap|comobjerror|comobjflags|comobjget|comobjmissing|comobjparameter|comobjquery|comobjtype|comobjunwrap|comobjvalue|dllcall|exp|fileexist|fileopen|floor|format|func|getkeyname|getkeyvk|getkeysc|getkeystate|il_add|il_create|il_destroy|instr|isbyref|isfunc|islabel|isobject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strget|strlen|strput|strsplit|substr|tan|trim|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist)(?=\\\\()\\\\b\",\"name\":\"support.function.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?<=\\\\.)(?i:read|write|readline|writeline|readuint|readint|readint64|readshort|readushort|readchar|readuchar|readdouble|readfloat|writeuint|writeint|writeint64|writeshort|writeushort|writechar|writeuchar|writedouble|writefloat|rawread|rawwrite|seek|tell|close|insert|remove|minindex|maxindex|setcapacity|getcapacity|getaddress|newenum|haskey|clone|isoptional|__new|__call|__get|__set|__delete)(?=\\\\()\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\"fun(\",\"match\":\"\\\\b(?!MsgBox)\\\\w+\\\\s*(?=\\\\()\",\"name\":\"entity.name.function.ahk\"},{\"begin\":\"(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.ahk\"}},\"end\":\"(\\\")(?!\\\")|^\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.ahk\"}},\"example\":\"\\\"string\\\"\",\"name\":\"string.quoted.double.ahk\",\"patterns\":[{\"match\":\"\\\"\\\"\",\"name\":\"constant.character.escape.ahk\"}]},{\"match\":\"\\\\w+\",\"name\":\"variable.def.ahk\"}]}},\"scopeName\":\"source.ahk\",\"aliases\":[\"ahk1\"]}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"AutoHotkey\",\"fileTypes\":[\"ahk\"],\"name\":\"ahk\",\"patterns\":[{\"include\":\"#comment\"},{\"include\":\"#string\"},{\"include\":\"#script-block\"},{\"include\":\"#function\"},{\"include\":\"#function-call\"},{\"include\":\"#keyword\"},{\"include\":\"#punctuation\"},{\"include\":\"#text\"}],\"repository\":{\"comment\":{\"patterns\":[{\"captures\":{\"2\":{\"name\":\"punctuation.definition.comment.ahk\"}},\"example\":\";comment\",\"match\":\"(^\\\\s*|\\\\s+)(;).*\",\"name\":\"comment.line.semicolon.ahk\"},{\"begin\":\"^\\\\s*/\\\\*\",\"end\":\"^\\\\s*\\\\*/\",\"example\":\"/* comment */\",\"name\":\"comment.block.slashstar.ahk\"}]},\"function\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.name.function.ahk\"},\"2\":{\"name\":\"punctuation.bracket.parenthesis.ahk\"},\"3\":{\"patterns\":[{\"include\":\"#text\"}]},\"4\":{\"name\":\"punctuation.bracket.parenthesis.ahk\"},\"5\":{\"name\":\"punctuation.bracket.curly.ahk\"},\"6\":{\"name\":\"comment.line.semicolon.functionline.ahk\"}},\"example\":\"fun(){\",\"match\":\"(?i:^(\\\\s*\\\\w+)(?<!if|while)(\\\\()(.*)(\\\\))\\\\s*(\\\\{)(\\\\s+;.*)?$)\",\"name\":\"functionline.ahk\"}]},\"function-call\":{\"patterns\":[{\"captures\":{\"1\":{\"patterns\":[{\"include\":\"$self\"}]},\"2\":{\"name\":\"comment.line.semicolon.if.ahk\"}},\"example\":\"#if [expression]\",\"match\":\"#\\\\b(?i:if)\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.if.ahk\"},{\"captures\":{\"1\":{\"name\":\"string.parameter.import.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.import.ahk\"}},\"example\":\"#include\",\"match\":\"#\\\\b(?i:include(?:|again))\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.import.ahk\"},{\"captures\":{\"1\":{\"name\":\"string.parameter.directives.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.directive.ahk\"}},\"example\":\"#persistent\",\"match\":\"#\\\\b(?i:allowsamelinecomments|clipboardtimeout|commentflag|delimiter|derefchar|errorstdout|escapechar|hotkeyinterval|hotkeymodifiertimeout|hotstring|iftimeout|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|inputlevel|installkeybdhook|installmousehook|keyhistory|ltrim|maxhotkeysperinterval|maxmem|maxthreads|maxthreadsbuffer|maxthreadsperhotkey|menumaskkey|noenv|notrayicon|persistent|requires|singleinstance|usehook|warn|winactivateforce)\\\\b(.*?)(\\\\s+;.*)?$\",\"name\":\"keyword.control.directives.ahk\"},{\"example\":\"winkill\",\"match\":\"\\\\b(?i:autotrim|blockinput|click|clipwait|control|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|coordmode|detecthiddentext|detecthiddenwindows|drive|driveget|drivespacefree|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopy|filecopydir|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemove|filemovedir|fileread|filereadline|filerecycle|filerecycleempty|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|gosub|goto|groupactivate|groupadd|groupclose|groupdeactivate|gui|guicontrol|guicontrolget|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|input|inputbox|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclick|mouseclickdrag|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|send|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundget|soundgetwavevolume|soundplay|soundset|soundsetwavevolume|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivate|winactivatebottom|winclose|winget|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winhide|winkill|winmaximize|winmenuselectitem|winminimize|winminimizeall|winminimizeallundo|winmove|winrestore|winset|winsettitle|winshow|winwait|winwaitactive|winwaitclose|winwaitnotactive)\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\".length\",\"match\":\"\\\\b(?!MsgBox)(?<=\\\\.)(?i:length|ateof|encoding|__handle|name|isbuiltin|isvariadic|minparams|maxparams|position|pos)(?![(.\\\\[])\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\"A_ScriptDir\",\"match\":\"\\\\b(?!MsgBox)(?i:a_ahkpath|a_args|a_listlines|a_sendmode|a_sendlevel|a_storecapslockmode|a_coordmodetooltip|a_coordmodepixel|a_coordmodemouse|a_coordmodecaret|a_coordmodemenu|a_timeidlekeyboard|a_timeidlemouse|a_defaultgui|a_defaultlistview|a_defaulttreeview|a_comspec|a_ahkversion|a_appdata|a_appdatacommon|a_autotrim|a_batchlines|a_caretx|a_carety|a_clipboard|a_computername|a_controldelay|a_cursor|a_ddd??|a_dddd|a_defaultmousespeed|a_desktop|a_desktopcommon|a_detecthiddentext|a_detecthiddenwindows|a_endchar|a_eventinfo|a_exitreason|a_fileencoding|a_formatfloat|a_formatinteger|a_gui|a_guievent|a_guicontrol|a_guicontrolevent|a_guiheight|a_guiwidth|a_guix|a_guiy|a_hour|a_iconfile|a_iconhidden|a_iconnumber|a_icontip|a_index|a_initialworkingdir|a_ipaddress1|a_ipaddress2|a_ipaddress3|a_ipaddress4|a_is64bitos|a_isadmin|a_iscompiled|a_iscritical|a_ispaused|a_issuspended|a_isunicode|a_keydelayplay|a_keydelay|a_keydurationplay|a_keyduration|a_language|a_lasterror|a_linefile|a_linenumber|a_loopfield|a_loopfileattrib|a_loopfiledir|a_loopfileext|a_loopfilefullpath|a_loopfilelongpath|a_loopfilename|a_loopfilepath|a_loopfileshortname|a_loopfileshortpath|a_loopfilesize|a_loopfilesizekb|a_loopfilesizemb|a_loopfiletimeaccessed|a_loopfiletimecreated|a_loopfiletimemodified|a_loopreadline|a_loopregkey|a_loopregname|a_loopregsubkey|a_loopregtimemodified|a_loopregtype|a_mday|a_min|a_mmm??|a_mmmm|a_mon|a_mousedelayplay|a_mousedelay|a_msec|a_mydocuments|a_now|a_nowutc|a_numbatchlines|a_ostype|a_osversion|a_priorhotkey|a_priorkey|a_programfiles|a_programs|a_programscommon|a_ptrsize|a_regview|a_screendpi|a_screenheight|a_screenwidth|a_scriptdir|a_scriptfullpath|a_scripthwnd|a_scriptname|a_sec|a_space|a_startmenu|a_startmenucommon|a_startup|a_startupcommon|a_stringcasesense|a_tab|a_temp|a_thisfunc|a_thishotkey|a_thislabel|a_thismenu|a_thismenuitem|a_thismenuitempos|a_tickcount|a_timeidle|a_timeidlephysical|a_timesincepriorhotkey|a_timesincethishotkey|a_titlematchmode|a_titlematchmodespeed|a_username|a_wday|a_windelay|a_windir|a_workingdir|a_yday|a_year|a_yweek|a_yyyy|clipboard|clipboardall|comspec|errorlevel|programfiles|true|false)\\\\b\",\"name\":\"constant.language.ahk\"}]},\"keyword\":{\"patterns\":[{\"example\":\"this\",\"match\":\"\\\\b(?!MsgBox)(?i:this)\\\\b\",\"name\":\"support.class.ahk\"},{\"example\":\"LButton\",\"match\":\"\\\\b(?!MsgBox)(?i:new|__New|__Delete|__Set|__Get|__Call|shift|lshift|rshift|alt|lalt|ralt|control|lcontrol|rcontrol|ctrl|lctrl|rctrl|lwin|rwin|appskey|altdown|altup|shiftdown|shiftup|ctrldown|ctrlup|lwindown|lwinup|rwindown|rwinup|lbutton|rbutton|mbutton|wheelup|wheelleft|wheelright|wheeldown|xbutton1|xbutton2|joy1|joy2|joy3|joy4|joy5|joy6|joy7|joy8|joy9|joy10|joy11|joy12|joy13|joy14|joy15|joy16|joy17|joy18|joy19|joy20|joy21|joy22|joy23|joy24|joy25|joy26|joy27|joy28|joy29|joy30|joy31|joy32|joyx|joyy|joyz|joyr|joyu|joyv|joypov|joyname|joybuttons|joyaxes|joyinfo|space|tab|enter|escape|esc|backspace|bs|delete|del|insert|ins|pgup|pgdn|home|end|up|down|left|right|printscreen|ctrlbreak|pause|scrolllock|capslock|numlock|numpad0|numpad1|numpad2|numpad3|numpad4|numpad5|numpad6|numpad7|numpad8|numpad9|numpadmult|numpadadd|numpadsub|numpaddiv|numpaddot|numpaddel|numpadins|numpadclear|numpadup|numpaddown|numpadleft|numpadright|numpadhome|numpadend|numpadpgup|numpadpgdn|numpadenter|f1|f2|f3|f4|f5|f6|f7|f8|f9|f10|f11|f12|f13|f14|f15|f16|f17|f18|f19|f20|f21|f22|f23|f24|browser_back|browser_forward|browser_refresh|browser_stop|browser_search|browser_favorites|browser_home|volume_mute|volume_down|volume_up|media_next|media_prev|media_stop|media_play_pause|launch_mail|launch_media|launch_app1|launch_app2|vk\\\\d+|sc\\\\d+)\\\\b(?!\\\\s*\\\\()\\\\b\",\"name\":\"keyword.keys.ahk\"},{\"example\":\"text\",\"match\":\"\\\\b(?!MsgBox)(?<!\\\\.)(?i:ahk_id|ahk_exe|ahk_pid|ahk_class|ahk_group|not|or|and|static|global|local|byref|error|single|GuiEscape|GuiClose|GuiSize|GuiContextMenu|GuiDropFiles|buttons|lines|blind|raw|all|base)(?![(.\\\\[])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=::\\\\s*)(AltTab|ShiftAltTab|AltTabMenu|AltTabAndMenu|AltTabMenuDismiss)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(AutoTrim|DetectHiddenText|DetectHiddenWindows|ListLines|SetStoreCapsLockMode)\\\\b\\\\s*,?\\\\s*)(O(?:n|ff))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bBlockInput\\\\b\\\\s*,?\\\\s*)(On|Off|Send|Mouse|SendAndMouse|Default|MouseMove|MouseMoveOff)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControl\\\\b\\\\s*,?\\\\s*)(Check|Uncheck|Enable|Disable|Show|Hide|Style|ExStyle|ShowDropDown|HideDropDown|TabLeft|TabRight|Add|Delete|Choose|ChooseString|EditPaste)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControlClick\\\\b\\\\s*,?[^,]*,[^,]+,[^,]*,\\\\s*)(L|Left|R|Right|M|Middle|X1|XButton1|X2|XButton2|WheelUp|WU|WheelDown|WD|WheelLeft|WL|WheelRight|WR)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bControlClick\\\\b\\\\s*,?[^,]*,[^,]+,[^,]*,[^,]*,[^,]*,[^,]*)(NA|[DU]|Pos)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bCoordMode\\\\b\\\\s*,?\\\\s*)(ToolTip|Pixel|Mouse|Caret|Menu)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bCoordMode\\\\b\\\\s*,?[^,]+,\\\\s*)(Screen|Relative|Window|Client)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDrive\\\\b\\\\s*,?\\\\s*)(Label|Lock|Unlock|Eject)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDriveGet\\\\b\\\\s*,?[^,]+,\\\\s*)(List|Capacity|FS|FileSystem|Label|Serial|Type|Status|StatusCD)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bDriveGet\\\\b\\\\s*,?[^,]+,\\\\s*List\\\\s*,\\\\s*)(CDROM|REMOVABLE|FIXED|NETWORK|RAMDISK|UNKNOWN)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Env(?:Add|Sub))\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)(Seconds|Minutes|Hours|Days|[DHMS])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=([-+])=[^,]+,\\\\s*)(Seconds|Minutes|Hours|Days|[DHMS])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFileEncoding\\\\b\\\\s*,?\\\\s*)(UTF-8|UTF-8-RAW|UTF-16|UTF-16-RAW|CP\\\\d{3,5})\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFor\\\\s+(\\\\w+|%\\\\w+%)\\\\s*(,\\\\s*(\\\\w+|%\\\\w+%))?\\\\s+)(in)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bFormatTime\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(Time|ShortDate|LongDate|YearMonth|YDay0??|WDay|YWeek)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGetKeyState\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)([PT])\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(New|Add|Show|Submit|Cancel|Hide|Destroy|Font|Color|Margin|Menu|Minimize|Maximize|Restore|Flash|Default|ListView)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*)(Text|Edit|UpDown|Picture|Pic|Button|Checkbox|Radio|DropDownList|DDL|ComboBox|ListBox|ListView|TreeView|Link|Hotkey|DateTime|MonthCal|Slider|Progress|GroupBox|Tab2??|Tab3|StatusBar|ActiveX|Custom)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Show\\\\s*,[^,]*)(Center|xCenter|yCenter|AutoSize|Minimize|Maximize|Restore|NoActivate|NA|Hide)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Submit\\\\s*,\\\\s*)NoHide\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Font\\\\s*,[^,]*)(Bold|Italic|Strike|Underline|Norm|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Color\\\\s*,\\\\s*)(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Flash\\\\s*,\\\\s*)Off\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*(((\\\\w+|%\\\\w+%):\\\\s*)?New\\\\s*,)?[^,]*)(AlwaysOnTop|Border|Caption|Delimiter|Disabled|DPIScale|Hwnd|Label|LastFound|LastFoundExist|MaximizeBox|MinimizeBox|MinSize|MaxSize|OwnDialogs|Owner|Parent|Resize|SysMenu|Theme|ToolWindow)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(\\\\w+|%\\\\w+%)\\\\s*,[^,]*)(wp|hp|xp|yp|xm|ym|xs|ys)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(\\\\w+|%\\\\w+%)\\\\s*,[^,]*)(AltSubmit|Choose|Disabled|Hidden|Left|Right|Center|Section|Tabstop|Wrap|VScroll|HScroll|Controls|BackgroundTrans|Background|Border|HwndOutputVar|Theme|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Edit\\\\s*,[^,]*)(Limit|Lowercase|Multi|Number|Password|ReadOnly|Uppercase|WantCtrlA|WantReturn|WantTab|Wrap)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*UpDown\\\\s*,[^,]*)(Horz|Left|Range|Wrap|16|0x80)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(Pic(?:ture|))\\\\s*,[^,]*)(Icon\\\\d+)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Button\\\\s*,[^,]*)(Default)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*CheckBox\\\\s*,[^,]*)(Check(?:3|ed|edGray))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Radio\\\\s*,[^,]*)(Group|Checked)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(D(?:ropDownList|DL))\\\\s*,[^,]*)(Choose|Uppercase|Lowercase|Sort)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ComboBox\\\\s*,[^,]*)(Limit|Simple)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ListBox\\\\s*,[^,]*)(Choose|Multi|ReadOnly|Sort|0x100)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*DateTime\\\\s*,[^,]*,[^,]*)(LongDate|Time|Choose|ChooseNone|Range|Right)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*MonthCal\\\\s*,[^,]*)(Multi|Range|Colors|[48]|16)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Slider\\\\s*,[^,]*)(Buddy1|Buddy2|Center|Invert|Left|Line|NoTicks|Page|Range|Thick|TickInterval|ToolTip|Vertical)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*Progress\\\\s*,[^,]*)(Background|Range|Smooth|Vertical|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua)|Background(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*(Tab[23]??)\\\\s*,[^,]*)(Choose|Background|Buttons|Left|Right|Bottom|Wrap)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*ListView\\\\s*,[^,]*)(AltSubmit|Background|Checked|Count|Grid|Hdr|LV|LV0x10|LV0x20|Multi|NoSortHdr|NoSort|ReadOnly|Sort|SortDesc|WantF2|Icon|Tile|IconSmall|List|Report|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGui\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?Add\\\\s*,\\\\s*TreeView\\\\s*,[^,]*)(AltSubmit|Background|Buttons|Checked|HScroll|ImageList|Lines|ReadOnly|WantF2|c(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(Text|Move|MoveDraw|Focus|Disable|Enable|Hide|Show|Delete|Choose|ChooseString|Font|Options)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?[^,]*([-+]))(g|Redraw|AltSubmit|Choose|Disabled|Hidden|Left|Right|Center|Section|Tabstop|Wrap|VScroll|HScroll|Controls|BackgroundTrans|Background|Border|HwndOutputVar|Theme)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControl\\\\b\\\\s*,?[^,]*([-+]))(Limit|Lowercase|Multi|Number|Password|ReadOnly|Uppercase|WantCtrlA|WantReturn|WantTab|Wrap|Horz|Left|Range|Wrap|16|0x80|Icon|Default|Check3|Checked|CheckedGray|Group|Checked|Choose|Uppercase|Lowercase|Sort|Limit|Simple|Choose|Multi|ReadOnly|Sort|0x100|LongDate|Time|Choose|ChooseNone|Range|Right|Multi|Range|Colors|[48]|16|Buddy1|Buddy2|Center|Invert|Left|Line|NoTicks|Page|Range|Thick|TickInterval|ToolTip|Vertical|Background|Range|Smooth|Vertical|Choose|Background|Buttons|Left|Right|Bottom|Wrap|AltSubmit|Background|Checked|Count|Grid|Hdr|LV|LV0x10|LV0x20|Multi|NoSortHdr|NoSort|ReadOnly|Sort|SortDesc|WantF2|Icon|Tile|IconSmall|List|Report|AltSubmit|Background|Buttons|Checked|HScroll|ImageList|Lines|ReadOnly|WantF2)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bGuiControlGet\\\\b\\\\s*,?[^,]+,\\\\s*((\\\\w+|%\\\\w+%):\\\\s*)?)(Pos|FocusV??|Enabled|Visible|Hwnd|Name)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIf\\\\s+(\\\\w+|%\\\\w+%)\\\\s+)(is\\\\s+(not\\\\s+)?(Integer|Float|Number|Digit|Xdigit|Alpha|Upper|Lower|Alnum|Space|Time|Date))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIf\\\\s+(\\\\w+|%\\\\w+%)\\\\s+(not\\\\s+)?)(between|contains|in)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bIfMsgBox\\\\s*,?\\\\s*)(Yes|No|OK|Cancel|Abort|Ignore|Retry|Continue|TryAgain|Timeout)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bInputBox\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,\\\\s*)(HIDE)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*)(Files|Parse|Read|Reg)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Files\\\\s*,[^,]+,\\\\s*)(DF?R?|DR?F?|FD?R?|FR?D?|RD?F?|RF?D?)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Parse\\\\s*,[^,]+,\\\\s*)(CSV)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Reg\\\\s*,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bLoop\\\\b\\\\s*,?\\\\s*Reg\\\\s*,[^,]+,\\\\s*)(KV?R?|KR?V?|VK?R?|VR?K?|RK?V?|RV?K?)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMenu\\\\b\\\\s*,?\\\\s*)Tray\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMenu\\\\b\\\\b\\\\s*,?[^,]+,\\\\s*)(Add|Insert|Delete|DeleteAll|Rename|Check|Uncheck|ToggleCheck|Enable|Disable|ToggleEnable|Default|NoDefault|Standard|NoStandard|Icon|NoIcon|Tip|Show|Color|Click|MainWindow|NoMainWindow|UseErrorLevel)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bMouseClick(Drag)?\\\\b\\\\s*,?\\\\s*)(L|Left|R|Right|M|Middle|X1|X2)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bPixelGetColor\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,[^,]*)(Alt|Slow|RGB)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bPixelSearch\\\\b\\\\s*,?[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]+,[^,]*)(Fast|RGB)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProcess\\\\b\\\\s*,?\\\\s*)(Exist|Close|List|Priority|Wait|WaitClose)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProcess\\\\b\\\\s*,?\\\\s*Priority\\\\s*,[^,]+,\\\\s*)(L|Low|B|BelowNormal|N|Normal|A|AboveNormal|H|High|R|Realtime)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Progress|SplashImage)\\\\b\\\\s*,?\\\\s*)(Off|Show)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bProgress\\\\b\\\\s*,?[^,]*)(A|([BM])([12])?|T|Hide|(C[BTW])(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegDelete\\\\b\\\\s*,?\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegDelete\\\\b\\\\s*,?[^,]+,\\\\s*)(AHK_DEFAULT)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegRead\\\\b\\\\s*,?[^,]+,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegWrite\\\\b\\\\s*,?\\\\s*)(REG_(?:SZ|EXPAND_SZ|MULTI_SZ|DWORD|BINARY))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bRegWrite\\\\b\\\\s*,?[^,]+,\\\\s*)(HK(?:EY_LOCAL_MACHINE|EY_USERS|EY_CURRENT_USER|EY_CLASSES_ROOT|EY_CURRENT_CONFIG|LM|U|CU|CR|CC))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Run(?:|Wait))\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(Max|Min|Hide|UseErrorLevel)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSendMode\\\\b\\\\s*,?\\\\s*)(Event|Input|InputThenPlay|Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\b(Set(?:Caps|Num|Scroll)LockState)\\\\b\\\\s*,?\\\\s*)(On|Off|AlwaysOn|AlwaysOff)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetFormat\\\\b\\\\s*,?\\\\s*)((?:Integer|Float)(?:|Fast))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetFormat\\\\b\\\\s*,?\\\\s*(Integer(?:|Fast))\\\\s*,\\\\s*)([DH]|HEX)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetMouseDelay\\\\b\\\\s*,?[^,]+,\\\\s*)(Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetKeyDelay\\\\b\\\\s*,?[^,]+,[^,]+,\\\\s*)(Play)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetRegView\\\\b\\\\s*,?\\\\s*)(32|64|Default)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetTimer\\\\b\\\\s*,?[^,]*,\\\\s*)(On|Off|Delete)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSetTitleMatchMode\\\\b\\\\s*,?\\\\s*)(RegEx|Fast|Slow)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSoundSet\\\\b\\\\s*,?[^,]+,\\\\s*)(MASTER|SPEAKERS|DIGITAL|LINE|MICROPHONE|SYNTH|CD|TELEPHONE|PCSPEAKER|WAVE|AUX|ANALOG|HEADPHONES|N/A)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSoundSet\\\\b\\\\s*,?[^,]+,[^,]*,\\\\s*)(VOLUME|VOL|ONOFF|MUTE|MONO|LOUDNESS|STEREOENH|BASSBOOST|PAN|QSOUNDPAN|BASS|TREBLE|EQUALIZER)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSplashImage\\\\b\\\\s*,?[^,]+,[^,]*)(A|([BM])([12])?|T|Hide|(C[BTW])(Default|Black|Silver|Gray|White|Maroon|Red|Purple|Fuchsia|Green|Lime|Olive|Yellow|Navy|Blue|Teal|Aqua))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bStringCaseSense\\\\b\\\\s*,?\\\\s*)(On|Off|Locale)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bSysGet\\\\b\\\\s*,?[^,]+,\\\\s*)(Monitor(?:Count|Primary||WorkArea|Name))\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bThread\\\\b\\\\s*,?\\\\s*)(NoTimers|Priority|Interrupt)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bTransform\\\\b\\\\s*,?[^,]+,\\\\s*)(Unicode|Deref|HTML|Asc|Chr|Mod|Exp|Sqrt|Log|Ln|Round|Ceil|Floor|Abs|Sin|Cos|Tan|ASin|ACos|ATan|Pow|BitNot|BitAnd|BitOr|BitXOr|BitShiftLeft|BitShiftRight)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bWinGet\\\\b\\\\s*,?[^,]+,\\\\s*)(ID|IDLast|PID|ProcessName|ProcessPath|Count|List|MinMax|ControlList|ControlListHwnd|Transparent|TransColor|Style|ExStyle)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"(?i)\\\\b(?<=\\\\bWinSet\\\\b\\\\s*,?\\\\s*)(AlwaysOnTop|Bottom|Top|Disable|Enable|Redraw|Style|ExStyle|Region|Transparent|TransColor)\\\\b\",\"name\":\"keyword.other.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?<!\\\\.)(?i:if|else|switch|case|return|loop|break|for|while|class|extends|catch|finally|throw|try|until|continue|critical|exit|exitapp)\\\\b\",\"name\":\"keyword.control.ahk\"},{\"match\":\"\\\\b((0([Xx])\\\\h*)|(([0-9]+\\\\.?[0-9]*)|(\\\\.[0-9]+))(([Ee])([-+])?[0-9]+)?)\\\\b\",\"name\":\"constant.numeric.ahk\"},{\"match\":\"[-!#\\\\&*+/^|~]\",\"name\":\"keyword.operator.arithmetic.ahk\"},{\"match\":\":=|\\\\.=|=|::\",\"name\":\"keyword.operator.assignment.ahk\"},{\"match\":\"[<>]|<>|[<=>]=|!=\",\"name\":\"keyword.operator.comparison.ahk\"}]},\"punctuation\":{\"patterns\":[{\"match\":\"[,:?`]\",\"name\":\"punctuation.ahk\"},{\"match\":\"[]()\\\\[{}]\",\"name\":\"punctuation.bracket.ahk\"},{\"match\":\"%\",\"name\":\"punctuation.definition.variable.percent.ahk\"}]},\"script-block\":{\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.class.ahk\"},\"2\":{\"name\":\"support.class.ahk\"},\"4\":{\"name\":\"keyword.class.ahk\"},\"5\":{\"name\":\"support.class.ahk\"}},\"example\":\"class A extends B\",\"match\":\"(?i:\\\\b(class)\\\\b\\\\s*(\\\\w+))\\\\s*((extends)\\\\s+(\\\\w+))?\",\"name\":\"classline.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"comment.line.semicolon.label.ahk\"}},\"example\":\"label:\",\"match\":\"^\\\\s*(\\\\w+:)(\\\\s+;.*)?$\",\"name\":\"labelline.ahk\"},{\"captures\":{\"1\":{\"name\":\"support.function.ahk\"},\"2\":{\"name\":\"entity.name.function.label.ahk\"}},\"example\":\"Gosub label\",\"match\":\"(?i:(Gosub)(?:\\\\s*,\\\\s*|\\\\s+)(\\\\w+))\",\"name\":\"golabel.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"plaintext\"}},\"example\":\"::hot::\",\"match\":\"(?i: *(:[*0bceiknprsz]{0,2}:.+::)(.+))\",\"name\":\"hotstring.ahk\"},{\"captures\":{\"1\":{\"name\":\"entity.name.function.label.ahk\"},\"2\":{\"name\":\"punctuation.definition.equals.colon\"}},\"example\":\"^c::\",\"match\":\"^\\\\s*([^\\\"]+)(::)\",\"name\":\"hotkeyline.ahk\"}]},\"string\":{\"patterns\":[{\"begin\":\"^\\\\s*\\\\((?!.*\\\\))\",\"end\":\"^\\\\s*\\\\)\",\"example\":\"I can't get mean.\",\"name\":\"string.ahk\"}]},\"text\":{\"patterns\":[{\"match\":\"\\\\b(?i:autotrim|Exception|blockinput|click|clipwait|control|controlclick|controlfocus|controlget|controlgetfocus|controlgetpos|controlgettext|controlmove|controlsend|controlsendraw|controlsettext|coordmode|detecthiddentext|detecthiddenwindows|drive|driveget|drivespacefree|edit|envadd|envdiv|envget|envmult|envset|envsub|envupdate|fileappend|filecopy|filecopydir|filecreatedir|filecreateshortcut|filedelete|fileencoding|filegetattrib|filegetshortcut|filegetsize|filegettime|filegetversion|fileinstall|filemove|filemovedir|fileread|filereadline|filerecycle|filerecycleempty|fileremovedir|fileselectfile|fileselectfolder|filesetattrib|filesettime|formattime|getkeystate|gosub|goto|groupactivate|groupadd|groupclose|groupdeactivate|gui|guicontrol|guicontrolget|hotkey|ifequal|ifexist|ifgreater|ifgreaterorequal|ifinstring|ifless|iflessorequal|ifmsgbox|ifnotequal|ifnotexist|ifnotinstring|ifwinactive|ifwinexist|ifwinnotactive|ifwinnotexist|imagesearch|inidelete|iniread|iniwrite|input|inputbox|keyhistory|keywait|listhotkeys|listlines|listvars|menu|mouseclick|mouseclickdrag|mousegetpos|mousemove|msgbox|onexit|outputdebug|pause|pixelgetcolor|pixelsearch|postmessage|process|progress|random|regdelete|regread|regwrite|reload|run|runas|runwait|send|sendevent|sendinput|sendlevel|sendmessage|sendmode|sendplay|sendraw|setbatchlines|setcapslockstate|setcontroldelay|setdefaultmousespeed|setenv|setformat|setkeydelay|setmousedelay|setnumlockstate|setscrolllockstate|setstorecapslockmode|setregview|settimer|settitlematchmode|setwindelay|setworkingdir|shutdown|sleep|sort|soundbeep|soundget|soundgetwavevolume|soundplay|soundset|soundsetwavevolume|splashimage|splashtextoff|splashtexton|splitpath|statusbargettext|statusbarwait|stringcasesense|stringgetpos|stringleft|stringlen|stringlower|stringmid|stringreplace|stringright|stringsplit|stringtrimleft|stringtrimright|stringupper|suspend|sysget|thread|tooltip|transform|traytip|urldownloadtofile|winactivate|winactivatebottom|winclose|winget|wingetactivestats|wingetactivetitle|wingetclass|wingetpos|wingettext|wingettitle|winhide|winkill|winmaximize|winmenuselectitem|winminimize|winminimizeall|winminimizeallundo|winmove|winrestore|winset|winsettitle|winshow|winwait|winwaitactive|winwaitclose|winwaitnotactive)\\\\b\",\"name\":\"support.function.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?i:abs|Push|length|RemoveAt|Count|InsertAt|ObjGetCapacity|ObjRemoveAt|ObjInsertAt|StrReplace|ObjDelete|acos|asc|asin|atan|ceil|chr|cos|ObjAddRef|ObjRelease|ComObject|comobjcreate|comobjactive|comobjarray|comobjconnect|comobjenwrap|comobjerror|comobjflags|comobjget|comobjmissing|comobjparameter|comobjquery|comobjtype|comobjunwrap|comobjvalue|dllcall|exp|fileexist|fileopen|floor|format|func|getkeyname|getkeyvk|getkeysc|getkeystate|il_add|il_create|il_destroy|instr|isbyref|isfunc|islabel|isobject|ln|log|ltrim|lv_add|lv_delete|lv_deletecol|lv_getcount|lv_getnext|lv_gettext|lv_insert|lv_insertcol|lv_modify|lv_modifycol|lv_setimagelist|mod|onmessage|numget|numput|regexmatch|regexreplace|registercallback|round|rtrim|sb_seticon|sb_setparts|sb_settext|sin|sqrt|strget|strlen|strput|strsplit|substr|tan|trim|tv_add|tv_delete|tv_getchild|tv_getcount|tv_getnext|tv_get|tv_getparent|tv_getprev|tv_getselection|tv_gettext|tv_modify|varsetcapacity|winactive|winexist)(?=\\\\()\\\\b\",\"name\":\"support.function.ahk\"},{\"match\":\"\\\\b(?!MsgBox)(?<=\\\\.)(?i:read|write|readline|writeline|readuint|readint|readint64|readshort|readushort|readchar|readuchar|readdouble|readfloat|writeuint|writeint|writeint64|writeshort|writeushort|writechar|writeuchar|writedouble|writefloat|rawread|rawwrite|seek|tell|close|insert|remove|minindex|maxindex|setcapacity|getcapacity|getaddress|newenum|haskey|clone|isoptional|__new|__call|__get|__set|__delete)(?=\\\\()\\\\b\",\"name\":\"support.function.ahk\"},{\"example\":\"fun(\",\"match\":\"\\\\b(?!MsgBox)\\\\w+\\\\s*(?=\\\\()\",\"name\":\"entity.name.function.ahk\"},{\"begin\":\"(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.begin.ahk\"}},\"end\":\"(\\\")(?!\\\")|^\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.ahk\"}},\"example\":\"\\\"string\\\"\",\"name\":\"string.quoted.double.ahk\",\"patterns\":[{\"match\":\"\\\"\\\"\",\"name\":\"constant.character.escape.ahk\"}]},{\"match\":\"\\\\w+\",\"name\":\"variable.def.ahk\"}]}},\"scopeName\":\"source.ahk\",\"aliases\":[\"ahk1\"]}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Beancount\",\"fileTypes\":[\"beancount\"],\"name\":\"beancount\",\"patterns\":[{\"match\":\";.*\",\"name\":\"comment.line.beancount\"},{\"begin\":\"^\\\\s*(p(?:op|ush)tag)\\\\s+(#)([\\\\--9A-Z_a-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"keyword.operator.tag.beancount\"},\"3\":{\"name\":\"entity.name.tag.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.tag.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(include)\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.include.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(option)\\\\s+(\\\".*\\\")\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"support.variable.beancount\"},\"3\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.option.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(plugin)\\\\s*(\\\"(.*?)\\\")\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"},\"3\":{\"name\":\"entity.name.function.beancount\"},\"4\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"keyword.operator.directive.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(open|close|pad)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#commodity\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(custom)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#bool\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#date\"},{\"include\":\"#account\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(event)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(commodity)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(note|document)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(price)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(balance)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s*(txn|[!#%\\\\&*?CMPR-U])\\\\s*(\\\".*?\\\")?\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\",\"patterns\":[{\"match\":\"txn|\\\\*\",\"name\":\"support.function.directive.txn.completed.beancount\"},{\"match\":\"!\",\"name\":\"support.function.directive.txn.incomplete.beancount\"},{\"match\":\"P\",\"name\":\"support.function.directive.txn.padding.beancount\"}]},\"7\":{\"name\":\"string.quoted.tiers.beancount\"},\"8\":{\"name\":\"string.quoted.narration.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.transaction.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#posting\"},{\"include\":\"#meta\"},{\"include\":\"#tag\"},{\"include\":\"#link\"},{\"include\":\"#illegal\"}]}],\"repository\":{\"account\":{\"begin\":\"([A-Z][a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.language.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\s\",\"name\":\"meta.account.beancount\",\"patterns\":[{\"begin\":\"(\\\\S+)(:?)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.account.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"(:?)|(\\\\s)\",\"patterns\":[{\"include\":\"$self\"},{\"include\":\"#illegal\"}]}]},\"amount\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"([-+|]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\\\\s*([A-Z][-'.0-9A-Z_]{0,22}[0-9A-Z])\",\"name\":\"meta.amount.beancount\"},\"bool\":{\"captures\":{\"0\":{\"name\":\"constant.language.bool.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"TRUE|FALSE\"},\"comments\":{\"captures\":{\"1\":{\"name\":\"comment.line.beancount\"}},\"match\":\"(;.*)$\"},\"commodity\":{\"match\":\"([A-Z][-'.0-9A-Z_]{0,22}[0-9A-Z])\",\"name\":\"entity.name.type.commodity.beancount\"},\"cost\":{\"begin\":\"\\\\{\\\\{?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"}}?\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"name\":\"meta.cost.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#date\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},\"date\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"}},\"match\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\",\"name\":\"meta.date.beancount\"},\"flag\":{\"match\":\"(?<=\\\\s)([!#%\\\\&*?CMPR-U])(?=\\\\s+)\",\"name\":\"keyword.other.beancount\"},\"illegal\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.unrecognized.beancount\"},\"link\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.link.beancount\"},\"2\":{\"name\":\"markup.underline.link.beancount\"}},\"match\":\"(\\\\^)([\\\\--9A-Z_a-z]+)\"},\"meta\":{\"begin\":\"^\\\\s*([a-z][-0-9A-Z_a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.directive.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\n\",\"name\":\"meta.meta.beancount\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#account\"},{\"include\":\"#bool\"},{\"include\":\"#commodity\"},{\"include\":\"#date\"},{\"include\":\"#tag\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},\"number\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"}},\"match\":\"([-+|]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\"},\"posting\":{\"begin\":\"^\\\\s+(?=([!A-Z]))\",\"end\":\"(?=^(\\\\s*$|\\\\S|\\\\s*[A-Z]))\",\"name\":\"meta.posting.beancount\",\"patterns\":[{\"include\":\"#meta\"},{\"include\":\"#comments\"},{\"include\":\"#flag\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#cost\"},{\"include\":\"#date\"},{\"include\":\"#price\"},{\"include\":\"#illegal\"}]},\"price\":{\"begin\":\"@@?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"(?=([\\\\n;]))\",\"name\":\"meta.price.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.beancount\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.beancount\"}]},\"tag\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.tag.beancount\"},\"2\":{\"name\":\"entity.name.tag.beancount\"}},\"match\":\"(#)([\\\\--9A-Z_a-z]+)\"}},\"scopeName\":\"text.beancount\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Beancount\",\"fileTypes\":[\"beancount\"],\"name\":\"beancount\",\"patterns\":[{\"match\":\";.*\",\"name\":\"comment.line.beancount\"},{\"begin\":\"^\\\\s*(p(?:op|ush)tag)\\\\s+(#)([\\\\--9A-Z_a-z]+)\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"keyword.operator.tag.beancount\"},\"3\":{\"name\":\"entity.name.tag.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.tag.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(include)\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.include.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(option)\\\\s+(\\\".*\\\")\\\\s+(\\\".*\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"support.variable.beancount\"},\"3\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.option.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"^\\\\s*(plugin)\\\\s*(\\\"(.*?)\\\")\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"support.function.beancount\"},\"2\":{\"name\":\"string.quoted.double.beancount\"},\"3\":{\"name\":\"entity.name.function.beancount\"},\"4\":{\"name\":\"string.quoted.double.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"keyword.operator.directive.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(open|close|pad)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#commodity\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(custom)\\\\b\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#bool\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#date\"},{\"include\":\"#account\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(event)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(commodity)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(note|document)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#string\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s+(query)\\\\s+(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")\\\\s+(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"},\"7\":{\"name\":\"string.quoted.double.beancount\"},\"8\":{\"name\":\"punctuation.definition.string.begin.beancount\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.string.end.beancount\"}},\"name\":\"meta.directive.query.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"begin\":\"/\\\\*\",\"end\":\"\\\\*/\",\"name\":\"comment.block.bql\"},{\"match\":\"\\\\b[0-9]{4}-[0-9]{2}-[0-9]{2}\\\\b\",\"name\":\"constant.numeric.date.bql\"},{\"match\":\"\\\\b(?i:SELECT|FROM|WHERE|GROUP|ORDER|HAVING|LIMIT|PIVOT|AND|OR|NOT|IN|IS|BETWEEN|AS|DISTINCT|ASC|DESC|TRUE|FALSE|NULL|CREATE|TABLE|USING|INSERT|INTO|BALANCES|JOURNAL|PRINT|BY)\\\\b\",\"name\":\"keyword.control.bql\"},{\"match\":\"\\\\b(?i:abs|bool|int|decimal|str|date|year|month|day|yearmonth|quarter|weekday|today|root|parent|leaf|grepn??|subst|upper|lower|maxwidth|substr|splitcomp|length|repr|round|safediv|neg|open_date|close_date|open_meta|meta|entry_meta|any_meta|currency_meta|commodity_meta|account_sortkey|has_account|units|cost|value|getprice|number|currency|commodity|findfirst|joinstr|only|empty|filter_currency|convert|parse_date|date_diff|date_add|date_trunc|date_part|interval|date_bin|getitem|possign|sum|count|first|last|min|max)\\\\b(?=\\\\s*\\\\()\",\"name\":\"support.function.bql\"},{\"match\":\"\\\\b(?i:id|type|filename|lineno|location|date|year|month|day|flag|payee|narration|description|tags|links|meta|accounts?|other_accounts|posting_flag|number|currency|cost_number|cost_currency|cost_date|cost_label|position|price|weight|balance|entry)\\\\b\",\"name\":\"variable.other.column.bql\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.bql\",\"patterns\":[{\"match\":\"\\\"\\\"\",\"name\":\"constant.character.escape.bql\"}]},{\"begin\":\"'\",\"end\":\"'\",\"name\":\"string.quoted.single.bql\",\"patterns\":[{\"match\":\"''\",\"name\":\"constant.character.escape.bql\"}]},{\"match\":\"\\\\b\\\\d+(\\\\.\\\\d+)?\\\\b\",\"name\":\"constant.numeric.bql\"},{\"match\":\"<=|>=|!=|[<=>]|\\\\?~|!~|~\",\"name\":\"keyword.operator.comparison.bql\"},{\"match\":\"[-%*+/]\",\"name\":\"keyword.operator.arithmetic.bql\"},{\"match\":\"[(),]\",\"name\":\"punctuation.bql\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(price)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#commodity\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s(balance)\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.dated.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#meta\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},{\"begin\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\\\\s*(txn|[!#%\\\\&*?CMPR-U])\\\\s*(\\\".*?\\\")?\\\\s*(\\\".*?\\\")?\",\"beginCaptures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"},\"6\":{\"name\":\"support.function.directive.beancount\",\"patterns\":[{\"match\":\"txn|\\\\*\",\"name\":\"support.function.directive.txn.completed.beancount\"},{\"match\":\"!\",\"name\":\"support.function.directive.txn.incomplete.beancount\"},{\"match\":\"P\",\"name\":\"support.function.directive.txn.padding.beancount\"}]},\"7\":{\"name\":\"string.quoted.tiers.beancount\"},\"8\":{\"name\":\"string.quoted.narration.beancount\"}},\"end\":\"(?=^(\\\\s*$|\\\\S))\",\"name\":\"meta.directive.transaction.beancount\",\"patterns\":[{\"include\":\"#comments\"},{\"include\":\"#posting\"},{\"include\":\"#meta\"},{\"include\":\"#tag\"},{\"include\":\"#link\"},{\"include\":\"#illegal\"}]}],\"repository\":{\"account\":{\"begin\":\"([A-Z][a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.language.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\s\",\"name\":\"meta.account.beancount\",\"patterns\":[{\"begin\":\"(\\\\S+)(:?)\",\"beginCaptures\":{\"1\":{\"name\":\"variable.other.account.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"(:?)|(\\\\s)\",\"patterns\":[{\"include\":\"$self\"},{\"include\":\"#illegal\"}]}]},\"amount\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"([-+|]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\\\\s*([A-Z][-'.0-9A-Z_]{0,22}[0-9A-Z])\",\"name\":\"meta.amount.beancount\"},\"bool\":{\"captures\":{\"0\":{\"name\":\"constant.language.bool.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"},\"3\":{\"name\":\"entity.name.type.commodity.beancount\"}},\"match\":\"TRUE|FALSE\"},\"comments\":{\"captures\":{\"1\":{\"name\":\"comment.line.beancount\"}},\"match\":\"(;.*)$\"},\"commodity\":{\"match\":\"([A-Z][-'.0-9A-Z_]{0,22}[0-9A-Z])\",\"name\":\"entity.name.type.commodity.beancount\"},\"cost\":{\"begin\":\"\\\\{\\\\{?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"}}?\",\"endCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"name\":\"meta.cost.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#date\"},{\"match\":\",\",\"name\":\"punctuation.separator.beancount\"},{\"include\":\"#illegal\"}]},\"date\":{\"captures\":{\"1\":{\"name\":\"constant.numeric.date.year.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"},\"3\":{\"name\":\"constant.numeric.date.month.beancount\"},\"4\":{\"name\":\"punctuation.separator.beancount\"},\"5\":{\"name\":\"constant.numeric.date.day.beancount\"}},\"match\":\"([0-9]{4})([-/|])([0-9]{2})([-/|])([0-9]{2})\",\"name\":\"meta.date.beancount\"},\"flag\":{\"match\":\"(?<=\\\\s)([!#%\\\\&*?CMPR-U])(?=\\\\s+)\",\"name\":\"keyword.other.beancount\"},\"illegal\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.unrecognized.beancount\"},\"link\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.link.beancount\"},\"2\":{\"name\":\"markup.underline.link.beancount\"}},\"match\":\"(\\\\^)([\\\\--9A-Z_a-z]+)\"},\"meta\":{\"begin\":\"^\\\\s*([a-z][-0-9A-Z_a-z]+)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.directive.beancount\"},\"2\":{\"name\":\"punctuation.separator.beancount\"}},\"end\":\"\\\\n\",\"name\":\"meta.meta.beancount\",\"patterns\":[{\"include\":\"#string\"},{\"include\":\"#account\"},{\"include\":\"#bool\"},{\"include\":\"#commodity\"},{\"include\":\"#date\"},{\"include\":\"#tag\"},{\"include\":\"#amount\"},{\"include\":\"#number\"},{\"include\":\"#comments\"},{\"include\":\"#illegal\"}]},\"number\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.modifier.beancount\"},\"2\":{\"name\":\"constant.numeric.currency.beancount\"}},\"match\":\"([-+|]?)(\\\\d+(?:,\\\\d{3})*(?:\\\\.\\\\d*)?)\"},\"posting\":{\"begin\":\"^\\\\s+(?=([!A-Z]))\",\"end\":\"(?=^(\\\\s*$|\\\\S|\\\\s*[A-Z]))\",\"name\":\"meta.posting.beancount\",\"patterns\":[{\"include\":\"#meta\"},{\"include\":\"#comments\"},{\"include\":\"#flag\"},{\"include\":\"#account\"},{\"include\":\"#amount\"},{\"include\":\"#cost\"},{\"include\":\"#date\"},{\"include\":\"#price\"},{\"include\":\"#illegal\"}]},\"price\":{\"begin\":\"@@?\",\"beginCaptures\":{\"0\":{\"name\":\"keyword.operator.assignment.beancount\"}},\"end\":\"(?=([\\\\n;]))\",\"name\":\"meta.price.beancount\",\"patterns\":[{\"include\":\"#amount\"},{\"include\":\"#illegal\"}]},\"string\":{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.beancount\",\"patterns\":[{\"match\":\"\\\\\\\\.\",\"name\":\"constant.character.escape.beancount\"}]},\"tag\":{\"captures\":{\"1\":{\"name\":\"keyword.operator.tag.beancount\"},\"2\":{\"name\":\"entity.name.tag.beancount\"}},\"match\":\"(#)([\\\\--9A-Z_a-z]+)\"}},\"scopeName\":\"text.beancount\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Rocq\",\"fileTypes\":[\"v\"],\"name\":\"coq\",\"patterns\":[{\"match\":\"\\\\b(From|Require|Import|Export|Local|Global|Include)\\\\b\",\"name\":\"keyword.control.import.rocq\"},{\"match\":\"\\\\b((Open|Close|Delimit|Undelimit|Bind)\\\\s+Scope)\\\\b\",\"name\":\"keyword.control.import.rocq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"entity.name.function.theorem.rocq\"}},\"match\":\"\\\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"match\":\"\\\\bGoal\\\\b\",\"name\":\"keyword.source.rocq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.assumption.rocq\"}},\"match\":\"\\\\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\\\\s+Inline)?\\\\b\\\\s*\\\\(?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.assumption.rocq\"}},\"match\":\"\\\\b(Context)\\\\b\\\\s*`?\\\\s*([({])?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.function.rocq\"}},\"match\":\"(\\\\b(?:Program|Local)\\\\s+)?\\\\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:(?:\\\\s+|\\\\s+Co)Fixpoint)?|Instance|Equations|Equations?)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"}},\"match\":\"\\\\b((Show\\\\s+)?Obligation\\\\s+Tactic|Obligations\\\\s+of|Obligation|Next\\\\s+Obligation(\\\\s+of)?|Solve\\\\s+Obligations(\\\\s+of)?|Solve\\\\s+All\\\\s+Obligations|Admit\\\\s+Obligations(\\\\s+of)?|Instance)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.type.rocq\"}},\"match\":\"\\\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\\\s+(>\\\\s*)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac2)\\\\s+(mutable\\\\s+)?(rec\\\\s+)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"match\":\"\\\\b(Hint(\\\\s+Mode)?|Create\\\\s+HintDb|Constructors|Resolve|Rewrite|Ltac2??|Implicit(\\\\s+Types)?|Set|Unset|Remove\\\\s+Printing|Arguments|((Tactic|Reserved)\\\\s+)?Notation|Infix|Section|Module(\\\\s+Type)?|End|Check|Print(\\\\s+All)?|Eval|Compute|Search|Universe|Coercions|Generalizable(\\\\s+(All|Variable))?|Existing(\\\\s+(Class|Instance))?|Canonical|About|Locate|Collection|Typeclasses\\\\s+(Opaque|Transparent))\\\\b\",\"name\":\"keyword.source.rocq\"},{\"match\":\"\\\\b(Proof|Qed|Defined|Save|Abort(\\\\s+All)?|Undo(\\\\s+To)?|Restart|Focus|Unfocus|Unfocused|Show\\\\s+Proof|Show\\\\s+Existentials|Show|Unshelve)\\\\b\",\"name\":\"keyword.source.rocq\"},{\"match\":\"\\\\b(Quit|Drop|Time|Redirect|Timeout|Fail)\\\\b\",\"name\":\"keyword.debug.rocq\"},{\"match\":\"\\\\b(admit|Admitted)\\\\b\",\"name\":\"invalid.illegal.admit.rocq\"},{\"match\":\"[-*+:<=>{|}¬→↔∧∨≠≤≥]\",\"name\":\"keyword.operator.rocq\"},{\"match\":\"\\\\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\\\\b|[∀∃]\",\"name\":\"support.type.rocq\"},{\"match\":\"\\\\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(into|with|eqn|by|move|as|using)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(match|lazymatch|multimatch|match!|lazy_match!|multi_match!|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\\\\b|λ\",\"name\":\"keyword.control.gallina\"},{\"match\":\"\\\\b(intros??|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exists??|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\\\\b\",\"name\":\"support.function.builtin.ltac\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*\\\\*(?!\\\\*)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.doc.rocq\",\"patterns\":[{\"include\":\"#doc_comment\"},{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.rocq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},{\"match\":\"\\\\b((0([Xx])\\\\h+)|([0-9]+(\\\\.[0-9]+)?))\\\\b\",\"name\":\"constant.numeric.gallina\"},{\"match\":\"\\\\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|[OS]|Eq|Lt|Gt|id|ex|all|unique)\\\\b\",\"name\":\"constant.language.constructor.gallina\"},{\"match\":\"\\\\b_\\\\b\",\"name\":\"constant.language.wildcard.rocq\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.rocq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.rocq\"}},\"name\":\"string.quoted.double.rocq\"}],\"repository\":{\"block_comment\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.rocq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},\"block_double_quoted_string\":{\"applyEndPatternLast\":1,\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.rocq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.rocq\"}},\"name\":\"string.quoted.double.rocq\"},\"doc_comment\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*\\\\*(?!\\\\*)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.doc.rocq\",\"patterns\":[{\"include\":\"#doc_comment\"},{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]}},\"scopeName\":\"source.rocq\"}"))
|
|
1
|
+
const lang = Object.freeze(JSON.parse("{\"displayName\":\"Rocq\",\"fileTypes\":[\"v\"],\"name\":\"coq\",\"patterns\":[{\"match\":\"\\\\b(From|Require|Import|Export|Local|Global|Include)\\\\b\",\"name\":\"keyword.control.import.rocq\"},{\"match\":\"\\\\b((Open|Close|Delimit|Undelimit|Bind|Declare)\\\\s+Scope)\\\\b\",\"name\":\"keyword.control.import.rocq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"entity.name.function.theorem.rocq\"}},\"match\":\"\\\\b(Theorem|Lemma|Remark|Fact|Corollary|Property|Proposition)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"match\":\"\\\\bGoal\\\\b\",\"name\":\"keyword.source.rocq\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.assumption.rocq\"}},\"match\":\"\\\\b(Parameters?|Axioms?|Conjectures?|Variables?|Hypothesis|Hypotheses)(\\\\s+Inline)?\\\\b\\\\s*\\\\(?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.assumption.rocq\"}},\"match\":\"\\\\b(Context)\\\\b\\\\s*`?\\\\s*([({])?\\\\s*(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.function.rocq\"}},\"match\":\"(\\\\b(?:Program|Local)\\\\s+)?\\\\b(Definition|Fixpoint|CoFixpoint|Function|Example|Let(?:(?:\\\\s+|\\\\s+Co)Fixpoint)?|Instance|Equations|Equations?)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"}},\"match\":\"\\\\b((Show\\\\s+)?Obligation\\\\s+Tactic|Obligations\\\\s+of|Obligation|Next\\\\s+Obligation(\\\\s+of)?|Solve\\\\s+Obligations(\\\\s+of)?|Solve\\\\s+All\\\\s+Obligations|Admit\\\\s+Obligations(\\\\s+of)?|Instance)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.type.rocq\"}},\"match\":\"\\\\b(CoInductive|Inductive|Variant|Record|Structure|Class)\\\\s+(>\\\\s*)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac)\\\\s+(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.source.rocq\"},\"2\":{\"name\":\"keyword.source.rocq\"},\"3\":{\"name\":\"entity.name.function.ltac\"}},\"match\":\"\\\\b(Ltac2)\\\\s+(mutable\\\\s+)?(rec\\\\s+)?(([_ \\\\p{L}])(['0-9_ \\\\p{L}])*)\"},{\"match\":\"\\\\b(Hint(\\\\s+Mode)?|Create\\\\s+HintDb|Constructors|Resolve|Rewrite|Ltac2??|Implicit(\\\\s+Types?)?|Set|Unset|Remove\\\\s+Printing|Arguments|((Tactic|Reserved)\\\\s+)?Notation|Infix|Section|Module(\\\\s+Type)?|End|Check|Print(\\\\s+All)?|Eval|Compute|Search|Universe|Coercions|Generalizable(\\\\s+(All|Variable))?|Existing(\\\\s+(Class|Instance))?|Canonical|About|Locate|Collection|Typeclasses\\\\s+(Opaque|Transparent))\\\\b\",\"name\":\"keyword.source.rocq\"},{\"match\":\"\\\\b(Proof|Qed|Defined|Save|Abort(\\\\s+All)?|Undo(\\\\s+To)?|Restart|Focus|Unfocus|Unfocused|Show\\\\s+Proof|Show\\\\s+Existentials|Show|Unshelve)\\\\b\",\"name\":\"keyword.source.rocq\"},{\"match\":\"\\\\b(Quit|Drop|Time|Redirect|Timeout|Fail)\\\\b\",\"name\":\"keyword.debug.rocq\"},{\"match\":\"\\\\b(admit|Admitted)\\\\b\",\"name\":\"invalid.illegal.admit.rocq\"},{\"match\":\"[-*+:<=>{|}¬→↔∧∨≠≤≥]\",\"name\":\"keyword.operator.rocq\"},{\"match\":\"\\\\b(forall|exists|Type|Set|Prop|nat|bool|option|list|unit|sum|prod|comparison|Empty_set)\\\\b|[∀∃]\",\"name\":\"support.type.rocq\"},{\"match\":\"\\\\b(try|repeat|rew|progress|fresh|solve|now|first|tryif|at|once|do|only)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(into|with|eqn|by|move|as|using)\\\\b\",\"name\":\"keyword.control.ltac\"},{\"match\":\"\\\\b(match|lazymatch|multimatch|match!|lazy_match!|multi_match!|fun|with|return|end|let|in|if|then|else|fix|for|where|and)\\\\b|λ\",\"name\":\"keyword.control.gallina\"},{\"match\":\"\\\\b(intros??|revert|induction|destruct|auto|eauto|tauto|eassumption|apply|eapply|assumption|constructor|econstructor|reflexivity|inversion|injection|assert|split|esplit|omega|fold|unfold|specialize|rewrite|erewrite|change|symmetry|refine|simpl|intuition|firstorder|generalize|idtac|exists??|eexists|elim|eelim|rename|subst|congruence|trivial|left|right|set|pose|discriminate|clear|clearbody|contradict|contradiction|exact|dependent|remember|case|easy|unshelve|pattern|transitivity|etransitivity|f_equal|exfalso|replace|abstract|cycle|swap|revgoals|shelve|unshelve)\\\\b\",\"name\":\"support.function.builtin.ltac\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*\\\\*(?!\\\\*)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.doc.rocq\",\"patterns\":[{\"include\":\"#doc_comment\"},{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.rocq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},{\"match\":\"\\\\b((0([Xx])\\\\h+)|([0-9]+(\\\\.[0-9]+)?))\\\\b\",\"name\":\"constant.numeric.gallina\"},{\"match\":\"\\\\b(True|False|tt|false|true|Some|None|nil|cons|pair|inl|inr|[OS]|Eq|Lt|Gt|id|ex|all|unique)\\\\b\",\"name\":\"constant.language.constructor.gallina\"},{\"match\":\"\\\\b_\\\\b\",\"name\":\"constant.language.wildcard.rocq\"},{\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.rocq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.rocq\"}},\"name\":\"string.quoted.double.rocq\"}],\"repository\":{\"block_comment\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*(?!#)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.block.rocq\",\"patterns\":[{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]},\"block_double_quoted_string\":{\"applyEndPatternLast\":1,\"begin\":\"\\\"\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.begin.rocq\"}},\"end\":\"\\\"\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.string.end.rocq\"}},\"name\":\"string.quoted.double.rocq\"},\"doc_comment\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\(\\\\*\\\\*(?!\\\\*)\",\"end\":\"\\\\*\\\\)\",\"name\":\"comment.doc.rocq\",\"patterns\":[{\"include\":\"#doc_comment\"},{\"include\":\"#block_comment\"},{\"include\":\"#block_double_quoted_string\"}]}},\"scopeName\":\"source.rocq\"}"))
|
|
2
2
|
|
|
3
3
|
export default [
|
|
4
4
|
lang
|