the editable site (validation-lab)

This commit is contained in:
kpgarrod committed 2026-11-21 08:03:55 +01:00
commit 3ac81d5a52
13454 files changed
+2227005

No files matched your search

+5
View File
@@ -0,0 +1,5 @@
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\":\"\\Line truncated
export default [
lang
]