Comparing version 0.9.15 to 0.10.0
import { IRawThemeSetting, IRawGrammar, IRawTheme } from 'vscode-textmate'; | ||
declare type Theme = 'alternight' | 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-darker' | 'material-default' | 'material-lighter' | 'material-ocean' | 'material-palenight' | 'min-dark' | 'min-light' | 'minimus' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-dark' | 'vitesse-light'; | ||
declare type Theme = 'css-variables' | 'dark-plus' | 'dracula-soft' | 'dracula' | 'github-dark-dimmed' | 'github-dark' | 'github-light' | 'light-plus' | 'material-darker' | 'material-default' | 'material-lighter' | 'material-ocean' | 'material-palenight' | 'min-dark' | 'min-light' | 'monokai' | 'nord' | 'one-dark-pro' | 'poimandres' | 'slack-dark' | 'slack-ochin' | 'solarized-dark' | 'solarized-light' | 'vitesse-dark' | 'vitesse-light'; | ||
declare const themes: Theme[]; | ||
@@ -125,3 +125,3 @@ | ||
*/ | ||
codeToHtml(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>): string; | ||
codeToHtml(code: string, lang?: StringLiteralUnion<Lang>, theme?: StringLiteralUnion<Theme>, options?: HtmlOptions): string; | ||
/** | ||
@@ -237,3 +237,11 @@ * Convert code to HTML tokens. | ||
theme?: StringLiteralUnion<Theme>; | ||
lineOptions?: LineOption[]; | ||
} | ||
interface LineOption { | ||
/** | ||
* 1-based line number. | ||
*/ | ||
line: number; | ||
classes?: string[]; | ||
} | ||
interface ThemedTokenizerOptions { | ||
@@ -247,3 +255,3 @@ /** | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'c' | 'clojure' | 'clj' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'c#' | 'css' | 'd' | 'dart' | 'diff' | 'docker' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'fish' | 'fsharp' | 'f#' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gnuplot' | 'go' | 'graphql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hcl' | 'hlsl' | 'html' | 'ini' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'json' | 'jsonc' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'jupyter' | 'kotlin' | 'latex' | 'less' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'matlab' | 'mdx' | 'nginx' | 'nim' | 'nix' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'riscv' | 'ruby' | 'rb' | 'rust' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'shell' | 'bash' | 'sh' | 'zsh' | 'smalltalk' | 'solidity' | 'sparql' | 'sql' | 'ssh-config' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vue-html' | 'vue' | 'wasm' | 'wenyan' | '文言' | 'xml' | 'xsl' | 'yaml'; | ||
declare type Lang = 'abap' | 'actionscript-3' | 'ada' | 'apache' | 'apex' | 'apl' | 'applescript' | 'asm' | 'astro' | 'awk' | 'ballerina' | 'bat' | 'batch' | 'berry' | 'be' | 'bibtex' | 'bicep' | 'c' | 'clojure' | 'clj' | 'cobol' | 'codeql' | 'ql' | 'coffee' | 'cpp' | 'crystal' | 'csharp' | 'c#' | 'css' | 'cue' | 'd' | 'dart' | 'diff' | 'docker' | 'dream-maker' | 'elixir' | 'elm' | 'erb' | 'erlang' | 'fish' | 'fsharp' | 'f#' | 'gherkin' | 'git-commit' | 'git-rebase' | 'gnuplot' | 'go' | 'graphql' | 'groovy' | 'hack' | 'haml' | 'handlebars' | 'hbs' | 'haskell' | 'hcl' | 'hlsl' | 'html' | 'ini' | 'java' | 'javascript' | 'js' | 'jinja-html' | 'json' | 'jsonc' | 'jsonnet' | 'jssm' | 'fsl' | 'jsx' | 'julia' | 'jupyter' | 'kotlin' | 'latex' | 'less' | 'lisp' | 'logo' | 'lua' | 'make' | 'makefile' | 'markdown' | 'md' | 'matlab' | 'mdx' | 'nginx' | 'nim' | 'nix' | 'objective-c' | 'objc' | 'objective-cpp' | 'ocaml' | 'pascal' | 'perl' | 'php' | 'plsql' | 'postcss' | 'powershell' | 'ps' | 'ps1' | 'prisma' | 'prolog' | 'pug' | 'jade' | 'puppet' | 'purescript' | 'python' | 'py' | 'r' | 'raku' | 'perl6' | 'razor' | 'riscv' | 'ruby' | 'rb' | 'rust' | 'rs' | 'sas' | 'sass' | 'scala' | 'scheme' | 'scss' | 'shaderlab' | 'shader' | 'shellscript' | 'shell' | 'bash' | 'sh' | 'zsh' | 'smalltalk' | 'solidity' | 'sparql' | 'sql' | 'ssh-config' | 'stylus' | 'styl' | 'svelte' | 'swift' | 'system-verilog' | 'tasl' | 'tcl' | 'tex' | 'toml' | 'tsx' | 'turtle' | 'twig' | 'typescript' | 'ts' | 'vb' | 'cmd' | 'verilog' | 'vhdl' | 'viml' | 'vim' | 'vimscript' | 'vue-html' | 'vue' | 'wasm' | 'wenyan' | '文言' | 'xml' | 'xsl' | 'yaml'; | ||
declare const languages: ILanguageRegistration[]; | ||
@@ -257,2 +265,3 @@ | ||
bg?: string; | ||
lineOptions?: LineOption[]; | ||
} | ||
@@ -259,0 +268,0 @@ declare function renderToHtml(lines: IThemedToken[][], options?: HtmlRendererOptions): string; |
@@ -340,8 +340,6 @@ { | ||
{ | ||
"match": "(\\-|\\+)?((([0-9]+(\\.[0-9]+))|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?(?=\\s|\\.$|,|\\))", | ||
"name": "constant.numeric.cobol" | ||
"include": "#number-complex-constant" | ||
}, | ||
{ | ||
"match": "(\\-|\\+)?([0-9]+)(?=\\s|\\.$|,|\\))", | ||
"name": "constant.numeric.cobol" | ||
"include": "#number-simple-constant" | ||
}, | ||
@@ -358,3 +356,3 @@ { | ||
"begin": "(?i:exec\\s+sqlims|exec\\s+sql)", | ||
"name": "string.quoted.cobol.sql", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.sql", | ||
@@ -378,24 +376,27 @@ "patterns": [ | ||
"begin": "(?i:exec\\s+cics)", | ||
"name": "string.quoted.cobol.cics", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.cics", | ||
"patterns": [ | ||
{ | ||
"match": "(\\s+)(?i:abend|acquire|add|allocate|asktime|assign|bif|build|cancel|change|check|connect|converse|converttime|define|delay|delete|deleteq|deq|document|dump|endbr|endbrowse|enq|enter|extract|fetch|force|formattime|free|freemain|freemain64|gds|get|getmain|getmain64|getnext|get64|handle|ignore|inquire|invoke|issue|journal|link|load|monitor|move|point|pop|post|purge|push|put|put64|query|read|readnext|readprev|readq|receive|release|remove|reset|resetbr|resume|retrieve|return|rewind|rewrite|route|run|send|signal|signoff|signon|soapfault|spoolclose|spoolopen|spoolread|spoolwrite|start|startbr|startbrowse|nosuspend|suspend|syncpoint|test|transform|unlock|update|verify|wait|waitcics|web|write|writeq|wsacontext|wsaepr|xctl)(\\w+|\\s+|\\.|$)", | ||
"name": "keyword.verb.cics" | ||
"match": "(\\()", | ||
"name": "meta.symbol.cobol" | ||
}, | ||
{ | ||
"match": "(\\w+\\s*)?(\\()([0-9a-zA-Z\\-\\s\"']+)?(\\))?", | ||
"captures": { | ||
"1": { | ||
"name": "meta.symbol.cobol.cics" | ||
}, | ||
"2": { | ||
"name": "keyword.bracket.cobol" | ||
}, | ||
"3": { | ||
"name": "variable.cobol" | ||
}, | ||
"4": { | ||
"name": "keyword.bracket.cobol" | ||
} | ||
} | ||
"include": "#cics-keywords" | ||
}, | ||
{ | ||
"include": "#string-double-quoted-constant" | ||
}, | ||
{ | ||
"include": "#string-quoted-constant" | ||
}, | ||
{ | ||
"include": "#number-complex-constant" | ||
}, | ||
{ | ||
"include": "#number-simple-constant" | ||
}, | ||
{ | ||
"match": "([a-zA-Z-0-9_]*[a-zA-Z0-9]|([#]?[0-9a-zA-Z]+[a-zA-Z-0-9_]*[a-zA-Z0-9]))", | ||
"name": "variable.cobol" | ||
} | ||
@@ -407,3 +408,3 @@ ], | ||
"begin": "(?i:exec\\s+sqlims)", | ||
"name": "string.quoted.cobol.sqlims", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.sql", | ||
@@ -423,3 +424,3 @@ "patterns": [ | ||
"begin": "(?i:exec\\s+ado)", | ||
"name": "string.quoted.cobol.ado", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.sql", | ||
@@ -439,3 +440,3 @@ "patterns": [ | ||
"begin": "(?i:exec\\s+html)", | ||
"name": "string.quoted.cobol.html", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.html", | ||
@@ -451,3 +452,3 @@ "patterns": [ | ||
"begin": "(?i:exec\\s+java)", | ||
"name": "string.quoted.cobol.java", | ||
"name": "keyword.verb.cobol", | ||
"contentName": "meta.embedded.block.java", | ||
@@ -548,3 +549,3 @@ "patterns": [ | ||
{ | ||
"begin": "[gGzZ]\"", | ||
"begin": "(?<![\\-\\w])[gGzZ]\"", | ||
"beginCaptures": { | ||
@@ -564,3 +565,3 @@ "0": { | ||
{ | ||
"begin": "[gGzZ]'", | ||
"begin": "(?<![\\-\\w])[gGzZ]'", | ||
"beginCaptures": { | ||
@@ -580,3 +581,3 @@ "0": { | ||
{ | ||
"begin": "[gGnN]\"", | ||
"begin": "(?<![\\-\\w])[gGnN]\"", | ||
"beginCaptures": { | ||
@@ -596,3 +597,3 @@ "0": { | ||
{ | ||
"begin": "[gGnN]'", | ||
"begin": "(?<![\\-\\w])[gGnN]'", | ||
"beginCaptures": { | ||
@@ -612,3 +613,3 @@ "0": { | ||
{ | ||
"begin": "[uU]\"", | ||
"begin": "(?<![\\-\\w])[uU]\"", | ||
"beginCaptures": { | ||
@@ -628,3 +629,3 @@ "0": { | ||
{ | ||
"begin": "[uU]'", | ||
"begin": "(?<![\\-\\w])[uU]'", | ||
"beginCaptures": { | ||
@@ -660,3 +661,3 @@ "0": { | ||
"match": "(?<![-_])(?i:implements|inherits|constraints|constrain)(?=\\s|\\.)", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
@@ -681,3 +682,3 @@ { | ||
"match": "(?<![-_])(?i:select|use|thru|varying|giving|remainder|tallying|through|until|execute|returning|using|chaining|yielding|\\+\\+include|copy|replace)(?=\\s)", | ||
"name": "keyword.otherverbs.cobol" | ||
"name": "keyword.otherverb.cobol" | ||
}, | ||
@@ -694,7 +695,7 @@ { | ||
"match": "(?<![-_])(?i:function)(?=\\s|\\.)", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:end-accept|end-add|end-sync|end-compute|end-delete|end-display|end-divide|end-set|end-multiply|end-of-page|end-read|end-receive|end-return|end-rewrite|end-search|end-start|end-string|end-subtract|end-unstring|end-write|program|class|interface|enum|interface)(?![0-9A-Za-z_-])", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
@@ -713,3 +714,3 @@ { | ||
"0": { | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
@@ -771,3 +772,3 @@ "1": { | ||
"0": { | ||
"name": "keyword.verbs.cobol.aa" | ||
"name": "keyword.verb.cobol.aa" | ||
}, | ||
@@ -785,39 +786,69 @@ "1": { | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*\\([0-9]*\\)[vV][-+sS\\*$09aAbBxXpPnNzZ/,\\.]*\\([0-9]*\\)[-|+]", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture10.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*\\([0-9]*\\)[vV][-+sS\\*$09aAbBxXpPnNzZ/,\\.]*\\([0-9]*\\)", | ||
"name": "storage.type.picture.cobol" | ||
"match": "(?<![-_])((?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*)\\(([0-9]*)\\)([vV][-+sS\\*$09aAbBxXpPnNzZ/,\\.]*)\\(([0-9]*)\\)", | ||
"captures": { | ||
"1": { | ||
"name": "storage.type.picture9.cobol" | ||
}, | ||
"2": { | ||
"name": "constant.numeric.cobol" | ||
}, | ||
"3": { | ||
"name": "storage.type.picture9.cobol" | ||
}, | ||
"4": { | ||
"name": "constant.numeric.cobol" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*\\([0-9]*\\)[vV\\.][-+s\\*$09aAbBsSnNxXzZ/,]*[0-9\\.()]*", | ||
"name": "storage.type.picture.cobol" | ||
"match": "(?<![-_])((?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBxXpPnNzZ/,.]*)\\(([0-9]*)\\)([vV\\.][-+s\\*$09aAbBsSnNxXzZ/,]*[0-9\\.()])*", | ||
"captures": { | ||
"1": { | ||
"name": "storage.type.picture8.cobol" | ||
}, | ||
"2": { | ||
"name": "constant.numeric.cobol" | ||
}, | ||
"3": { | ||
"name": "storage.type.picture8.cobol" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBsSnpPNxXzZ/,.]*\\([0-9]*\\)[Vv\\.][-+s\\*0$9aAbBsSnNxpPXzZ/,]*", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture7.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBsSnpPNxXzZ/,.]*\\([0-9]*\\)[-+s\\*0$9aAbBsSnNxpPXzZ/,]*[Vv\\.][-+s\\*0$9aAbBsSnNxpPXzZ/,]*", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture6.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBsSnpPNxXzZ/,.]*\\([0-9]*\\)[-+s\\*0$9aAbBsSnNxpPXzZ/,]*", | ||
"name": "storage.type.picture.cobol" | ||
"match": "(?<![-_])((?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBsSnpPNxXzZ/,.]*)\\(([0-9]*)\\)[-+s\\*0$9aAbBsSnNxpPXzZ/,]*", | ||
"captures": { | ||
"1": { | ||
"name": "storage.type.picture5.cobol" | ||
}, | ||
"2": { | ||
"name": "constant.numeric.cobol" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+sS\\*$09aAbBsSnpNNxXzZ/,.]*\\([0-9]*\\)", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture4.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[sS]?[9aAbBsSnNxXzZ]*[Vv][9aAxbXzZ]*\\([0-9]*\\)", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture3.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[sS]?[9aAbBsSnNxXzZ]*[Vv][9aAxbXzZ]*", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture2.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:picture\\s+is|picture|pic\\s+is|pic)\\s+[-+\\*$9aAbBsSnpPNxXzZ/,.vV]*", | ||
"name": "storage.type.picture.cobol" | ||
"name": "storage.type.picture1.cobol" | ||
}, | ||
@@ -828,3 +859,3 @@ { | ||
"1": { | ||
"name": "invalid.illegal.keyword.verbs.acu.cobol" | ||
"name": "invalid.illegal.keyword.verb.acu.cobol" | ||
}, | ||
@@ -846,7 +877,7 @@ "2": { | ||
"match": "(?<![-_])(?i:accept|add|address|allocate|cancel|close|commit|compute|continue|delete|disable|display|bell|divide|eject|enable|enter|evaluate|exhibit|named|exit|free|generate|go\\s+to|initialize\\sonly|initialize|initiate|inspect|merge|end-set|set|end-invoke|invoke\\s+run|invoke|move|corresponding|corr|multiply|otherwise|open|sharing|sort-merge|purge|ready|read|kept|receive|release|return|rewrite|rounded|rollback|search|send|sort|collating\\s+sequence|collating|start|service|subtract|suppress|terminate|then|unlock|string|unstring|validate|write|next|statement|sentence)(?![0-9A-Za-z_-])", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
{ | ||
"match": "(?<![-_])(?i:thread-local)(?![0-9A-Za-z_-])", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
@@ -871,3 +902,3 @@ { | ||
"match": "(?i:not\\s+at\\s+end)(?![0-9A-Za-z_-])", | ||
"name": "keyword.verbs.cobol" | ||
"name": "keyword.verb.cobol" | ||
}, | ||
@@ -974,3 +1005,46 @@ { | ||
], | ||
"repository": { | ||
"cics-keywords": { | ||
"match": "(?<![\\-\\w])(?i:abcode|abdump|abend|abort|abprogram|abstime|accum|acee|acqactivity|acqprocess|acquactivity|action|activity|activityid|actpartn|add|address|after|aid|alarm|all|allocate|alter|alternate|altscrnht|altscrnwd|and|anykey|aplkybd|apltext|applid|as|asa|asis|asktime|asraintrpt|asrakey|asrapsw|asraregs|asraspc|asrastg|assign|asynchronous|at|attach|attachid|attributes|authenticate|autopage|auxiliary|base64|basicauth|below|bif|binary|bit|bodycharset|bookmark|brdata|brdatalength|brexit|bridge|browsetoken|btrans|buffer|build|burgeability|caddrlength|cancel|card|cbuff|ccsid|certificate|change|changetime|channel|char|characterset|check|chunkend|chunking|chunkno|chunkyes|cicsdatakey|ciphers|class|clear|cliconvert|client|clientaddr|clientaddrnu|clientconv|clientname|clntaddr6nu|clntipfamily|close|closestatus|clrpartn|cmdsec|cnamelength|cnotcompl|codepage|color|commarea|commonname|commonnamlen|comparemax|comparemin|complete|composite|compstatus|condition|confirm|confirmation|connect|consistent|console|container|contexttype|control|convdata|converse|convertst|converttime|convid|copy|counter|country|countrylen|create|critical|ctlchar|current|cursor|cwa|cwaleng|data|data1|data2|datalength|datalenth|dataonly|datapointer|dataset|datastr|datatoxml|datatype|datcontainer|date|dateform|datesep|datestring|day|daycount|dayofmonth|dayofweek|dayofyear|days|daysleft|day-of-week|dcounter|ddmmyy|ddmmyyyy|debkey|debrec|debug-contents|debug-item|debug-line|debug-name|debug-sub-1|debug-sub-2|debug-sub-3|deedit|default|define|defresp|defscrnht|defscrnwd|delay|delete|deleteq|delimiter|deq|destcount|destid|destidleng|detail|detaillength|dfhresp|dfhvalue|digest|digesttype|disconnect|docdelete|docsize|docstatus|doctoken|document|ds3270|dsscs|dump|dumpcode|dumpid|duprec|ecaddr|ecblist|eib|elemname|elemnamelen|elemns|elemnslen|end|endactivity|endbr|endbrowse|endfile|endoutput|enq|enter|entry|entryname|eoc|eods|eprfield|eprfrom|eprinto|eprlength|eprset|eprtype|equal|erase|eraseaup|error|errterm|esmreason|esmresp|event|eventtype|eventual|ewasupp|exception|expect|expirytime|extds|external|extract|facility|facilitytokn|false|faultactlen|faultactor|faultcode|faultcodelen|faultcodestr|faultstring|faultstrlen|fci|fct|field|file|firestatus|flength|fmh|fmhparm|for|force|formattime|formfeed|formfield|free|freekb|freemain|from|fromactivity|fromccsid|fromchannel|fromcodepage|fromdoc|fromflength|fromlength|fromprocess|frset|fulldate|function|gchars|gcodes|gds|generic|get|getmain|getnext|gmmi|groupid|gtec|gteq|handle|head|header|hex|high-value|high-values|hilight|hold|honeom|host|hostcodepage|hostlength|hosttype|hours|httpheader|httpmethod|httprnum|httpversion|httpvnum|ignore|immediate|in|increment|initimg|initparm|initparmlen|inpartn|input|inputevent|inputmsg|inputmsglen|inquire|insert|integer|interval|into|intoccsid|intocodepage|invalidcount|invite|invmpsz|invoke|invokingprog|invpartn|invreq|issue|issuer|item|iutype|journalname|jtypeid|jusfirst|juslast|justify|katakana|keep|keylength|keynumber|l40|l64|l80|label|langinuse|languagecode|last|lastusetime|ldc|ldcmnem|ldcnum|leavekb|length|lengthlist|level|lightpen|linage-counter|line|lineaddr|line-counter|link|list|listlength|llid|load|locality|localitylen|logmessage|logmode|logonlogmode|logonmsg|low-value|low-values|luname|main|map|mapcolumn|mapfail|mapheight|mapline|maponly|mapped|mappingdev|mapset|mapwidth|massinsert|maxdatalen|maxflength|maximum|maxlength|maxlifetime|maxproclen|mcc|mediatype|message|messageid|metadata|metadatalen|method|methodlength|milliseconds|minimum|minutes|mmddyy|mmddyyyy|mode|modename|monitor|month|monthofyear|move|msr|msrcontrol|name|namelength|natlang|natlanginuse|netname|newpassword|newphrase|newphraselen|next|nexttransid|nleom|noautopage|nocc|nocheck|nocliconvert|noclose|nodata|node|nodocdelete|nodump|noedit|noflush|nohandle|noinconvert|none|nooutconert|noqueue|noquiesce|nosrvconvert|nosuspend|note|notpurgeable|notruncate|nowait|nscontainer|null|nulls|numciphers|numevents|numitems|numrec|numroutes|numsegments|numtab|of|oidcard|on|opclass|open|operation|operator|operid|operkeys|operpurge|opid|opsecurity|options|or|orgabcode|organization|organizatlen|orgunit|orgunitlen|outdescr|outline|outpartn|output|owner|pa1|pa2|pa3|page|pagenum|page-counter|paging|parse|partn|partner|partnfail|partnpage|partns|partnset|pass|passbk|password|passwordlen|path|pathlength|pct|pf1|pf10|pf11|pf12|pf13|pf14|pf15|pf16|pf17|pf18|pf19|pf2|pf20|pf21|pf22|pf23|pf24|pf3|pf4|pf5|pf6|pf7|pf8|pf9|pfxleng|phrase|phraselen|piplength|piplist|point|pool|pop|portnumber|portnumnu|post|ppt|predicate|prefix|prepare|princonvid|prinsysid|print|priority|privacy|process|processtype|proclength|procname|profile|program|protect|ps|punch|purge|purgeable|push|put|qname|query|queryparm|querystring|querystrlen|queue|quote|quotes|random|rba|rbn|rdatt|read|readnext|readprev|readq|reattach|receive|receiver|recfm|record|recordlen|recordlength|reduce|refparms|refparmslen|relatesindex|relatestype|relatesuri|release|remove|repeatable|repetable|replace|reply|replylength|reqid|requesttype|resclass|reset|resetbr|resid|residlength|resource|resp|resp2|ressec|restart|restype|result|resume|retain|retcode|retcord|retriece|retrieve|return|returnprog|return-code|rewind|rewrite|ridfld|role|rolelength|rollback|route|routecodes|rprocess|rresource|rrn|rtermid|rtransid|run|saddrlength|scheme|schemename|scope|scopelen|scrnht|scrnwd|seconds|security|segmentlist|send|sender|serialnum|serialnumlen|server|serveraddr|serveraddrnu|serverconv|servername|service|session|sesstoken|set|shared|shift-in|shift-out|sigdata|signal|signoff|signon|sit|snamelength|soapfault|sort-control|sort-core-size|sort-file-size|sort-message|sort-mode-size|sort-return|sosi|space|spaces|spoolclose|spoolopen|spoolread|spoolwrite|srvconvert|srvraddr6nu|srvripfamily|ssltype|start|startbr|startbrowse|startcode|state|statelen|stationid|status|statuscode|statuslen|statustext|storage|strfield|stringformat|subaddr|subcodelen|subcodestr|subevent|subevent1|subevent2|subevent3|subevent4|subevent5|subevent6|subevent7|subevent8|sum|suspend|suspstatus|symbol|symbollist|synchronous|synclevel|synconreturn|syncpoint|sysid|tables|tally|task|taskpriority|tcpip|tcpipservice|tct|tctua|tctualeng|td|tellerid|template|termcode|termid|terminal|termpriority|test|text|textkybd|textlength|textprint|time|timeout|timer|timesep|title|to|toactivity|tochannel|tocontainer|toflength|token|tolength|toprocess|trace|tracenum|trailer|tranpriority|transaction|transform|transid|trigger|trt|true|ts|twa|twaleng|type|typename|typenamelen|typens|typenslen|unattend|uncommitted|unescaped|unexpin|unlock|until|uow|update|uri|urimap|url|urllength|userdatakey|userid|username|usernamelen|userpriority|using|validation|value|valuelength|verify|versionlen|volume|volumeleng|wait|waitcics|web|when-compiled|wpmedia1|wpmedia2|wpmedia3|wpmedia4|wrap|write|writeq|wsacontext|wsaepr|xctl|xmlcontainer|xmltodata|xmltransform|xrba|year|yyddd|yyddmm|yymmdd|yyyyddd|yyyyddmm|yyyymmdd|zero|zeroes|zeros)(?![\\-\\w])", | ||
"name": "keyword.verb.cics" | ||
}, | ||
"string-quoted-constant": { | ||
"begin": "'", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.cobol" | ||
} | ||
}, | ||
"end": "('|$)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.cobol" | ||
} | ||
}, | ||
"name": "string.quoted.single.cobol" | ||
}, | ||
"string-double-quoted-constant": { | ||
"begin": "\"", | ||
"beginCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.begin.cobol" | ||
} | ||
}, | ||
"end": "(\"|$)", | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.definition.string.end.cobol" | ||
} | ||
} | ||
}, | ||
"number-complex-constant": { | ||
"match": "(\\-|\\+)?((([0-9]+(\\.[0-9]+))|(\\.[0-9]+))((e|E)(\\+|-)?[0-9]+)?)([LlFfUuDd]|UL|ul)?(?=\\s|\\.$|,|\\))", | ||
"name": "constant.numeric.cobol" | ||
}, | ||
"number-simple-constant": { | ||
"match": "(\\-|\\+)?([0-9]+)(?=\\s|\\.$|,|\\))", | ||
"name": "constant.numeric.cobol" | ||
} | ||
}, | ||
"scopeName": "source.cobol" | ||
} |
@@ -300,2 +300,16 @@ { | ||
{ | ||
"begin": "\\s*~H\"\"\"", | ||
"comment": "HEEx Sigil", | ||
"end": "\\s*\"\"\"", | ||
"name": "sigil.heex", | ||
"patterns": [ | ||
{ | ||
"include": "text.elixir" | ||
}, | ||
{ | ||
"include": "text.html.basic" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "@(module|type)?doc (~[a-z])?\"\"\"", | ||
@@ -302,0 +316,0 @@ "comment": "@doc with heredocs is treated as documentation", |
@@ -161,2 +161,14 @@ { | ||
{ | ||
"include": "#graphql-comment" | ||
}, | ||
{ | ||
"include": "#graphql-description-docstring" | ||
}, | ||
{ | ||
"include": "#graphql-description-singleline" | ||
}, | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-ampersand" | ||
@@ -255,2 +267,5 @@ }, | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-variable-definitions" | ||
@@ -358,2 +373,5 @@ }, | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-skip-newlines" | ||
@@ -458,2 +476,5 @@ } | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-colon" | ||
@@ -906,2 +927,5 @@ }, | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-value" | ||
@@ -1036,2 +1060,5 @@ }, | ||
{ | ||
"include": "#graphql-directive" | ||
}, | ||
{ | ||
"include": "#graphql-enum-value" | ||
@@ -1043,2 +1070,14 @@ }, | ||
] | ||
}, | ||
{ | ||
"include": "#graphql-comment" | ||
}, | ||
{ | ||
"include": "#graphql-description-docstring" | ||
}, | ||
{ | ||
"include": "#graphql-description-singleline" | ||
}, | ||
{ | ||
"include": "#graphql-directive" | ||
} | ||
@@ -1045,0 +1084,0 @@ ] |
{ | ||
"fileTypes": ["tex"], | ||
"firstLineMatch": "^\\\\documentclass(\\[.*\\])?\\{.*\\}", | ||
"keyEquivalent": "^~L", | ||
"information_for_contributors": [ | ||
"This file has been converted from https://github.com/jlelong/vscode-latex-basics/blob/master/syntaxes/LaTeX.tmLanguage.json", | ||
"If you want to provide a fix or improvement, please create a pull request against the original repository.", | ||
"Once accepted there, we are happy to receive an update request." | ||
], | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/e1bb99ae10eae344e7c72f5b17e81ff7377991c4", | ||
"name": "latex", | ||
"scopeName": "text.tex.latex", | ||
"patterns": [ | ||
@@ -890,3 +894,3 @@ { | ||
{ | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)(tabular[xy*]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr)(\\})(\\s*\\n)?", | ||
"begin": "(?:\\s*)((\\\\)begin)(\\{)(tabular[xy*]?|xltabular|longtable|(?:long)?tabu|(?:long|tall)?tblr|NiceTabular[X*]?)(\\})(\\s*\\n)?", | ||
"captures": { | ||
@@ -1934,5 +1938,3 @@ "1": { | ||
} | ||
}, | ||
"scopeName": "text.tex.latex", | ||
"uuid": "3BEEA00C-6B1D-11D9-B8AD-000D93589AF6" | ||
} | ||
} |
{ | ||
"fileTypes": ["conf", "nginx"], | ||
"fileTypes": [ | ||
"conf.erb", | ||
"conf", | ||
"ngx", | ||
"nginx.conf", | ||
"mime.types", | ||
"fastcgi_params", | ||
"scgi_params", | ||
"uwsgi_params" | ||
], | ||
"foldingStartMarker": "\\{\\s*$", | ||
@@ -9,172 +18,2106 @@ "foldingStopMarker": "^\\s*\\}", | ||
{ | ||
"match": "\\#.*", | ||
"name": "comment" | ||
"name": "comment.line.number-sign", | ||
"match": "\\#.*" | ||
}, | ||
{ | ||
"match": "\\b\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}\\.\\d{1,3}(:\\d{1,5})?\\b", | ||
"name": "constant.numeric" | ||
"name": "meta.context.lua.nginx", | ||
"begin": "\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua(?:_block)?)\\s*\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"contentName": "meta.embedded.block.lua", | ||
"patterns": [ | ||
{ | ||
"include": "source.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b\\d+\\w+\\b", | ||
"name": "constant.numeric" | ||
"name": "meta.context.lua.nginx", | ||
"begin": "\\b((?:content|rewrite|access|init_worker|init|set|log|balancer|ssl_(?:client_hello|session_fetch|certificate))_by_lua)\\s*'", | ||
"end": "'", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"contentName": "meta.embedded.block.lua", | ||
"patterns": [ | ||
{ | ||
"include": "source.lua" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\{|\\}", | ||
"name": "constant.character.brace" | ||
"name": "meta.context.events.nginx", | ||
"begin": "\\b(events) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\;", | ||
"name": "constant.character.end" | ||
"name": "meta.context.http.nginx", | ||
"begin": "\\b(http) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\(|\\)", | ||
"name": "constant.character.paren" | ||
"name": "meta.context.mail.nginx", | ||
"begin": "\\b(mail) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\\"", | ||
"name": "constant.character.quote" | ||
"name": "meta.context.stream.nginx", | ||
"begin": "\\b(stream) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\\\.*\\ |\\~|\\~\\*|\\!\\~|\\!\\~\\*", | ||
"name": "string.regexp" | ||
"name": "meta.context.server.nginx", | ||
"begin": "\\b(server) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\\"(.*)\\\"", | ||
"name": "string.quoted" | ||
"name": "meta.context.location.nginx", | ||
"begin": "\\b(location) +([\\^]?~[\\*]?|=) +(.*?)\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.nginx" | ||
}, | ||
"3": { | ||
"name": "string.regexp.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\'(.*)\\'", | ||
"name": "string.quoted" | ||
"name": "meta.context.location.nginx", | ||
"begin": "\\b(location) +(.*?)\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
}, | ||
"2": { | ||
"name": "entity.name.context.location.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(events)\\b", | ||
"name": "constant.language.module.events" | ||
"name": "meta.context.limit_except.nginx", | ||
"begin": "\\b(limit_except) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b^(http)\\b", | ||
"name": "constant.language.module.http" | ||
"name": "meta.context.if.nginx", | ||
"begin": "\\b(if) +\\(", | ||
"end": "\\)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#if_condition" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(daemon|env|debug_points|error_log|log_not_found|include|lock_file|master_process|pid|ssl_engine|timer_resolution|types_hash_max_size|user|worker_cpu_affinity|worker_priority|worker_processes|worker_rlimit_core|worker_rlimit_nofile|worker_rlimit_sigpending|working_directory|try_files)\\b", | ||
"name": "constant.language.directive.module.main" | ||
"name": "meta.context.upstream.nginx", | ||
"begin": "\\b(upstream) +(.*?)\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
}, | ||
"2": { | ||
"name": "entity.name.context.location.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(accept_mutex|accept_mutex_delay|debug_connection|devpoll_changes|devpoll_events|epoll_events|kqueue_changes|kqueue_events|multi_accept|rtsig_signo|rtsig_overflow_events|rtsig_overflow_test|rtsig_overflow_threshold|use|worker_connections)\\b", | ||
"name": "constant.language.directive.module.events" | ||
"name": "meta.context.types.nginx", | ||
"begin": "\\b(types) +\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(alias|chunked_transfer_encoding|client_body_in_file_only|client_body_buffer_size|client_body_temp_path|client_body_timeout|client_header_buffer_size|client_header_timeout|client_max_body_size|default_type|error_page|index\\ |internal|keepalive_timeout|keepalive_requests|large_client_header_buffers|limit_except|limit_rate|listen|location|msie_padding|msie_refresh|optimize_server_names|port_in_redirect|recursive_error_pages|reset_timedout_connection|resolver|resolver_timeout|root|satisfy_any|send_timeout|sendfile|server|server_name|server_names_hash_max_size|server_names_hash_bucket_size|tcp_nodelay|tcp_nopush|types\\ |try_files)\\b", | ||
"name": "constant.language.directive.module.http" | ||
"name": "meta.context.map.nginx", | ||
"begin": "\\b(map) +(\\$)([A-Za-z0-9\\_]+) +(\\$)([A-Za-z0-9\\_]+) *\\{", | ||
"end": "\\}", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "storage.type.directive.context.nginx" | ||
}, | ||
"2": { | ||
"name": "punctuation.definition.variable.nginx" | ||
}, | ||
"3": { | ||
"name": "variable.parameter.nginx" | ||
}, | ||
"4": { | ||
"name": "punctuation.definition.variable.nginx" | ||
}, | ||
"5": { | ||
"name": "variable.other.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
}, | ||
{ | ||
"name": "punctuation.terminator.nginx", | ||
"match": ";" | ||
}, | ||
{ | ||
"name": "comment.line.number-sign", | ||
"match": "\\#.*" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(add_before_body|add_after_body|addition_types)\\b", | ||
"name": "constant.language.module.http.addition" | ||
"name": "meta.block.nginx", | ||
"begin": "\\{", | ||
"end": "\\}", | ||
"patterns": [ | ||
{ | ||
"include": "$self" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(allow|deny)\\b", | ||
"name": "constant.language.module.http.access" | ||
"begin": "\\b(return)\\b", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.control.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(auth_basic|auth_basic_user_file)\\b", | ||
"name": "constant.language.module.http.auth_basic" | ||
"begin": "\\b(rewrite)\\s+", | ||
"end": "(last|break|redirect|permanent)?(;)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"1": { | ||
"name": "keyword.other.nginx" | ||
}, | ||
"2": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(auth_jwt|auth_jwt_header_set|auth_jwt_claim_set|auth_jwt_key_file)\\b", | ||
"name": "constant.language.module.http.auth_jwt" | ||
"begin": "\\b(server)\\s+", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#server_parameters" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(autoindex|autoindex_exact_size|autoindex_format|autoindex_localtime)\\b", | ||
"name": "constant.language.module.http.autoindex" | ||
"begin": "\\b(internal|empty_gif|f4f|flv|hls|mp4|break|status|stub_status|ip_hash|ntlm|least_conn|upstream_conf|least_conn|zone_sync)\\b", | ||
"end": "(;|$)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "\\b(ancient_browser|ancient_browser_value|modern_browser|modern_browser_value)\\b", | ||
"name": "constant.language.module.http.browser" | ||
"begin": "([\"'\\s]|^)(accept_)(mutex|mutex_delay)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(charset|charset_map|override_charset|source_charset)\\b", | ||
"name": "constant.language.module.http.charset" | ||
"begin": "([\"'\\s]|^)(debug_)(connection|points)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(empty_gif)\\b", | ||
"name": "constant.language.module.http.empty_gif" | ||
"begin": "([\"'\\s]|^)(error_)(log|page)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(fastcgi_index|fastcgi_hide_header|fastcgi_ignore_client_abort|fastcgi_intercept_errors|fastcgi_param|fastcgi_pass|fastcgi_pass_header|fastcgi_read_timeout|fastcgi_redirect_errors|fa|stcgi_storefastcgi_store_access|fastcgi_buffers|fastcgi_buffers_size|fastcgi_temp_path|fastcgi_buffer_size|fastcgi_connect_timeout|fastcgi_send_timeout|fastcgi_split_path_info)\\b", | ||
"name": "constant.language.module.http.fastcgi" | ||
"begin": "([\"'\\s]|^)(ssl_)(engine|buffer_size|certificate|certificate_key|ciphers|client_certificate|conf_command|crl|dhparam|early_data|ecdh_curve|ocsp|ocsp_cache|ocsp_responder|password_file|prefer_server_ciphers|protocols|reject_handshake|session_cache|session_ticket_key|session_tickets|session_timeout|stapling|stapling_file|stapling_responder|stapling_verify|trusted_certificate|verify_client|verify_depth|alpn|handshake_timeout|preread)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(geo)\\b", | ||
"name": "constant.language.module.http.geo" | ||
"begin": "([\"'\\s]|^)(worker_)(aio_requests|connections|cpu_affinity|priority|processes|rlimit_core|rlimit_nofile|shutdown_timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(gzip|gzip_buffers|gzip_comp_level|gzip_disable|gzip_http.version|gzip_min_length|gzip_proxied|gzip_types|gzip_vary)\\b", | ||
"name": "constant.language.module.http.gzip" | ||
"begin": "([\"'\\s]|^)(auth_)(delay|basic|basic_user_file|jwt|jwt_claim_set|jwt_header_set|jwt_key_file|jwt_key_request|jwt_leeway|jwt_type|jwt_require|request|request_set|http|http_header|http_pass_client_cert|http_timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(add_header|expires|server_tokens)\\b", | ||
"name": "constant.language.module.http.headers" | ||
"begin": "([\"'\\s]|^)(client_)(body_buffer_size|body_in_file_only|body_in_single_buffer|body_temp_path|body_timeout|header_buffer_size|header_timeout|max_body_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(valid_referers)\\b", | ||
"name": "constant.language.module.http.referer" | ||
"begin": "([\"'\\s]|^)(keepalive_)(disable|requests|time|timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(limit_zone|limit_conn)\\b", | ||
"name": "constant.language.module.http.limit_zone" | ||
"begin": "([\"'\\s]|^)(limit_)(rate|rate_after|conn|conn_dry_run|conn_log_level|conn_status|conn_zone|zone|req|req_dry_run|req_log_level|req_status|req_zone)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(limit_req|limit_req_log_level|limit_req_status|limit_req_zone)\\b", | ||
"name": "constant.language.module.http.limit_req" | ||
"begin": "([\"'\\s]|^)(lingering_)(close|time|timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(access_log|log_format)\\b", | ||
"name": "constant.language.module.http.log" | ||
"begin": "([\"'\\s]|^)(log_)(not_found|subrequest|format)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(map|map_hash_max_size|map_hash_bucket_size)\\b", | ||
"name": "constant.language.module.http.map" | ||
"begin": "([\"'\\s]|^)(max_)(ranges|errors)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(memcached_pass|memcached_connect_timeout|memcached_send_timeout|memcached_read_timeout|memcached_buffer_size|memcached_next_upstream)\\b", | ||
"name": "constant.language.module.http.memcached" | ||
"begin": "([\"'\\s]|^)(msie_)(padding|refresh)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(proxy_buffer_size|proxy_buffering|proxy_buffers|proxy_busy_buffers_size|proxy_cache|proxy_cache_background_update|proxy_cache_bypass|proxy_cache_convert_head|proxy_cache_key|proxy_cache_lock|proxy_cache_lock_age|proxy_cache_lock_timeout|proxy_cache_max_range_offset|proxy_cache_methods|proxy_cache_min_uses|proxy_cache_path|proxy_cache_purge|proxy_cache_revalidate|proxy_cache_use_stale|proxy_cache_valid|proxy_connect_timeout|proxy_headers_hash_bucket_size|proxy_headers_hash_max_size|proxy_hide_header|proxy_http_version|proxy_ignore_client_abort|proxy_intercept_errors|proxy_max_temp_file_size|proxy_method|proxy_next_upstream|proxy_next_upstream_tries|proxy_next_upstream_timeout|proxy_pass|proxy_pass_header|proxy_pass_request_body|proxy_pass_request_headers|proxy_read_timeout|proxy_redirect|proxy_redirect_errors|proxy_send_lowat|proxy_send_timeout|proxy_set_body|proxy_set_header|proxy_store|proxy_store_access|proxy_temp_file_write_size|proxy_t|emp_pathproxy_upstream_fail_timeout|proxy_upstream_max_fails|proxy_no_cache)\\b", | ||
"name": "constant.language.module.http.proxy" | ||
"begin": "([\"'\\s]|^)(open_)(file_cache|file_cache_errors|file_cache_min_uses|file_cache_valid|log_file_cache)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(set_real_ip_from|real_ip_header|real_ip_recursive)\\b", | ||
"name": "constant.language.module.http.realip" | ||
"begin": "([\"'\\s]|^)(send_)(lowat|timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(break|if|return|reqrite|set|uninitialized_variable_warn)\\b", | ||
"name": "constant.language.module.http.rewrite" | ||
"begin": "([\"'\\s]|^)(server_)(name|name_in_redirect|names_hash_bucket_size|names_hash_max_size|tokens)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(ssi|ssi_silent_errors|ssi_types|ssi_value_length)\\b", | ||
"name": "constant.language.module.http.ssi" | ||
"begin": "([\"'\\s]|^)(tcp_)(nodelay|nopush)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(ip_hash|upstream|server)\\b", | ||
"name": "constant.language.module.http.upstream" | ||
"begin": "([\"'\\s]|^)(types_)(hash_bucket_size|hash_max_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(userid|userid_domain|userid_expires|userid_name|userid_p3p|userid_path|userid_service)\\b", | ||
"name": "constant.language.module.http.userid" | ||
"begin": "([\"'\\s]|^)(variables_)(hash_bucket_size|hash_max_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(uwsgi_bind|uwsgi_buffer_size|uwsgi_buffering|uwsgi_buffers|uwsgi_busy_buffers_size|uwsgi_cache|uwsgi_cache_background_update|uwsgi_cache_bypass|uwsgi_cache_key|uwsgi_cache_lock|uwsgi_cache_lock_age|uwsgi_cache_lock_timeout|uwsgi_cache_max_range_offset|uwsgi_cache_methods|uwsgi_cache_min_uses|uwsgi_cache_path|uwsgi_cache_purge|uwsgi_cache_revalidate|uwsgi_cache_use_stale|uwsgi_cache_valid|uwsgi_connect_timeout|uwsgi_force_ranges|uwsgi_hide_header|uwsgi_ignore_client_abort|uwsgi_ignore_headers|uwsgi_intercept_errors|uwsgi_limit_rate|uwsgi_max_temp_file_size|uwsgi_modifier1|uwsgi_modifier2|uwsgi_next_upstream|uwsgi_next_upstream_timeout|uwsgi_next_upstream_tries|uwsgi_no_cache|uwsgi_param|uwsgi_pass|uwsgi_pass_header|uwsgi_pass_request_body|uwsgi_pass_request_headers|uwsgi_read_timeout|uwsgi_request_buffering|uwsgi_send_timeout|uwsgi_ssl_certificate|uwsgi_ssl_certificate_key|uwsgi_ssl_ciphers|uwsgi_ssl_crl|uwsgi_ssl_name|uwsgi_ssl_password_file|uwsgi_ssl_protocols|uwsgi_ssl_server_name|uwsgi_ssl_session_reuse|uwsgi_ssl_trusted_certificate|uwsgi_ssl_verify|uwsgi_ssl_verify_depth|uwsgi_store|uwsgi_store_access|uwsgi_temp_file_write_size|uwsgi_temp_path)\\b", | ||
"name": "constant.language.module.http.uwsgi" | ||
"begin": "([\"'\\s]|^)(add_)(before_body|after_body|header|trailer)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\b(ssl|ssl_buffer_size|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_client_certificate|ssl_crl|ssl_dhparam|ssl_ecdh_curve|ssl_password_file|ssl_prefer_server_ciphers|ssl_protocols|ssl_session_cache|ssl_session_ticket_key|ssl_session_tickets|ssl_session_timeout|ssl_stapling|ssl_stapling_file|ssl_stapling_responder|ssl_stapling_verify|ssl_trusted_certificate|ssl_verify_client|ssl_verify_depth)\\b", | ||
"name": "constant.language.directive.module.http" | ||
"begin": "([\"'\\s]|^)(status_)(zone|format)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"match": "\\$\\w+", | ||
"name": "variable" | ||
"begin": "([\"'\\s]|^)(autoindex_)(exact_size|format|localtime)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(ancient_)(browser|browser_value)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(modern_)(browser|browser_value)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(charset_)(map|types)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(dav_)(access|methods)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(fastcgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|catch_stderr|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|index|intercept_errors|keep_conn|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_lowat|send_timeout|socket_keepalive|split_path_info|store|store_access|temp_file_write_size|temp_path)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(geoip_)(country|city|org|proxy|proxy_recursive)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(grpc_)(bind|buffer_size|connect_timeout|hide_header|ignore_headers|intercept_errors|next_upstream|next_upstream_timeout|next_upstream_tries|pass|pass_header|read_timeout|send_timeout|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(gzip_)(buffers|comp_level|disable|http_version|min_length|proxied|types|vary|static)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(hls_)(buffers|forward_args|fragment|mp4_buffer_size|mp4_max_buffer_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(image_)(filter|filter_buffer|filter_interlace|filter_jpeg_quality|filter_sharpen|filter_transparency|filter_webp_quality)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(map_)(hash_bucket_size|hash_max_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(memcached_)(bind|buffer_size|connect_timeout|force_ranges|gzip_flag|next_upstream|next_upstream_timeout|next_upstream_tries|pass|read_timeout|send_timeout|socket_keepalive)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(mp4_)(buffer_size|max_buffer_size|limit_rate|limit_rate_after)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(perl_)(modules|require|set)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(proxy_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_convert_head|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|cookie_domain|cookie_flags|cookie_path|force_ranges|headers_hash_bucket_size|headers_hash_max_size|hide_header|http_version|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|method|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|redirect|request_buffering|send_lowat|send_timeout|set_body|set_header|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path|buffer|pass_error_message|protocol|smtp_auth|timeout|protocol_timeout|download_rate|half_close|requests|responses|session_drop|ssl|upload_rate)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(real_)(ip_header|ip_recursive)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(referer_)(hash_bucket_size|hash_max_size)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(scgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|store|store_access|temp_file_write_size|temp_path)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(secure_)(link|link_md5|link_secret)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(session_)(log|log_format|log_zone)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(spdy_)(chunk_size|headers_comp)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(ssi_)(last_modified|min_file_chunk|silent_errors|types|value_length)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(sub_)(filter|filter_last_modified|filter_once|filter_types)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(health_)(check|check_timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(userid_)(domain|expires|flags|mark|name|p3p|path|service)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(uwsgi_)(bind|buffer_size|buffering|buffers|busy_buffers_size|cache|cache_background_update|cache_bypass|cache_key|cache_lock|cache_lock_age|cache_lock_timeout|cache_max_range_offset|cache_methods|cache_min_uses|cache_path|cache_purge|cache_revalidate|cache_use_stale|cache_valid|connect_timeout|force_ranges|hide_header|ignore_client_abort|ignore_headers|intercept_errors|limit_rate|max_temp_file_size|modifier1|modifier2|next_upstream|next_upstream_timeout|next_upstream_tries|no_cache|param|pass|pass_header|pass_request_body|pass_request_headers|read_timeout|request_buffering|send_timeout|socket_keepalive|ssl_certificate|ssl_certificate_key|ssl_ciphers|ssl_conf_command|ssl_crl|ssl_name|ssl_password_file|ssl_protocols|ssl_server_name|ssl_session_reuse|ssl_trusted_certificate|ssl_verify|ssl_verify_depth|store|store_access|temp_file_write_size|temp_path)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(http2_)(body_preread_size|chunk_size|idle_timeout|max_concurrent_pushes|max_concurrent_streams|max_field_size|max_header_size|max_requests|push|push_preload|recv_buffer_size|recv_timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(xslt_)(last_modified|param|string_param|stylesheet|types)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(imap_)(auth|capabilities|client_buffer)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(pop3_)(auth|capabilities)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(smtp_)(auth|capabilities|client_buffer|greeting_delay)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(preread_)(buffer_size|timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(zone_)(sync_buffers|sync_connect_retry_interval|sync_connect_timeout|sync_interval|sync_recv_buffer_size|sync_server|sync_ssl|sync_ssl_certificate|sync_ssl_certificate_key|sync_ssl_ciphers|sync_ssl_conf_command|sync_ssl_crl|sync_ssl_name|sync_ssl_password_file|sync_ssl_protocols|sync_ssl_server_name|sync_ssl_trusted_certificate|sync_ssl_verify|sync_ssl_verify_depth|sync_timeout)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(js_)(body_filter|content|fetch_ciphers|fetch_protocols|fetch_trusted_certificate|fetch_verify_depth|header_filter|import|include|path|set|var|access|filter|preread)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"4": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "([\"'\\s]|^)(daemon|env|include|pid|use|user|aio|alias|directio|etag|listen|resolver|root|satisfy|sendfile|allow|deny|api|autoindex|charset|geo|gunzip|gzip|expires|index|keyval|mirror|perl|set|slice|ssi|ssl|zone|state|hash|keepalive|queue|random|sticky|match|userid|protocol|timeout|xclient|starttls|load_module|lock_file|master_process|multi_accept|pcre_jit|thread_pool|timer_resolution|working_directory|absolute_redirect|aio_write|chunked_transfer_encoding|connection_pool_size|default_type|directio_alignment|disable_symlinks|if_modified_since|ignore_invalid_headers|large_client_header_buffers|merge_slashes|output_buffers|port_in_redirect|postpone_output|read_ahead|recursive_error_pages|request_pool_size|reset_timedout_connection|resolver_timeout|sendfile_max_chunk|subrequest_output_buffer_size|try_files|underscores_in_headers|addition_types|override_charset|source_charset|create_full_put_path|min_delete_depth|f4f_buffer_size|gunzip_buffers|keyval_zone|access_log|mirror_request_body|random_index|set_real_ip_from|valid_referers|rewrite_log|uninitialized_variable_warn|split_clients|least_time|sticky_cookie_insert|xml_entities|google_perftools_profiles)([\"'\\s]|$)", | ||
"end": ";", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.directive.nginx" | ||
}, | ||
"3": { | ||
"name": "keyword.directive.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"0": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "\\b([a-zA-Z0-9\\_]+)\\s+", | ||
"end": "(;|$)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "keyword.directive.unknown.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
{ | ||
"begin": "\\b([a-z]+\\/[A-Za-z0-9\\-\\.\\+]+)\\b", | ||
"end": "(;)", | ||
"beginCaptures": { | ||
"1": { | ||
"name": "constant.other.mediatype.nginx" | ||
} | ||
}, | ||
"endCaptures": { | ||
"1": { | ||
"name": "punctuation.terminator.nginx" | ||
} | ||
}, | ||
"patterns": [ | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
} | ||
], | ||
"repository": { | ||
"if_condition": { | ||
"patterns": [ | ||
{ | ||
"include": "#variables" | ||
}, | ||
{ | ||
"name": "keyword.operator.nginx", | ||
"match": "\\!?\\~\\*?\\s" | ||
}, | ||
{ | ||
"name": "keyword.operator.nginx", | ||
"match": "\\!?\\-[fdex]\\s" | ||
}, | ||
{ | ||
"name": "keyword.operator.nginx", | ||
"match": "\\!?=[^=]" | ||
}, | ||
{ | ||
"include": "#regexp_and_string" | ||
} | ||
] | ||
}, | ||
"server_parameters": { | ||
"patterns": [ | ||
{ | ||
"match": "(?:^|\\s)(weight|max_conn|max_fails|fail_timeout|slow_start)(=)([0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?:\\s|;|$)", | ||
"captures": { | ||
"1": { | ||
"name": "variable.parameter.nginx" | ||
}, | ||
"2": { | ||
"name": "keyword.operator.nginx" | ||
}, | ||
"3": { | ||
"name": "constant.numeric.nginx" | ||
} | ||
} | ||
}, | ||
{ | ||
"include": "#values" | ||
} | ||
] | ||
}, | ||
"variables": { | ||
"patterns": [ | ||
{ | ||
"match": "(\\$)([A-Za-z0-9\\_]+)\\b", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.nginx" | ||
}, | ||
"2": { | ||
"name": "variable.other.nginx" | ||
} | ||
} | ||
}, | ||
{ | ||
"match": "(\\$\\{)([A-Za-z0-9\\_]+)(\\})", | ||
"captures": { | ||
"1": { | ||
"name": "punctuation.definition.variable.nginx" | ||
}, | ||
"2": { | ||
"name": "variable.other.nginx" | ||
}, | ||
"3": { | ||
"name": "punctuation.definition.variable.nginx" | ||
} | ||
} | ||
} | ||
] | ||
}, | ||
"regexp_and_string": { | ||
"patterns": [ | ||
{ | ||
"name": "string.regexp.nginx", | ||
"match": "\\^.*?\\$" | ||
}, | ||
{ | ||
"name": "string.quoted.double.nginx", | ||
"begin": "\"", | ||
"end": "\"", | ||
"patterns": [ | ||
{ | ||
"name": "constant.character.escape.nginx", | ||
"match": "\\\\[\"'nt\\\\]" | ||
}, | ||
{ | ||
"include": "#variables" | ||
} | ||
] | ||
}, | ||
{ | ||
"name": "string.quoted.single.nginx", | ||
"begin": "'", | ||
"end": "'", | ||
"patterns": [ | ||
{ | ||
"name": "constant.character.escape.nginx", | ||
"match": "\\\\[\"'nt\\\\]" | ||
}, | ||
{ | ||
"include": "#variables" | ||
} | ||
] | ||
} | ||
] | ||
}, | ||
"values": { | ||
"patterns": [ | ||
{ | ||
"include": "#variables" | ||
}, | ||
{ | ||
"name": "comment.line.number-sign", | ||
"match": "\\#.*" | ||
}, | ||
{ | ||
"match": "[\\t ](=?[0-9][0-9\\.]*[bBkKmMgGtTsShHdD]?)(?=[\\t ;])", | ||
"captures": { | ||
"1": { | ||
"name": "constant.numeric.nginx" | ||
} | ||
} | ||
}, | ||
{ | ||
"name": "constant.language.nginx", | ||
"match": "[\\t ](on|off|true|false)(?=[\\t ;])" | ||
}, | ||
{ | ||
"name": "constant.language.nginx", | ||
"match": "[\\t ](kqueue|rtsig|epoll|\\/dev\\/poll|select|poll|eventport|max|all|default_server|default|main|crit|error|debug|warn|notice|last)(?=[\\t ;])" | ||
}, | ||
{ | ||
"name": "keyword.operator.nginx", | ||
"match": "\\\\.*\\ |\\~\\*|\\~|\\!\\~\\*|\\!\\~" | ||
}, | ||
{ | ||
"include": "#regexp_and_string" | ||
} | ||
] | ||
} | ||
}, | ||
"scopeName": "source.nginx", | ||
"uuid": "0C04066A-12D2-43CA-8238-00A12CE4C12D" | ||
} |
@@ -387,2 +387,14 @@ { | ||
{ | ||
"captures": { | ||
"1": { | ||
"name": "constant.other.undef.systemverilog" | ||
}, | ||
"2": { | ||
"name": "entity.name.type.undef.systemverilog" | ||
} | ||
}, | ||
"match": "^\\s*(`undef)\\s+([a-zA-Z_][a-zA-Z0-9_]*)", | ||
"name": "meta.undef.systemverilog" | ||
}, | ||
{ | ||
"include": "#comments" | ||
@@ -389,0 +401,0 @@ }, |
{ | ||
"fileTypes": ["sty", "cls", "bbx", "cbx", "ltx"], | ||
"information_for_contributors": [ | ||
"This file has been converted from https://github.com/jlelong/vscode-latex-basics/blob/master/syntaxes/TeX.tmLanguage.json", | ||
"If you want to provide a fix or improvement, please create a pull request against the original repository.", | ||
"Once accepted there, we are happy to receive an update request." | ||
], | ||
"version": "https://github.com/jlelong/vscode-latex-basics/commit/afcc321aa1c119c37eb1aa3e2c1aa30bd039dd7f", | ||
"name": "tex", | ||
"scopeName": "text.tex", | ||
"patterns": [ | ||
@@ -160,2 +166,10 @@ { | ||
{ | ||
"match": "\\\\{|\\\\}", | ||
"name": "punctuation.math.bracket.pair.tex" | ||
}, | ||
{ | ||
"match": "\\\\(left|right|((big|bigg|Big|Bigg)[lr]?))([\\(\\[\\<\\>\\]\\)\\.]|\\\\{|\\\\})", | ||
"name": "punctuation.math.bracket.pair.big.tex" | ||
}, | ||
{ | ||
"captures": { | ||
@@ -245,7 +259,7 @@ "1": { | ||
{ | ||
"match": "\\(", | ||
"match": "(?<!\\\\)\\(", | ||
"name": "punctuation.math.begin.bracket.round.tex" | ||
}, | ||
{ | ||
"match": "\\)", | ||
"match": "(?<!\\\\)\\)", | ||
"name": "punctuation.math.end.bracket.round.tex" | ||
@@ -283,5 +297,3 @@ }, | ||
} | ||
}, | ||
"scopeName": "text.tex", | ||
"uuid": "6BC8DE6F-9360-4C7E-AC3C-971385945346" | ||
} | ||
} |
{ | ||
"name": "shiki", | ||
"version": "0.9.15", | ||
"version": "0.10.0", | ||
"description": "shiki", | ||
@@ -25,2 +25,3 @@ "author": "Pine Wu <octref@gmail.com>", | ||
"scripts": { | ||
"prepublishOnly": "npm run build", | ||
"build": "rollup -c", | ||
@@ -44,3 +45,4 @@ "watch": "rollup -c -w" | ||
"path": false | ||
} | ||
}, | ||
"gitHead": "1d2daf811a78bdc15f18c57ca697ea3c30c3c691" | ||
} |
@@ -218,13 +218,2 @@ { | ||
"titleBar.inactiveForeground": "#7b7f8b", | ||
"notification.background": "#282A36", | ||
"notification.foreground": "#f6f6f4", | ||
"notification.buttonBackground": "#44475A", | ||
"notification.buttonForeground": "#f6f6f4", | ||
"notification.buttonHoverBackground": "#44475A75", | ||
"notification.errorBackground": "#ee6666", | ||
"notification.errorForeground": "#f6f6f4", | ||
"notification.infoBackground": "#97e1f1", | ||
"notification.infoForeground": "#282A36", | ||
"notification.warningBackground": "#FFB86C", | ||
"notification.warningForeground": "#282A36", | ||
"extensionButton.prominentForeground": "#f6f6f4", | ||
@@ -238,3 +227,2 @@ "extensionButton.prominentBackground": "#50FA7B90", | ||
"settings.headerForeground": "#f6f6f4", | ||
"settings.modifiedItemForeground": "#FFB86C", | ||
"settings.modifiedItemIndicator": "#FFB86C", | ||
@@ -1044,4 +1032,20 @@ "settings.dropdownBackground": "#262626", | ||
} | ||
}, | ||
{ | ||
"name": "Log file error", | ||
"scope": ["log.error"], | ||
"settings": { | ||
"foreground": "#ee6666", | ||
"fontStyle": "bold" | ||
} | ||
}, | ||
{ | ||
"name": "Log file warning", | ||
"scope": ["log.warning"], | ||
"settings": { | ||
"foreground": "#e7ee98", | ||
"fontStyle": "bold" | ||
} | ||
} | ||
] | ||
} |
@@ -218,13 +218,2 @@ { | ||
"titleBar.inactiveForeground": "#6272A4", | ||
"notification.background": "#282A36", | ||
"notification.foreground": "#F8F8F2", | ||
"notification.buttonBackground": "#44475A", | ||
"notification.buttonForeground": "#F8F8F2", | ||
"notification.buttonHoverBackground": "#44475A75", | ||
"notification.errorBackground": "#FF5555", | ||
"notification.errorForeground": "#F8F8F2", | ||
"notification.infoBackground": "#8BE9FD", | ||
"notification.infoForeground": "#282A36", | ||
"notification.warningBackground": "#FFB86C", | ||
"notification.warningForeground": "#282A36", | ||
"extensionButton.prominentForeground": "#F8F8F2", | ||
@@ -238,3 +227,2 @@ "extensionButton.prominentBackground": "#50FA7B90", | ||
"settings.headerForeground": "#F8F8F2", | ||
"settings.modifiedItemForeground": "#FFB86C", | ||
"settings.modifiedItemIndicator": "#FFB86C", | ||
@@ -1044,4 +1032,20 @@ "settings.dropdownBackground": "#21222C", | ||
} | ||
}, | ||
{ | ||
"name": "Log file error", | ||
"scope": ["log.error"], | ||
"settings": { | ||
"foreground": "#FF5555", | ||
"fontStyle": "bold" | ||
} | ||
}, | ||
{ | ||
"name": "Log file warning", | ||
"scope": ["log.warning"], | ||
"settings": { | ||
"foreground": "#F1FA8C", | ||
"fontStyle": "bold" | ||
} | ||
} | ||
] | ||
} |
@@ -124,13 +124,13 @@ { | ||
{ | ||
"name": "regexp operator.quantifier", | ||
"scope": "keyword.operator.quantifier.regexp", | ||
"name": "keyword.operator", | ||
"scope": ["keyword.operator.word"], | ||
"settings": { | ||
"foreground": "#d19a66" | ||
"foreground": "#c678dd" | ||
} | ||
}, | ||
{ | ||
"name": "punctuation.definition", | ||
"scope": "punctuation.definition.string.begin,punctuation.definition.string.end", | ||
"name": "regexp operator.quantifier", | ||
"scope": "keyword.operator.quantifier.regexp", | ||
"settings": { | ||
"foreground": "#98c379" | ||
"foreground": "#d19a66" | ||
} | ||
@@ -1845,2 +1845,16 @@ }, | ||
{ | ||
"name": "php scope", | ||
"scope": "entity.name.variable.parameter.php,punctuation.separator.colon.php,constant.other.php", | ||
"settings": { | ||
"foreground": "#abb2bf" | ||
} | ||
}, | ||
{ | ||
"name": "Assembly", | ||
"scope": ["constant.numeric.decimal.asm.x86_64"], | ||
"settings": { | ||
"foreground": "#c678dd" | ||
} | ||
}, | ||
{ | ||
"name": "js/ts italic", | ||
@@ -1847,0 +1861,0 @@ "scope": "entity.other.attribute-name.js,entity.other.attribute-name.ts,entity.other.attribute-name.jsx,entity.other.attribute-name.tsx,variable.parameter,variable.language.super", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
8102388
215
222504