@shikijs/langs-precompiled 3.1.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/abap.mjs +1 -1
- package/dist/actionscript-3.mjs +1 -1
- package/dist/ada.mjs +1 -1
- package/dist/angular-expression.mjs +1 -1
- package/dist/angular-html.mjs +1 -1
- package/dist/angular-inline-style.mjs +1 -1
- package/dist/angular-inline-template.mjs +1 -1
- package/dist/angular-ts.mjs +1 -1
- package/dist/apache.mjs +1 -1
- package/dist/apex.mjs +1 -1
- package/dist/apl.mjs +1 -1
- package/dist/applescript.mjs +1 -1
- package/dist/ara.mjs +1 -1
- package/dist/asciidoc.mjs +1 -1
- package/dist/asm.mjs +1 -1
- package/dist/astro.mjs +1 -1
- package/dist/awk.mjs +1 -1
- package/dist/ballerina.mjs +1 -1
- package/dist/bat.mjs +1 -1
- package/dist/beancount.mjs +1 -1
- package/dist/berry.mjs +1 -1
- package/dist/bicep.mjs +1 -1
- package/dist/blade.mjs +1 -1
- package/dist/bsl.mjs +1 -1
- package/dist/c.mjs +1 -1
- package/dist/cadence.mjs +1 -1
- package/dist/cairo.mjs +1 -1
- package/dist/clarity.mjs +1 -1
- package/dist/clojure.mjs +1 -1
- package/dist/cmake.mjs +1 -1
- package/dist/cobol.mjs +1 -1
- package/dist/codeql.mjs +1 -1
- package/dist/coffee.mjs +1 -1
- package/dist/common-lisp.mjs +1 -1
- package/dist/coq.mjs +1 -1
- package/dist/cpp-macro.mjs +1 -1
- package/dist/cpp.mjs +1 -1
- package/dist/crystal.mjs +1 -1
- package/dist/csharp.mjs +1 -1
- package/dist/css.mjs +1 -1
- package/dist/cue.mjs +1 -1
- package/dist/cypher.mjs +1 -1
- package/dist/d.mjs +1 -1
- package/dist/dart.mjs +1 -1
- package/dist/dax.mjs +1 -1
- package/dist/desktop.mjs +1 -1
- package/dist/diff.mjs +1 -1
- package/dist/dotenv.mjs +1 -1
- package/dist/dream-maker.mjs +1 -1
- package/dist/elixir.mjs +1 -1
- package/dist/elm.mjs +1 -1
- package/dist/emacs-lisp.mjs +1 -1
- package/dist/erlang.mjs +1 -1
- package/dist/es-tag-css.mjs +1 -1
- package/dist/es-tag-glsl.mjs +1 -1
- package/dist/es-tag-html.mjs +1 -1
- package/dist/es-tag-sql.mjs +1 -1
- package/dist/es-tag-xml.mjs +1 -1
- package/dist/fennel.mjs +1 -1
- package/dist/fish.mjs +1 -1
- package/dist/fluent.mjs +1 -1
- package/dist/fortran-free-form.mjs +1 -1
- package/dist/fsharp.mjs +1 -1
- package/dist/gdresource.mjs +1 -1
- package/dist/gdscript.mjs +1 -1
- package/dist/gdshader.mjs +1 -1
- package/dist/genie.mjs +1 -1
- package/dist/git-rebase.mjs +1 -1
- package/dist/gleam.mjs +1 -1
- package/dist/glimmer-js.mjs +1 -1
- package/dist/glimmer-ts.mjs +1 -1
- package/dist/glsl.mjs +1 -1
- package/dist/gnuplot.mjs +1 -1
- package/dist/go.mjs +1 -1
- package/dist/graphql.mjs +1 -1
- package/dist/groovy.mjs +1 -1
- package/dist/hack.mjs +1 -1
- package/dist/haml.mjs +1 -1
- package/dist/handlebars.mjs +1 -1
- package/dist/haskell.mjs +1 -1
- package/dist/haxe.mjs +1 -1
- package/dist/hcl.mjs +1 -1
- package/dist/hjson.mjs +1 -1
- package/dist/hlsl.mjs +1 -1
- package/dist/html-derivative.mjs +1 -1
- package/dist/html.mjs +1 -1
- package/dist/http.mjs +1 -1
- package/dist/hxml.mjs +1 -1
- package/dist/hy.mjs +1 -1
- package/dist/imba.mjs +1 -3
- package/dist/index.mjs +2 -0
- package/dist/java.mjs +1 -1
- package/dist/javascript.mjs +1 -1
- package/dist/jinja-html.mjs +1 -1
- package/dist/jinja.mjs +1 -1
- package/dist/jison.mjs +1 -1
- package/dist/json.mjs +1 -1
- package/dist/json5.mjs +1 -1
- package/dist/jsonc.mjs +1 -1
- package/dist/jsonl.mjs +1 -1
- package/dist/jsonnet.mjs +1 -1
- package/dist/jsx.mjs +1 -1
- package/dist/julia.mjs +1 -2
- package/dist/kotlin.mjs +1 -1
- package/dist/kusto.mjs +1 -1
- package/dist/latex.mjs +1 -1
- package/dist/lean.mjs +1 -1
- package/dist/less.mjs +1 -1
- package/dist/liquid.mjs +1 -1
- package/dist/llvm.d.mts +3 -0
- package/dist/llvm.mjs +5 -0
- package/dist/log.mjs +1 -1
- package/dist/lua.mjs +1 -1
- package/dist/luau.mjs +1 -1
- package/dist/make.mjs +1 -1
- package/dist/markdown-vue.mjs +1 -1
- package/dist/markdown.mjs +1 -1
- package/dist/marko.mjs +1 -1
- package/dist/matlab.mjs +1 -1
- package/dist/mdc.mjs +1 -1
- package/dist/mdx.mjs +1 -1
- package/dist/mermaid.mjs +1 -1
- package/dist/mipsasm.mjs +1 -1
- package/dist/mojo.mjs +1 -1
- package/dist/move.mjs +1 -1
- package/dist/narrat.mjs +1 -1
- package/dist/nextflow.mjs +1 -1
- package/dist/nginx.mjs +1 -1
- package/dist/nim.mjs +1 -1
- package/dist/nix.mjs +1 -1
- package/dist/nushell.mjs +1 -1
- package/dist/objective-c.mjs +1 -1
- package/dist/objective-cpp.mjs +1 -1
- package/dist/ocaml.mjs +1 -1
- package/dist/pascal.mjs +1 -1
- package/dist/perl.mjs +1 -1
- package/dist/php.mjs +1 -1
- package/dist/plsql.mjs +1 -1
- package/dist/po.mjs +1 -1
- package/dist/polar.mjs +1 -1
- package/dist/postcss.mjs +1 -1
- package/dist/powerquery.mjs +1 -1
- package/dist/powershell.mjs +1 -1
- package/dist/prisma.mjs +1 -1
- package/dist/prolog.mjs +1 -1
- package/dist/proto.mjs +1 -1
- package/dist/pug.mjs +1 -1
- package/dist/puppet.mjs +1 -1
- package/dist/purescript.mjs +6 -2
- package/dist/python.mjs +1 -1
- package/dist/qss.mjs +1 -1
- package/dist/r.mjs +1 -1
- package/dist/racket.mjs +1 -1
- package/dist/raku.mjs +1 -1
- package/dist/razor.mjs +1 -1
- package/dist/reg.mjs +1 -1
- package/dist/regexp.mjs +1 -1
- package/dist/rel.mjs +1 -1
- package/dist/riscv.mjs +1 -1
- package/dist/rst.mjs +1 -1
- package/dist/ruby.mjs +1 -1
- package/dist/rust.mjs +1 -1
- package/dist/sas.mjs +1 -1
- package/dist/sass.mjs +1 -1
- package/dist/scala.mjs +1 -1
- package/dist/scheme.mjs +1 -1
- package/dist/scss.mjs +1 -1
- package/dist/sdbl.mjs +1 -1
- package/dist/shaderlab.mjs +1 -1
- package/dist/shellscript.mjs +1 -1
- package/dist/shellsession.mjs +1 -1
- package/dist/smalltalk.mjs +1 -1
- package/dist/solidity.mjs +1 -1
- package/dist/soy.mjs +1 -1
- package/dist/sparql.mjs +1 -1
- package/dist/splunk.mjs +1 -1
- package/dist/sql.mjs +1 -1
- package/dist/ssh-config.mjs +1 -1
- package/dist/stata.mjs +1 -1
- package/dist/stylus.mjs +1 -1
- package/dist/svelte.mjs +1 -1
- package/dist/system-verilog.mjs +1 -1
- package/dist/systemd.mjs +1 -1
- package/dist/talonscript.mjs +1 -1
- package/dist/tasl.mjs +1 -1
- package/dist/tcl.mjs +1 -1
- package/dist/templ.mjs +1 -1
- package/dist/terraform.mjs +1 -1
- package/dist/tex.mjs +1 -1
- package/dist/toml.mjs +1 -1
- package/dist/tsx.mjs +1 -1
- package/dist/twig.mjs +1 -1
- package/dist/typescript.mjs +1 -1
- package/dist/typespec.mjs +1 -1
- package/dist/typst.mjs +1 -1
- package/dist/v.mjs +1 -1
- package/dist/vala.mjs +1 -1
- package/dist/vb.mjs +1 -1
- package/dist/verilog.mjs +1 -1
- package/dist/vhdl.mjs +1 -1
- package/dist/viml.mjs +1 -1
- package/dist/vue-html.mjs +1 -1
- package/dist/vue-sfc-style-variable-injection.mjs +1 -1
- package/dist/vue.mjs +1 -1
- package/dist/vyper.mjs +1 -1
- package/dist/wasm.mjs +1 -1
- package/dist/wenyan.mjs +1 -1
- package/dist/wgsl.mjs +1 -1
- package/dist/wikitext.mjs +1 -1
- package/dist/wit.d.mts +3 -0
- package/dist/wit.mjs +5 -0
- package/dist/wolfram.mjs +1 -1
- package/dist/xml.mjs +1 -1
- package/dist/yaml.mjs +1 -1
- package/dist/zenscript.mjs +1 -1
- package/dist/zig.mjs +1 -1
- package/package.json +6 -4
package/dist/viml.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({displayName:"Vim Script",name:"viml",patterns:[{include:"#comment"},{include:"#constant"},{include:"#entity"},{include:"#keyword"},{include:"#punctuation"},{include:"#storage"},{include:"#strings"},{include:"#support"},{include:"#variable"},{include:"#syntax"},{include:"#commands"},{include:"#option"},{include:"#map"}],repository:{commands:{patterns:[{match:/\bcom(\p{space}|!)/dgv,name:"storage.other.command.viml"},{match:/\bau(\p{space}|!)/dgv,name:"storage.other.command.viml"},{match:/-bang/dgv,name:"storage.other.command.bang.viml"},{match:/-nargs=[\*\+0-9]+/dgv,name:"storage.other.command.args.viml"},{match:/-complete=\P{space}+/dgv,name:"storage.other.command.completion.viml"},{begin:/(aug(roup)?)/dgv,end:/(augroup\p{space}END|(?=\n?$))/dgv,name:"support.function.augroup.viml"}]},comment:{patterns:[{begin:/((\p{space}+)?""")/dgv,end:/^(?!")/dgv,name:"comment.block.documentation.viml"},{match:/^"\p{space}vim:[^\n]*/dgv,name:"comment.block.modeline.viml"},{begin:/(\p{space}+"\p{space}+)(?!")/dgv,end:/(?=\n?$)/dgv,name:"comment.line.viml",patterns:[{match:/\{\{\{\p{Nd}?(?=\n?$)/dgv,name:"comment.line.foldmarker.viml"},{match:/\}\}\}\p{Nd}?/dgv,name:"comment.line.foldmarker.viml"}]},{begin:/^(\p{space}+)?"/dgv,end:/(?=\n?$)/dgv,name:"comment.line.viml",patterns:[{match:/\{\{\{\p{Nd}?(?=\n?$)/dgv,name:"comment.line.foldmarker.viml"},{match:/\}\}\}\p{Nd}?/dgv,name:"comment.line.foldmarker.viml"}]}]},constant:{patterns:[{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.viml"},{match:/\b([0-9]+)\b/dgv,name:"constant.numeric.viml"}]},entity:{patterns:[{match:/(([absg]:)?[a-zA-Z0-9_\#\.]{2,})\b(?=\()/dgv,name:"entity.name.function.viml"}]},keyword:{patterns:[{match:/\b(if|while|for|return|au(g|group)|else(if|)?|do|in)\b/dgv,name:"keyword.control.viml"},{match:/\b(end|endif|endfor|endwhile)\p{space}|(?=\n?$)/dgv,name:"keyword.control.viml"},{match:/\b(break|continue|try|catch|endtry|finally|finish|throw|range)\b/dgv,name:"keyword.control.viml"},{match:/\b(fun|func|function|endfunction|endfunc)\b/dgv,name:"keyword.function.viml"},{match:/\b(normal|silent)\b/dgv,name:"keyword.other.viml"},{include:"#operators"}]},map:{patterns:[{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.map.viml"}},end:/(>|\p{space})/dgv,endCaptures:{"1":{name:"punctuation.definition.map.viml"}},patterns:[{match:/(?<=:\p{space})([^\n]+)/dgv,name:"constant.character.map.rhs.viml"},{match:/(bang|buffer|expr|nop|plug|sid|silent)/dgiv,name:"constant.character.map.special.viml"},{match:/([adcms]-[\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"constant.character.map.key.viml"},{match:/(F[0-9]+)/dgiv,name:"constant.character.map.key.fn.viml"},{match:/(bs|bar|cr|del|down|esc|left|right|space|tab|up|leader)/dgiv,name:"constant.character.map.viml"}]},{match:/(\b([cinostvx]?(nore)?map)\b)/dgv,name:"storage.type.map.viml"}]},operators:{patterns:[{match:/([\#\+\?\!\=\~\\])/dgv,name:"keyword.operator.viml"},{match:/ ([\:\-\.]|[\&\|]{2})( |(?=\n?$))/dgv,name:"keyword.operator.viml"},{match:/([\.]{3})/dgv,name:"keyword.operator.viml"},{match:/( [\<\>] )/dgv,name:"keyword.operator.viml"},{match:/(>=)/dgv,name:"keyword.operator.viml"}]},option:{patterns:[{match:/*@__PURE__*/ new EmulatedRegExp("&?\\b(al|aleph|anti|antialias|arab|arabic|arshape|arabicshape|ari|allowrevins|akm|altkeymap|ambw|ambiwidth|acd|autochdir|ai|autoindent|ar|autoread|aw|autowrite|awa|autowriteall|bg|background|bs|backspace|bk|backup|bkc|backupcopy|bdir|backupdir|bex|backupext|bsk|backupskip|bdlay|balloondelay|beval|ballooneval|bevalterm|balloonevalterm|bexpr|balloonexpr|bo|belloff|bin|binary|bomb|brk|breakat|bri|breakindent|briopt|breakindentopt|bsdir|browsedir|bh|bufhidden|bl|buflisted|bt|buftype|cmp|casemap|cd|cdpath|cedit|ccv|charconvert|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|cb|clipboard|ch|cmdheight|cwh|cmdwinheight|cc|colorcolumn|co|columns|com|comments|cms|commentstring|cp|compatible|cpt|complete|cocu|concealcursor|cole|conceallevel|cfu|completefunc|cot|completeopt|cf|confirm|ci|copyindent|cpo|cpoptions|cm|cryptmethod|cspc|cscopepathcomp|csprg|cscopeprg|csqf|cscopequickfix|csre|cscoperelative|cst|cscopetag|csto|cscopetagorder|csverb|cscopeverbose|crb|cursorbind|cuc|cursorcolumn|cul|cursorline|debug|def|define|deco|delcombine|dict|dictionary|diff|dex|diffexpr|dip|diffopt|dg|digraph|dir|directory|dy|display|ead|eadirection|ed|edcompatible|emo|emoji|enc|encoding|eol|endofline|ea|equalalways|ep|equalprg|eb|errorbells|ef|errorfile|efm|errorformat|ek|esckeys|ei|eventignore|et|expandtab|ex|exrc|fenc|fileencoding|fencs|fileencodings|ff|fileformat|ffs|fileformats|fic|fileignorecase|ft|filetype|fcs|fillchars|fixeol|fixendofline|fk|fkmap|fcl|foldclose|fdc|foldcolumn|fen|foldenable|fde|foldexpr|fdi|foldignore|fdl|foldlevel|fdls|foldlevelstart|fmr|foldmarker|fdm|foldmethod|fml|foldminlines|fdn|foldnestmax|fdo|foldopen|fdt|foldtext|fex|formatexpr|fo|formatoptions|flp|formatlistpat|fp|formatprg|fs|fsync|gd|gdefault|gfm|grepformat|gp|grepprg|gcr|guicursor|gfn|guifont|gfs|guifontset|gfw|guifontwide|ghr|guiheadroom|go|guioptions|guipty|gtl|guitablabel|gtt|guitabtooltip|hf|helpfile|hh|helpheight|hlg|helplang|hid|hidden|hl|highlight|hi|history|hk|hkmap|hkp|hkmapp|hls|hlsearch|icon|iconstring|ic|ignorecase|imaf|imactivatefunc|imak|imactivatekey|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|imsf|imstatusfunc|imst|imstyle|inc|include|inex|includeexpr|is|incsearch|inde|indentexpr|indk|indentkeys|inf|infercase|im|insertmode|isf|isfname|isi|isident|isk|iskeyword|isp|isprint|js|joinspaces|key|kmp|keymap|km|keymodel|kp|keywordprg|lmap|langmap|lm|langmenu|lnr|langnoremap|lrm|langremap|ls|laststatus|lz|lazyredraw|lbr|linebreak|lines|lsp|linespace|lisp|lw|lispwords|list|lcs|listchars|lpl|loadplugins|luadll|macatsui|magic|mef|makeef|menc|makeencoding|mp|makeprg|mps|matchpairs|mat|matchtime|mco|maxcombine|mfd|maxfuncdepth|mmd|maxmapdepth|mm|maxmem|mmp|maxmempattern|mmt|maxmemtot|mis|menuitems|msm|mkspellmem|ml|modeline|mls|modelines|ma|modifiable|mod|modified|more|mouse|mousef|mousefocus|mh|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mzschemedll|mzschemegcdll|mzq|mzquantum|nf|nrformats|nu|number|nuw|numberwidth|ofu|omnifunc|odev|opendevice|opfunc|operatorfunc|pp|packpath|para|paragraphs|paste|pt|pastetoggle|pex|patchexpr|pm|patchmode|pa|path|perldll|pi|preserveindent|pvh|previewheight|pvw|previewwindow|pdev|printdevice|penc|printencoding|pexpr|printexpr|pfn|printfont|pheader|printheader|pmbcs|printmbcharset|pmbfn|printmbfont|popt|printoptions|prompt|ph|pumheight|pythonthreedll|pythondll|pyx|pyxversion|qe|quoteescape|ro|readonly|rdt|redrawtime|re|regexpengine|rnu|relativenumber|remap|rop|renderoptions|report|rs|restorescreen|ri|revins|rl|rightleft|rlc|rightleftcmd|rubydll|ru|ruler|ruf|rulerformat|rtp|runtimepath|scr|scroll|scb|scrollbind|sj|scrolljump|so|scrolloff|sbo|scrollopt|sect|sections|secure|sel|selection|slm|selectmode|ssop|sessionoptions|sh|shell|shcf|shellcmdflag|sp|shellpipe|shq|shellquote|srr|shellredir|ssl|shellslash|stmp|shelltemp|st|shelltype|sxq|shellxquote|sxe|shellxescape|sr|shiftround|sw|shiftwidth|shm|shortmess|sn|shortname|sbr|showbreak|sc|showcmd|sft|showfulltag|sm|showmatch|smd|showmode|stal|showtabline|ss|sidescroll|siso|sidescrolloff|scl|signcolumn|scs|smartcase|si|smartindent|sta|smarttab|sts|softtabstop|spell|spc|spellcapcheck|spf|spellfile|spl|spelllang|sps|spellsuggest|sb|splitbelow|spr|splitright|sol|startofline|stl|statusline|su|suffixes|sua|suffixesadd|swf|swapfile|sws|swapsync|swb|switchbuf|smc|synmaxcol|syn|syntax|tal|tabline|tpm|tabpagemax|ts|tabstop|tbs|tagbsearch|tc|tagcase|tl|taglength|tr|tagrelative|tag|tags|tgst|tagstack|tcldll|term|tbidi|termbidi|tenc|termencoding|tgc|termguicolors|tk|termkey|tms|termsize|terse|ta|textauto|tx|textmode|tw|textwidth|tsr|thesaurus|top|tildeop|to|timeout|tm|timeoutlen|title|titlelen|titleold|titlestring|tb|toolbar|tbis|toolbariconsize|ttimeout|ttm|ttimeoutlen|tbi|ttybuiltin|tf|ttyfast|ttym|ttymouse|tsl|ttyscroll|tty|ttytype|udir|undodir|udf|undofile|ul|undolevels|ur|undoreload|uc|updatecount|ut|updatetime|vbs|verbose|vfile|verbosefile|vdir|viewdir|vop|viewoptions|vi|viminfo|vif|viminfofile|ve|virtualedit|vb|visualbell|warn|wiv|weirdinvert|ww|whichwrap|wc|wildchar|wcm|wildcharm|wig|wildignore|wic|wildignorecase|wmnu|wildmenu|wim|wildmode|wop|wildoptions|wak|winaltkeys|wi|window|wh|winheight|wfh|winfixheight|wfw|winfixwidth|wmh|winminheight|wmw|winminwidth|winptydll|wiw|winwidth|wrap|wm|wrapmargin|ws|wrapscan|write|wa|writeany|wb|writebackup|wd|writedelay)\\b","dgv",{"lazyCompile":true}),name:"support.type.option.viml"},{match:/*@__PURE__*/ new EmulatedRegExp("&?\\b(aleph|allowrevins|altkeymap|ambiwidth|autochdir|arabic|arabicshape|autoindent|autoread|autowrite|autowriteall|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|belloff|binary|bomb|breakat|breakindent|breakindentopt|browsedir|bufhidden|buflisted|buftype|casemap|cdpath|cedit|charconvert|cindent|cinkeys|cinoptions|cinwords|clipboard|cmdheight|cmdwinheight|colorcolumn|columns|comments|commentstring|complete|completefunc|completeopt|concealcursor|conceallevel|confirm|copyindent|cpoptions|cscopepathcomp|cscopeprg|cscopequickfix|cscoperelative|cscopetag|cscopetagorder|cscopeverbose|cursorbind|cursorcolumn|cursorline|debug|define|delcombine|dictionary|diff|diffexpr|diffopt|digraph|directory|display|eadirection|encoding|endofline|equalalways|equalprg|errorbells|errorfile|errorformat|eventignore|expandtab|exrc|fileencoding|fileencodings|fileformat|fileformats|fileignorecase|filetype|fillchars|fixendofline|fkmap|foldclose|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldopen|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fsync|gdefault|grepformat|grepprg|guicursor|guifont|guifontset|guifontwide|guioptions|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hidden|hlsearch|history|hkmap|hkmapp|icon|iconstring|ignorecase|imcmdline|imdisable|iminsert|imsearch|include|includeexpr|incsearch|indentexpr|indentkeys|infercase|insertmode|isfname|isident|iskeyword|isprint|joinspaces|keymap|keymodel|keywordprg|langmap|langmenu|langremap|laststatus|lazyredraw|linebreak|lines|linespace|lisp|lispwords|list|listchars|loadplugins|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|menuitems|mkspellmem|modeline|modelines|modifiable|modified|more|mouse|mousefocus|mousehide|mousemodel|mouseshape|mousetime|nrformats|number|numberwidth|omnifunc|opendevice|operatorfunc|packpath|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|perldll|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pumheight|pythondll|pythonthreedll|quoteescape|readonly|redrawtime|regexpengine|relativenumber|remap|report|revins|rightleft|rightleftcmd|rubydll|ruler|rulerformat|runtimepath|scroll|scrollbind|scrolljump|scrolloff|scrollopt|sections|secure|selection|selectmode|sessionoptions|shada|shell|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shellxescape|shellxquote|shiftround|shiftwidth|shortmess|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|sidescroll|sidescrolloff|signcolumn|smartcase|smartindent|smarttab|softtabstop|spell|spellcapcheck|spellfile|spelllang|spellsuggest|splitbelow|splitright|startofline|statusline|suffixes|suffixesadd|swapfile|switchbuf|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|tagcase|taglength|tagrelative|tags|tagstack|term|termbidi|terse|textwidth|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|ttimeout|ttimeoutlen|ttytype|undodir|undofile|undolevels|undoreload|updatecount|updatetime|verbose|verbosefile|viewdir|viewoptions|virtualedit|visualbell|warn|whichwrap|wildchar|wildcharm|wildignore|wildignorecase|wildmenu|wildmode|wildoptions|winaltkeys|window|winheight|winfixheight|winfixwidth|winminheight|winminwidth|winwidth|wrap|wrapmargin|wrapscan|write|writeany|writebackup|writedelay)\\b","dgv",{"lazyCompile":true}),name:"support.type.option.viml"},{match:/&?\b(al|ari|akm|ambw|acd|arab|arshape|ai|ar|aw|awa|bg|bs|bk|bkc|bdir|bex|bsk|bdlay|beval|bexpr|bo|bin|bomb|brk|bri|briopt|bsdir|bh|bl|bt|cmp|cd|cedit|ccv|cin|cink|cino|cinw|cb|ch|cwh|cc|co|com|cms|cpt|cfu|cot|cocu|cole|cf|ci|cpo|cspc|csprg|csqf|csre|cst|csto|cpo|crb|cuc|cul|debug|def|deco|dict|diff|dex|dip|dg|dir|dy|ead|enc|eol|ea|ep|eb|ef|efm|ei|et|ex|fenc|fencs|ff|ffs|fic|ft|fcs|fixeol|fk|fcl|fdc|fen|fde|fdi|fdl|fdls|fmr|fdm|fml|fdn|fdo|fdt|fex|flp|fo|fp|fs|gd|gfm|gp|gcr|gfn|gfs|gfw|go|gtl|gtt|hf|hh|hlg|hid|hls|hi|hk|hkp|icon|iconstring|ic|imc|imd|imi|ims|inc|inex|is|inde|indk|inf|im|isf|isi|isk|isp|js|kmp|km|kp|lmap|lm|lrm|ls|lz|lbr|lines|lsp|lisp|lw|list|lcs|lpl|magic|mef|mp|mps|mat|mco|mfd|mmd|mm|mmp|mmt|mis|msm|ml|mls|ma|mod|more|mouse|mousef|mh|mousem|mouses|mouset|nf|nu|nuw|ofu|odev|opfunc|pp|para|paste|pt|pex|pm|pa|perldll|pi|pvh|pvw|pdev|penc|pexpr|pfn|pheader|pmbcs|pmbfn|popt|prompt|ph|pythondll|pythonthreedlll|qe|ro|rdt|re|rnu|remap|report|ri|rl|rlc|rubydll|ru|ruf|rtp|scr|scb|sj|so|sbo|sect|secure|sel|slm|ssop|sd|sh|shcf|sp|shq|srr|ssl|stmp|sxe|sxq|sr|sw|shm|sbr|sc|sft|sm|smd|stal|ss|siso|scl|scs|si|sta|sts|spell|spc|spf|spl|sps|sb|spr|sol|stl|su|sua|swf|swb|smc|syn|tal|tpm|ts|tbs|tc|tl|tr|tag|tgst|term|tbidi|terse|tw|tsr|top|to|tm|title|titlelen|titleold|titlestring|ttimeout|ttm|tty|udir|udf|ul|ur|uc|ut|vbs|vfile|vdir|vop|ve|vb|warn|ww|wc|wcm|wig|wic|wmnu|wim|wop|wak|wi|wh|wfh|wfw|wmh|wmw|wiw|wrap|wm|ws|write|wa|wb|wd)\b/dgv,name:"support.type.option.shortname.viml"},{match:/\b(noanti|noantialias|noarab|noarabic|noarshape|noarabicshape|noari|noallowrevins|noakm|noaltkeymap|noacd|noautochdir|noai|noautoindent|noar|noautoread|noaw|noautowrite|noawa|noautowriteall|nobk|nobackup|nobeval|noballooneval|nobevalterm|noballoonevalterm|nobin|nobinary|nobomb|nobri|nobreakindent|nobl|nobuflisted|nocin|nocindent|nocp|nocompatible|nocf|noconfirm|noci|nocopyindent|nocsre|nocscoperelative|nocst|nocscopetag|nocsverb|nocscopeverbose|nocrb|nocursorbind|nocuc|nocursorcolumn|nocul|nocursorline|nodeco|nodelcombine|nodiff|nodg|nodigraph|noed|noedcompatible|noemo|noemoji|noeol|noendofline|noea|noequalalways|noeb|noerrorbells|noek|noesckeys|noet|noexpandtab|noex|noexrc|nofic|nofileignorecase|nofixeol|nofixendofline|nofk|nofkmap|nofen|nofoldenable|nofs|nofsync|nogd|nogdefault|noguipty|nohid|nohidden|nohk|nohkmap|nohkp|nohkmapp|nohls|nohlsearch|noicon|noic|noignorecase|noimc|noimcmdline|noimd|noimdisable|nois|noincsearch|noinf|noinfercase|noim|noinsertmode|nojs|nojoinspaces|nolnr|nolangnoremap|nolrm|nolangremap|nolz|nolazyredraw|nolbr|nolinebreak|nolisp|nolist|nolpl|noloadplugins|nomacatsui|nomagic|noml|nomodeline|noma|nomodifiable|nomod|nomodified|nomore|nomousef|nomousefocus|nomh|nomousehide|nonu|nonumber|noodev|noopendevice|nopaste|nopi|nopreserveindent|nopvw|nopreviewwindow|noprompt|noro|noreadonly|nornu|norelativenumber|nors|norestorescreen|nori|norevins|norl|norightleft|noru|noruler|noscb|noscrollbind|nosecure|nossl|noshellslash|nostmp|noshelltemp|nosr|noshiftround|nosn|noshortname|nosc|noshowcmd|nosft|noshowfulltag|nosm|noshowmatch|nosmd|noshowmode|noscs|nosmartcase|nosi|nosmartindent|nosta|nosmarttab|nospell|nosb|nosplitbelow|nospr|nosplitright|nosol|nostartofline|noswf|noswapfile|notbs|notagbsearch|notr|notagrelative|notgst|notagstack|notbidi|notermbidi|notgc|notermguicolors|noterse|nota|notextauto|notx|notextmode|notop|notildeop|noto|notimeout|notitle|nottimeout|notbi|nottybuiltin|notf|nottyfast|noudf|noundofile|novb|novisualbell|nowarn|nowiv|noweirdinvert|nowic|nowildignorecase|nowmnu|nowildmenu|nowfh|nowinfixheight|nowfw|nowinfixwidth|nowrapscan|nowrap|nows|nowrite|nowa|nowriteany|nowb|nowritebackup)\b/dgv,name:"support.type.option.off.viml"}]},punctuation:{patterns:[{match:/([\(\)])/dgv,name:"punctuation.parens.viml"},{match:/([\,])/dgv,name:"punctuation.comma.viml"}]},storage:{patterns:[{match:/\b(call|let|unlet)\b/dgv,name:"storage.viml"},{match:/\b(abort|autocmd)\b/dgv,name:"storage.viml"},{match:/\b(set(l|local)?)\b/dgv,name:"storage.viml"},{match:/\b(com(mand)?)\b/dgv,name:"storage.viml"},{match:/\b(color(scheme)?)\b/dgv,name:"storage.viml"},{match:/\b(Plug|Plugin)\b/dgv,name:"storage.plugin.viml"}]},strings:{patterns:[{begin:/"/dgv,end:/("|(?=\n?$))/dgv,name:"string.quoted.double.viml",patterns:[]},{begin:/'/dgv,end:/('|(?=\n?$))/dgv,name:"string.quoted.single.viml",patterns:[]},{match:/\/(\\\\|\\\/|[^\n\/])*\//dgv,name:"string.regexp.viml"}]},support:{patterns:[{match:/(add|call|delete|empty|extend|get|has|isdirectory|join|printf)(?=\()/dgv,name:"support.function.viml"},{match:/\b(echo(m|hl)?|exe(cute)?|redir|redraw|sleep|so(urce)?|wincmd|setf)\b/dgv,name:"support.function.viml"},{match:/(v:(beval_col|beval_bufnr|beval_lnum|beval_text|beval_winnr|char|charconvert_from|charconvert_to|cmdarg|cmdbang|count|count1|ctype|dying|errmsg|exception|fcs_reason|fcs_choice|fname_in|fname_out|fname_new|fname_diff|folddashes|foldlevel|foldend|foldstart|insertmode|key|lang|lc_time|lnum|mouse_win|mouse_lnum|mouse_col|oldfiles|operator|prevcount|profiling|progname|register|scrollstart|servername|searchforward|shell_error|statusmsg|swapname|swapchoice|swapcommand|termresponse|this_session|throwpoint|val|version|warningmsg|windowid))/dgv,name:"support.type.builtin.vim-variable.viml"},{match:/(&(cpo|isk|omnifunc|paste|previewwindow|rtp|tags|term|wrap))/dgv,name:"support.type.builtin.viml"},{match:/(&(shell(cmdflag|redir)?))/dgv,name:"support.type.builtin.viml"},{match:/<args>/dgv,name:"support.variable.args.viml"},{match:/\b(None|ErrorMsg|WarningMsg)\b/dgv,name:"support.type.syntax.viml"},{match:/\b(BufNewFile|BufReadPre|BufRead|BufReadPost|BufReadCmd|FileReadPre|FileReadPost|FileReadCmd|FilterReadPre|FilterReadPost|StdinReadPre|StdinReadPost|BufWrite|BufWritePre|BufWritePost|BufWriteCmd|FileWritePre|FileWritePost|FileWriteCmd|FileAppendPre|FileAppendPost|FileAppendCmd|FilterWritePre|FilterWritePost|BufAdd|BufCreate|BufDelete|BufWipeout|BufFilePre|BufFilePost|BufEnter|BufLeave|BufWinEnter|BufWinLeave|BufUnload|BufHidden|BufNew|SwapExists|TermOpen|TermClose|FileType|Syntax|OptionSet|VimEnter|GUIEnter|GUIFailed|TermResponse|QuitPre|VimLeavePre|VimLeave|DirChanged|FileChangedShell|FileChangedShellPost|FileChangedRO|ShellCmdPost|ShellFilterPost|CmdUndefined|FuncUndefined|SpellFileMissing|SourcePre|SourceCmd|VimResized|FocusGained|FocusLost|CursorHold|CursorHoldI|CursorMoved|CursorMovedI|WinNew|WinEnter|WinLeave|TabEnter|TabLeave|TabNew|TabNewEntered|TabClosed|CmdlineEnter|CmdlineLeave|CmdwinEnter|CmdwinLeave|InsertEnter|InsertChange|InsertLeave|InsertCharPre|TextYankPost|TextChanged|TextChangedI|ColorScheme|RemoteReply|QuickFixCmdPre|QuickFixCmdPost|SessionLoadPost|MenuPopup|CompleteDone|User)\b/dgv,name:"support.type.event.viml"},{match:/\b(Comment|Constant|String|Character|Number|Boolean|Float|Identifier|Function|Statement|Conditional|Repeat|Label|Operator|Keyword|Exception|PreProc|Include|Define|Macro|PreCondit|Type|StorageClass|Structure|Typedef|Special|SpecialChar|Tag|Delimiter|SpecialComment|Debug|Underlined|Ignore|Error|Todo)\b/dgv,name:"support.type.syntax-group.viml"}]},syntax:{patterns:[{match:/syn(tax)? case (ignore|match)/dgv,name:"keyword.control.syntax.viml"},{match:/syn(tax)? (clear|enable|include|off|on|manual|sync)/dgv,name:"keyword.control.syntax.viml"},{match:/\b(contained|display|excludenl|fold|keepend|oneline|skipnl|skipwhite|transparent)\b/dgv,name:"keyword.other.syntax.viml"},{match:/\b(add|containedin|contains|matchgroup|nextgroup)=/dgv,name:"keyword.other.syntax.viml"},{captures:{"1":{name:"keyword.other.syntax-range.viml"},"3":{name:"string.regexp.viml"}},match:/((start|skip|end)=)(\+\P{space}+\+\p{space})?/dgv},{captures:{"0":{name:"support.type.syntax.viml"},"1":{name:"storage.syntax.viml"},"3":{name:"variable.other.syntax-scope.viml"},"4":{name:"storage.modifier.syntax.viml"}},match:/(syn|syntax)\p{space}+(cluster|keyword|match|region)(\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)(contained)?/dgv,patterns:[]},{captures:{"1":{name:"storage.highlight.viml"},"2":{name:"storage.modifier.syntax.viml"},"3":{name:"support.function.highlight.viml"},"4":{name:"variable.other.viml"},"5":{name:"variable.other.viml"}},match:/(hi|highlight)\p{space}+(def|default)\p{space}+(link)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,patterns:[]}]},variable:{patterns:[{match:/https?:\/\/\P{space}+/dgv,name:"variable.other.link.viml"},{match:/(?<=\()([a-zA-Z]+)(?=\))/dgv,name:"variable.parameter.viml"},{match:/\b([absgl]:[a-zA-Z0-9_\.\#]+)\b(?!\()/dgv,name:"variable.other.viml"}]}},scopeName:"source.viml",embeddedLangs:undefined,aliases:["vim","vimscript"]})
|
|
3
|
+
const lang = Object.freeze({displayName:"Vim Script",name:"viml",patterns:[{include:"#comment"},{include:"#constant"},{include:"#entity"},{include:"#keyword"},{include:"#punctuation"},{include:"#storage"},{include:"#strings"},{include:"#support"},{include:"#variable"},{include:"#syntax"},{include:"#commands"},{include:"#option"},{include:"#map"}],repository:{commands:{patterns:[{match:/\bcom([\p{space}\!])/dgv,name:"storage.other.command.viml"},{match:/\bau([\p{space}\!])/dgv,name:"storage.other.command.viml"},{match:/-bang/dgv,name:"storage.other.command.bang.viml"},{match:/-nargs=[\*\+0-9]+/dgv,name:"storage.other.command.args.viml"},{match:/-complete=\P{space}+/dgv,name:"storage.other.command.completion.viml"},{begin:/(aug(roup)?)/dgv,end:/(augroup\p{space}END|(?=\n?$))/dgv,name:"support.function.augroup.viml"}]},comment:{patterns:[{begin:/((\p{space}+)?""")/dgv,end:/^(?!")/dgv,name:"comment.block.documentation.viml"},{match:/^"\p{space}vim:[^\n]*/dgv,name:"comment.block.modeline.viml"},{begin:/(\p{space}+"\p{space}+)(?!")/dgv,end:/(?=\n?$)/dgv,name:"comment.line.viml",patterns:[{match:/\{\{\{\p{Nd}?(?=\n?$)/dgv,name:"comment.line.foldmarker.viml"},{match:/\}\}\}\p{Nd}?/dgv,name:"comment.line.foldmarker.viml"}]},{begin:/^(\p{space}+)?"/dgv,end:/(?=\n?$)/dgv,name:"comment.line.viml",patterns:[{match:/\{\{\{\p{Nd}?(?=\n?$)/dgv,name:"comment.line.foldmarker.viml"},{match:/\}\}\}\p{Nd}?/dgv,name:"comment.line.foldmarker.viml"}]}]},constant:{patterns:[{match:/\b(true|false)\b/dgv,name:"constant.language.boolean.viml"},{match:/\b([0-9]+)\b/dgv,name:"constant.numeric.viml"}]},entity:{patterns:[{match:/(([absg]:)?[a-zA-Z0-9_\#\.]{2,})\b(?=\()/dgv,name:"entity.name.function.viml"}]},keyword:{patterns:[{match:/\b(if|while|for|return|au(g(?:|roup))|else(if|)?|do|in)\b/dgv,name:"keyword.control.viml"},{match:/\b(end(?:|if|for|while))\p{space}|(?=\n?$)/dgv,name:"keyword.control.viml"},{match:/\b(break|continue|try|catch|endtry|finally|finish|throw|range)\b/dgv,name:"keyword.control.viml"},{match:/\b(fun|func|function|endfunction|endfunc)\b/dgv,name:"keyword.function.viml"},{match:/\b(normal|silent)\b/dgv,name:"keyword.other.viml"},{include:"#operators"}]},map:{patterns:[{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.map.viml"}},end:/([\>\p{space}])/dgv,endCaptures:{"1":{name:"punctuation.definition.map.viml"}},patterns:[{match:/(?<=:\p{space})([^\n]+)/dgv,name:"constant.character.map.rhs.viml"},{match:/(bang|buffer|expr|nop|plug|sid|silent)/dgiv,name:"constant.character.map.special.viml"},{match:/([adcms]-[\p{L}\p{M}\p{N}\p{Pc}])/dgiv,name:"constant.character.map.key.viml"},{match:/(F[0-9]+)/dgiv,name:"constant.character.map.key.fn.viml"},{match:/(bs|bar|cr|del|down|esc|left|right|space|tab|up|leader)/dgiv,name:"constant.character.map.viml"}]},{match:/(\b([cinostvx]?(nore)?map)\b)/dgv,name:"storage.type.map.viml"}]},operators:{patterns:[{match:/([\#\+\?\!\=\~\\])/dgv,name:"keyword.operator.viml"},{match:/ ([\:\-\.]|[\&\|]{2})( |(?=\n?$))/dgv,name:"keyword.operator.viml"},{match:/(\.{3})/dgv,name:"keyword.operator.viml"},{match:/( [\<\>] )/dgv,name:"keyword.operator.viml"},{match:/(>=)/dgv,name:"keyword.operator.viml"}]},option:{patterns:[{match:/*@__PURE__*/ new EmulatedRegExp("&?\\b(al|aleph|anti|antialias|arab|arabic|arshape|arabicshape|ari|allowrevins|akm|altkeymap|ambw|ambiwidth|acd|autochdir|ai|autoindent|ar|autoread|aw|autowrite|awa|autowriteall|bg|background|bs|backspace|bk|backup|bkc|backupcopy|bdir|backupdir|bex|backupext|bsk|backupskip|bdlay|balloondelay|beval|ballooneval|bevalterm|balloonevalterm|bexpr|balloonexpr|bo|belloff|bin|binary|bomb|brk|breakat|bri|breakindent|briopt|breakindentopt|bsdir|browsedir|bh|bufhidden|bl|buflisted|bt|buftype|cmp|casemap|cd|cdpath|cedit|ccv|charconvert|cin|cindent|cink|cinkeys|cino|cinoptions|cinw|cinwords|cb|clipboard|ch|cmdheight|cwh|cmdwinheight|cc|colorcolumn|co|columns|com|comments|cms|commentstring|cp|compatible|cpt|complete|cocu|concealcursor|cole|conceallevel|cfu|completefunc|cot|completeopt|cf|confirm|ci|copyindent|cpo|cpoptions|cm|cryptmethod|cspc|cscopepathcomp|csprg|cscopeprg|csqf|cscopequickfix|csre|cscoperelative|cst|cscopetag|csto|cscopetagorder|csverb|cscopeverbose|crb|cursorbind|cuc|cursorcolumn|cul|cursorline|debug|def|define|deco|delcombine|dict|dictionary|diff|dex|diffexpr|dip|diffopt|dg|digraph|dir|directory|dy|display|ead|eadirection|ed|edcompatible|emo|emoji|enc|encoding|eol|endofline|ea|equalalways|ep|equalprg|eb|errorbells|ef|errorfile|efm|errorformat|ek|esckeys|ei|eventignore|et|expandtab|ex|exrc|fenc|fileencoding|fencs|fileencodings|ff|fileformat|ffs|fileformats|fic|fileignorecase|ft|filetype|fcs|fillchars|fixeol|fixendofline|fk|fkmap|fcl|foldclose|fdc|foldcolumn|fen|foldenable|fde|foldexpr|fdi|foldignore|fdl|foldlevel|fdls|foldlevelstart|fmr|foldmarker|fdm|foldmethod|fml|foldminlines|fdn|foldnestmax|fdo|foldopen|fdt|foldtext|fex|formatexpr|fo|formatoptions|flp|formatlistpat|fp|formatprg|fs|fsync|gd|gdefault|gfm|grepformat|gp|grepprg|gcr|guicursor|gfn|guifont|gfs|guifontset|gfw|guifontwide|ghr|guiheadroom|go|guioptions|guipty|gtl|guitablabel|gtt|guitabtooltip|hf|helpfile|hh|helpheight|hlg|helplang|hid|hidden|hl|highlight|hi|history|hk|hkmap|hkp|hkmapp|hls|hlsearch|icon|iconstring|ic|ignorecase|imaf|imactivatefunc|imak|imactivatekey|imc|imcmdline|imd|imdisable|imi|iminsert|ims|imsearch|imsf|imstatusfunc|imst|imstyle|inc|include|inex|includeexpr|is|incsearch|inde|indentexpr|indk|indentkeys|inf|infercase|im|insertmode|isf|isfname|isi|isident|isk|iskeyword|isp|isprint|js|joinspaces|key|kmp|keymap|km|keymodel|kp|keywordprg|lmap|langmap|lm|langmenu|lnr|langnoremap|lrm|langremap|ls|laststatus|lz|lazyredraw|lbr|linebreak|lines|lsp|linespace|lisp|lw|lispwords|list|lcs|listchars|lpl|loadplugins|luadll|macatsui|magic|mef|makeef|menc|makeencoding|mp|makeprg|mps|matchpairs|mat|matchtime|mco|maxcombine|mfd|maxfuncdepth|mmd|maxmapdepth|mm|maxmem|mmp|maxmempattern|mmt|maxmemtot|mis|menuitems|msm|mkspellmem|ml|modeline|mls|modelines|ma|modifiable|mod|modified|more|mouse|mousef|mousefocus|mh|mousehide|mousem|mousemodel|mouses|mouseshape|mouset|mousetime|mzschemedll|mzschemegcdll|mzq|mzquantum|nf|nrformats|nu|number|nuw|numberwidth|ofu|omnifunc|odev|opendevice|opfunc|operatorfunc|pp|packpath|para|paragraphs|paste|pt|pastetoggle|pex|patchexpr|pm|patchmode|pa|path|perldll|pi|preserveindent|pvh|previewheight|pvw|previewwindow|pdev|printdevice|penc|printencoding|pexpr|printexpr|pfn|printfont|pheader|printheader|pmbcs|printmbcharset|pmbfn|printmbfont|popt|printoptions|prompt|ph|pumheight|pythonthreedll|pythondll|pyx|pyxversion|qe|quoteescape|ro|readonly|rdt|redrawtime|re|regexpengine|rnu|relativenumber|remap|rop|renderoptions|report|rs|restorescreen|ri|revins|rl|rightleft|rlc|rightleftcmd|rubydll|ru|ruler|ruf|rulerformat|rtp|runtimepath|scr|scroll|scb|scrollbind|sj|scrolljump|so|scrolloff|sbo|scrollopt|sect|sections|secure|sel|selection|slm|selectmode|ssop|sessionoptions|sh|shell|shcf|shellcmdflag|sp|shellpipe|shq|shellquote|srr|shellredir|ssl|shellslash|stmp|shelltemp|st|shelltype|sxq|shellxquote|sxe|shellxescape|sr|shiftround|sw|shiftwidth|shm|shortmess|sn|shortname|sbr|showbreak|sc|showcmd|sft|showfulltag|sm|showmatch|smd|showmode|stal|showtabline|ss|sidescroll|siso|sidescrolloff|scl|signcolumn|scs|smartcase|si|smartindent|sta|smarttab|sts|softtabstop|spell|spc|spellcapcheck|spf|spellfile|spl|spelllang|sps|spellsuggest|sb|splitbelow|spr|splitright|sol|startofline|stl|statusline|su|suffixes|sua|suffixesadd|swf|swapfile|sws|swapsync|swb|switchbuf|smc|synmaxcol|syn|syntax|tal|tabline|tpm|tabpagemax|ts|tabstop|tbs|tagbsearch|tc|tagcase|tl|taglength|tr|tagrelative|tag|tags|tgst|tagstack|tcldll|term|tbidi|termbidi|tenc|termencoding|tgc|termguicolors|tk|termkey|tms|termsize|terse|ta|textauto|tx|textmode|tw|textwidth|tsr|thesaurus|top|tildeop|to|timeout|tm|timeoutlen|title|titlelen|titleold|titlestring|tb|toolbar|tbis|toolbariconsize|ttimeout|ttm|ttimeoutlen|tbi|ttybuiltin|tf|ttyfast|ttym|ttymouse|tsl|ttyscroll|tty|ttytype|udir|undodir|udf|undofile|ul|undolevels|ur|undoreload|uc|updatecount|ut|updatetime|vbs|verbose|vfile|verbosefile|vdir|viewdir|vop|viewoptions|vi|viminfo|vif|viminfofile|ve|virtualedit|vb|visualbell|warn|wiv|weirdinvert|ww|whichwrap|wc|wildchar|wcm|wildcharm|wig|wildignore|wic|wildignorecase|wmnu|wildmenu|wim|wildmode|wop|wildoptions|wak|winaltkeys|wi|window|wh|winheight|wfh|winfixheight|wfw|winfixwidth|wmh|winminheight|wmw|winminwidth|winptydll|wiw|winwidth|wrap|wm|wrapmargin|ws|wrapscan|write|wa|writeany|wb|writebackup|wd|writedelay)\\b","dgv",{"lazyCompile":true}),name:"support.type.option.viml"},{match:/*@__PURE__*/ new EmulatedRegExp("&?\\b(aleph|allowrevins|altkeymap|ambiwidth|autochdir|arabic|arabicshape|autoindent|autoread|autowrite|autowriteall|background|backspace|backup|backupcopy|backupdir|backupext|backupskip|balloondelay|ballooneval|balloonexpr|belloff|binary|bomb|breakat|breakindent|breakindentopt|browsedir|bufhidden|buflisted|buftype|casemap|cdpath|cedit|charconvert|cindent|cinkeys|cinoptions|cinwords|clipboard|cmdheight|cmdwinheight|colorcolumn|columns|comments|commentstring|complete|completefunc|completeopt|concealcursor|conceallevel|confirm|copyindent|cpoptions|cscopepathcomp|cscopeprg|cscopequickfix|cscoperelative|cscopetag|cscopetagorder|cscopeverbose|cursorbind|cursorcolumn|cursorline|debug|define|delcombine|dictionary|diff|diffexpr|diffopt|digraph|directory|display|eadirection|encoding|endofline|equalalways|equalprg|errorbells|errorfile|errorformat|eventignore|expandtab|exrc|fileencoding|fileencodings|fileformat|fileformats|fileignorecase|filetype|fillchars|fixendofline|fkmap|foldclose|foldcolumn|foldenable|foldexpr|foldignore|foldlevel|foldlevelstart|foldmarker|foldmethod|foldminlines|foldnestmax|foldopen|foldtext|formatexpr|formatlistpat|formatoptions|formatprg|fsync|gdefault|grepformat|grepprg|guicursor|guifont|guifontset|guifontwide|guioptions|guitablabel|guitabtooltip|helpfile|helpheight|helplang|hidden|hlsearch|history|hkmap|hkmapp|icon|iconstring|ignorecase|imcmdline|imdisable|iminsert|imsearch|include|includeexpr|incsearch|indentexpr|indentkeys|infercase|insertmode|isfname|isident|iskeyword|isprint|joinspaces|keymap|keymodel|keywordprg|langmap|langmenu|langremap|laststatus|lazyredraw|linebreak|lines|linespace|lisp|lispwords|list|listchars|loadplugins|magic|makeef|makeprg|matchpairs|matchtime|maxcombine|maxfuncdepth|maxmapdepth|maxmem|maxmempattern|maxmemtot|menuitems|mkspellmem|modeline|modelines|modifiable|modified|more|mouse|mousefocus|mousehide|mousemodel|mouseshape|mousetime|nrformats|number|numberwidth|omnifunc|opendevice|operatorfunc|packpath|paragraphs|paste|pastetoggle|patchexpr|patchmode|path|perldll|preserveindent|previewheight|previewwindow|printdevice|printencoding|printexpr|printfont|printheader|printmbcharset|printmbfont|printoptions|prompt|pumheight|pythondll|pythonthreedll|quoteescape|readonly|redrawtime|regexpengine|relativenumber|remap|report|revins|rightleft|rightleftcmd|rubydll|ruler|rulerformat|runtimepath|scroll|scrollbind|scrolljump|scrolloff|scrollopt|sections|secure|selection|selectmode|sessionoptions|shada|shell|shellcmdflag|shellpipe|shellquote|shellredir|shellslash|shelltemp|shellxescape|shellxquote|shiftround|shiftwidth|shortmess|showbreak|showcmd|showfulltag|showmatch|showmode|showtabline|sidescroll|sidescrolloff|signcolumn|smartcase|smartindent|smarttab|softtabstop|spell|spellcapcheck|spellfile|spelllang|spellsuggest|splitbelow|splitright|startofline|statusline|suffixes|suffixesadd|swapfile|switchbuf|synmaxcol|syntax|tabline|tabpagemax|tabstop|tagbsearch|tagcase|taglength|tagrelative|tags|tagstack|term|termbidi|terse|textwidth|thesaurus|tildeop|timeout|timeoutlen|title|titlelen|titleold|titlestring|ttimeout|ttimeoutlen|ttytype|undodir|undofile|undolevels|undoreload|updatecount|updatetime|verbose|verbosefile|viewdir|viewoptions|virtualedit|visualbell|warn|whichwrap|wildchar|wildcharm|wildignore|wildignorecase|wildmenu|wildmode|wildoptions|winaltkeys|window|winheight|winfixheight|winfixwidth|winminheight|winminwidth|winwidth|wrap|wrapmargin|wrapscan|write|writeany|writebackup|writedelay)\\b","dgv",{"lazyCompile":true}),name:"support.type.option.viml"},{match:/&?\b(al|ari|akm|ambw|acd|arab|arshape|ai|ar|aw|awa|bg|bs|bk|bkc|bdir|bex|bsk|bdlay|beval|bexpr|bo|bin|bomb|brk|bri|briopt|bsdir|bh|bl|bt|cmp|cd|cedit|ccv|cin|cink|cino|cinw|cb|ch|cwh|cc|co|com|cms|cpt|cfu|cot|cocu|cole|cf|ci|cpo|cspc|csprg|csqf|csre|cst|csto|cpo|crb|cuc|cul|debug|def|deco|dict|diff|dex|dip|dg|dir|dy|ead|enc|eol|ea|ep|eb|ef|efm|ei|et|ex|fenc|fencs|ff|ffs|fic|ft|fcs|fixeol|fk|fcl|fdc|fen|fde|fdi|fdl|fdls|fmr|fdm|fml|fdn|fdo|fdt|fex|flp|fo|fp|fs|gd|gfm|gp|gcr|gfn|gfs|gfw|go|gtl|gtt|hf|hh|hlg|hid|hls|hi|hk|hkp|icon|iconstring|ic|imc|imd|imi|ims|inc|inex|is|inde|indk|inf|im|isf|isi|isk|isp|js|kmp|km|kp|lmap|lm|lrm|ls|lz|lbr|lines|lsp|lisp|lw|list|lcs|lpl|magic|mef|mp|mps|mat|mco|mfd|mmd|mm|mmp|mmt|mis|msm|ml|mls|ma|mod|more|mouse|mousef|mh|mousem|mouses|mouset|nf|nu|nuw|ofu|odev|opfunc|pp|para|paste|pt|pex|pm|pa|perldll|pi|pvh|pvw|pdev|penc|pexpr|pfn|pheader|pmbcs|pmbfn|popt|prompt|ph|pythondll|pythonthreedlll|qe|ro|rdt|re|rnu|remap|report|ri|rl|rlc|rubydll|ru|ruf|rtp|scr|scb|sj|so|sbo|sect|secure|sel|slm|ssop|sd|sh|shcf|sp|shq|srr|ssl|stmp|sxe|sxq|sr|sw|shm|sbr|sc|sft|sm|smd|stal|ss|siso|scl|scs|si|sta|sts|spell|spc|spf|spl|sps|sb|spr|sol|stl|su|sua|swf|swb|smc|syn|tal|tpm|ts|tbs|tc|tl|tr|tag|tgst|term|tbidi|terse|tw|tsr|top|to|tm|title|titlelen|titleold|titlestring|ttimeout|ttm|tty|udir|udf|ul|ur|uc|ut|vbs|vfile|vdir|vop|ve|vb|warn|ww|wc|wcm|wig|wic|wmnu|wim|wop|wak|wi|wh|wfh|wfw|wmh|wmw|wiw|wrap|wm|ws|write|wa|wb|wd)\b/dgv,name:"support.type.option.shortname.viml"},{match:/\b(no(?:anti|antialias|arab|arabic|arshape|arabicshape|ari|allowrevins|akm|altkeymap|acd|autochdir|ai|autoindent|ar|autoread|aw|autowrite|awa|autowriteall|bk|backup|beval|ballooneval|bevalterm|balloonevalterm|bin|binary|bomb|bri|breakindent|bl|buflisted|cin|cindent|cp|compatible|cf|confirm|ci|copyindent|csre|cscoperelative|cst|cscopetag|csverb|cscopeverbose|crb|cursorbind|cuc|cursorcolumn|cul|cursorline|deco|delcombine|diff|dg|digraph|ed|edcompatible|emo|emoji|eol|endofline|ea|equalalways|eb|errorbells|ek|esckeys|et|expandtab|ex|exrc|fic|fileignorecase|fixeol|fixendofline|fk|fkmap|fen|foldenable|fs|fsync|gd|gdefault|guipty|hid|hidden|hk|hkmap|hkp|hkmapp|hls|hlsearch|icon|ic|ignorecase|imc|imcmdline|imd|imdisable|is|incsearch|inf|infercase|im|insertmode|js|joinspaces|lnr|langnoremap|lrm|langremap|lz|lazyredraw|lbr|linebreak|lisp|list|lpl|loadplugins|macatsui|magic|ml|modeline|ma|modifiable|mod|modified|more|mousef|mousefocus|mh|mousehide|nu|number|odev|opendevice|paste|pi|preserveindent|pvw|previewwindow|prompt|ro|readonly|rnu|relativenumber|rs|restorescreen|ri|revins|rl|rightleft|ru|ruler|scb|scrollbind|secure|ssl|shellslash|stmp|shelltemp|sr|shiftround|sn|shortname|sc|showcmd|sft|showfulltag|sm|showmatch|smd|showmode|scs|smartcase|si|smartindent|sta|smarttab|spell|sb|splitbelow|spr|splitright|sol|startofline|swf|swapfile|tbs|tagbsearch|tr|tagrelative|tgst|tagstack|tbidi|termbidi|tgc|termguicolors|terse|ta|textauto|tx|textmode|top|tildeop|to|timeout|title|ttimeout|tbi|ttybuiltin|tf|ttyfast|udf|undofile|vb|visualbell|warn|wiv|weirdinvert|wic|wildignorecase|wmnu|wildmenu|wfh|winfixheight|wfw|winfixwidth|wrapscan|wrap|ws|write|wa|writeany|wb|writebackup))\b/dgv,name:"support.type.option.off.viml"}]},punctuation:{patterns:[{match:/([\(\)])/dgv,name:"punctuation.parens.viml"},{match:/(,)/dgv,name:"punctuation.comma.viml"}]},storage:{patterns:[{match:/\b(call|let|unlet)\b/dgv,name:"storage.viml"},{match:/\b(a(?:bort|utocmd))\b/dgv,name:"storage.viml"},{match:/\b(set(l(?:|ocal))?)\b/dgv,name:"storage.viml"},{match:/\b(com(mand)?)\b/dgv,name:"storage.viml"},{match:/\b(color(scheme)?)\b/dgv,name:"storage.viml"},{match:/\b(Plug(?:|in))\b/dgv,name:"storage.plugin.viml"}]},strings:{patterns:[{begin:/"/dgv,end:/("|(?=\n?$))/dgv,name:"string.quoted.double.viml",patterns:[]},{begin:/'/dgv,end:/('|(?=\n?$))/dgv,name:"string.quoted.single.viml",patterns:[]},{match:/\/(\\\\|\\\/|[^\n\/])*\//dgv,name:"string.regexp.viml"}]},support:{patterns:[{match:/(add|call|delete|empty|extend|get|has|isdirectory|join|printf)(?=\()/dgv,name:"support.function.viml"},{match:/\b(echo(m|hl)?|exe(cute)?|redir|redraw|sleep|so(urce)?|wincmd|setf)\b/dgv,name:"support.function.viml"},{match:/(v:(beval_col|beval_bufnr|beval_lnum|beval_text|beval_winnr|char|charconvert_from|charconvert_to|cmdarg|cmdbang|count|count1|ctype|dying|errmsg|exception|fcs_reason|fcs_choice|fname_in|fname_out|fname_new|fname_diff|folddashes|foldlevel|foldend|foldstart|insertmode|key|lang|lc_time|lnum|mouse_win|mouse_lnum|mouse_col|oldfiles|operator|prevcount|profiling|progname|register|scrollstart|servername|searchforward|shell_error|statusmsg|swapname|swapchoice|swapcommand|termresponse|this_session|throwpoint|val|version|warningmsg|windowid))/dgv,name:"support.type.builtin.vim-variable.viml"},{match:/(&(cpo|isk|omnifunc|paste|previewwindow|rtp|tags|term|wrap))/dgv,name:"support.type.builtin.viml"},{match:/(&(shell(cmdflag|redir)?))/dgv,name:"support.type.builtin.viml"},{match:/<args>/dgv,name:"support.variable.args.viml"},{match:/\b(None|ErrorMsg|WarningMsg)\b/dgv,name:"support.type.syntax.viml"},{match:/\b(BufNewFile|BufReadPre|BufRead|BufReadPost|BufReadCmd|FileReadPre|FileReadPost|FileReadCmd|FilterReadPre|FilterReadPost|StdinReadPre|StdinReadPost|BufWrite|BufWritePre|BufWritePost|BufWriteCmd|FileWritePre|FileWritePost|FileWriteCmd|FileAppendPre|FileAppendPost|FileAppendCmd|FilterWritePre|FilterWritePost|BufAdd|BufCreate|BufDelete|BufWipeout|BufFilePre|BufFilePost|BufEnter|BufLeave|BufWinEnter|BufWinLeave|BufUnload|BufHidden|BufNew|SwapExists|TermOpen|TermClose|FileType|Syntax|OptionSet|VimEnter|GUIEnter|GUIFailed|TermResponse|QuitPre|VimLeavePre|VimLeave|DirChanged|FileChangedShell|FileChangedShellPost|FileChangedRO|ShellCmdPost|ShellFilterPost|CmdUndefined|FuncUndefined|SpellFileMissing|SourcePre|SourceCmd|VimResized|FocusGained|FocusLost|CursorHold|CursorHoldI|CursorMoved|CursorMovedI|WinNew|WinEnter|WinLeave|TabEnter|TabLeave|TabNew|TabNewEntered|TabClosed|CmdlineEnter|CmdlineLeave|CmdwinEnter|CmdwinLeave|InsertEnter|InsertChange|InsertLeave|InsertCharPre|TextYankPost|TextChanged|TextChangedI|ColorScheme|RemoteReply|QuickFixCmdPre|QuickFixCmdPost|SessionLoadPost|MenuPopup|CompleteDone|User)\b/dgv,name:"support.type.event.viml"},{match:/\b(Comment|Constant|String|Character|Number|Boolean|Float|Identifier|Function|Statement|Conditional|Repeat|Label|Operator|Keyword|Exception|PreProc|Include|Define|Macro|PreCondit|Type|StorageClass|Structure|Typedef|Special|SpecialChar|Tag|Delimiter|SpecialComment|Debug|Underlined|Ignore|Error|Todo)\b/dgv,name:"support.type.syntax-group.viml"}]},syntax:{patterns:[{match:/syn(tax)? case (ignore|match)/dgv,name:"keyword.control.syntax.viml"},{match:/syn(tax)? (clear|enable|include|off|on|manual|sync)/dgv,name:"keyword.control.syntax.viml"},{match:/\b(contained|display|excludenl|fold|keepend|oneline|skipnl|skipwhite|transparent)\b/dgv,name:"keyword.other.syntax.viml"},{match:/\b(add|containedin|contains|matchgroup|nextgroup)=/dgv,name:"keyword.other.syntax.viml"},{captures:{"1":{name:"keyword.other.syntax-range.viml"},"3":{name:"string.regexp.viml"}},match:/((start|skip|end)=)(\+\P{space}+\+\p{space})?/dgv},{captures:{"0":{name:"support.type.syntax.viml"},"1":{name:"storage.syntax.viml"},"3":{name:"variable.other.syntax-scope.viml"},"4":{name:"storage.modifier.syntax.viml"}},match:/(syn(?:|tax))\p{space}+(cluster|keyword|match|region)(\p{space}+[\p{L}\p{M}\p{N}\p{Pc}]+\p{space}+)(contained)?/dgv,patterns:[]},{captures:{"1":{name:"storage.highlight.viml"},"2":{name:"storage.modifier.syntax.viml"},"3":{name:"support.function.highlight.viml"},"4":{name:"variable.other.viml"},"5":{name:"variable.other.viml"}},match:/(hi(?:|ghlight))\p{space}+(def(?:|ault))\p{space}+(link)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)/dgv,patterns:[]}]},variable:{patterns:[{match:/https?:\/\/\P{space}+/dgv,name:"variable.other.link.viml"},{match:/(?<=\()([a-zA-Z]+)(?=\))/dgv,name:"variable.parameter.viml"},{match:/\b([absgl]:[a-zA-Z0-9_\.\#]+)\b(?!\()/dgv,name:"variable.other.viml"}]}},scopeName:"source.viml",embeddedLangs:undefined,aliases:["vim","vimscript"]})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
lang
|
package/dist/vue-html.mjs
CHANGED
|
@@ -2,7 +2,7 @@ import { EmulatedRegExp } from 'oniguruma-to-es'
|
|
|
2
2
|
import vue from './vue.mjs'
|
|
3
3
|
import javascript from './javascript.mjs'
|
|
4
4
|
|
|
5
|
-
const lang = Object.freeze({displayName:"Vue HTML",fileTypes:[],name:"vue-html",patterns:[{include:"source.vue#vue-interpolations"},{begin:/(<)([A-Z][a-zA-Z0-9\:\-]*)(?=[^\>]*><\/\2>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"support.class.component.html"}},end:/(>)(<)(\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"},"2":{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{name:"punctuation.definition.tag.begin.html"},"4":{name:"support.class.component.html"},"5":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<)([a-z][a-zA-Z0-9\:\-]*)(?=[^\>]*><\/\2>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.html"}},end:/(>)(<)(\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"},"2":{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{name:"punctuation.definition.tag.begin.html"},"4":{name:"entity.name.tag.html"},"5":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\?)(xml)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.xml.html"}},end:/(\?>)/dgv,name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"}]},{begin:/<!--/dgv,captures:{"0":{name:"punctuation.definition.comment.html"}},end:/-->/dgv,name:"comment.block.html"},{begin:/<!/dgv,captures:{"0":{name:"punctuation.definition.tag.html"}},end:/>/dgv,name:"meta.tag.sgml.html",patterns:[{begin:/DOCTYPE/dgiv,captures:{"1":{name:"entity.name.tag.doctype.html"}},end:/(?=>)/dgv,name:"meta.tag.sgml.doctype.html",patterns:[{match:/"[^"\>]*"/dgv,name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:/\[CDATA\[/dgv,end:/\]\](?=>)/dgv,name:"constant.other.inline-data.html"},{match:/(\p{space}*)(?!--|>)\P{space}(\p{space}*)/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{begin:/(<\/?)([A-Z][a-zA-Z0-9\:\-]*\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"support.class.component.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)([a-z][a-zA-Z0-9\:\-]*\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:body|head|html)\b)/dgiv,captures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.structure.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|
|
|
5
|
+
const lang = Object.freeze({displayName:"Vue HTML",fileTypes:[],name:"vue-html",patterns:[{include:"source.vue#vue-interpolations"},{begin:/(<)([A-Z][a-zA-Z0-9\:\-]*)(?=[^\>]*><\/\2>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"support.class.component.html"}},end:/(>)(<)(\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"},"2":{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{name:"punctuation.definition.tag.begin.html"},"4":{name:"support.class.component.html"},"5":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<)([a-z][a-zA-Z0-9\:\-]*)(?=[^\>]*><\/\2>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.html"}},end:/(>)(<)(\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"},"2":{name:"punctuation.definition.tag.begin.html meta.scope.between-tag-pair.html"},"3":{name:"punctuation.definition.tag.begin.html"},"4":{name:"entity.name.tag.html"},"5":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\?)(xml)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.xml.html"}},end:/(\?>)/dgv,name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"}]},{begin:/<!--/dgv,captures:{"0":{name:"punctuation.definition.comment.html"}},end:/-->/dgv,name:"comment.block.html"},{begin:/<!/dgv,captures:{"0":{name:"punctuation.definition.tag.html"}},end:/>/dgv,name:"meta.tag.sgml.html",patterns:[{begin:/DOCTYPE/dgiv,captures:{"1":{name:"entity.name.tag.doctype.html"}},end:/(?=>)/dgv,name:"meta.tag.sgml.doctype.html",patterns:[{match:/"[^"\>]*"/dgv,name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:/\[CDATA\[/dgv,end:/\]\](?=>)/dgv,name:"constant.other.inline-data.html"},{match:/(\p{space}*)(?!--|>)\P{space}(\p{space}*)/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{begin:/(<\/?)([A-Z][a-zA-Z0-9\:\-]*\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"support.class.component.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)([a-z][a-zA-Z0-9\:\-]*\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:body|head|html)\b)/dgiv,captures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.structure.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)(?!-)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)(?!-)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.inline.any.html"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)([a-zA-Z0-9\:\-]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.other.html"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},{include:"#entities"},{match:/<>/dgv,name:"invalid.illegal.incomplete.html"},{match:/</dgv,name:"invalid.illegal.bad-angle-bracket.html"}],repository:{entities:{patterns:[{captures:{"1":{name:"punctuation.definition.entity.html"},"3":{name:"punctuation.definition.entity.html"}},match:/(&)([a-zA-Z0-9]+|#[0-9]+|#x\p{AHex}+)(;)/dgv,name:"constant.character.entity.html"},{match:/&/dgv,name:"invalid.illegal.bad-ampersand.html"}]},"string-double-quoted":{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},"string-single-quoted":{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},"tag-generic-attribute":{match:/(?<=[^\=])\b([a-zA-Z0-9\:\-_]+)/dgv,name:"entity.other.attribute-name.html"},"tag-id-attribute":{begin:/\b(id)\b\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.id.html"},"2":{name:"punctuation.separator.key-value.html"}},end:/*@__PURE__*/ new EmulatedRegExp("(?!^)(?<=['\"[^\\p{space}\\<\\>\\/]])","dgv",{"strategy":"clip_search"}),name:"meta.attribute-with-value.id.html",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"source.vue#vue-interpolations"},{include:"#entities"}]},{captures:{"0":{name:"meta.toc-list.id.html"}},match:/(?<==)(?:[^\p{space}\<\>\/'"]|\/(?!>))+/dgv,name:"string.unquoted.html"}]},"tag-stuff":{patterns:[{include:"#vue-directives"},{include:"#tag-id-attribute"},{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"},{include:"#unquoted-attribute"}]},"unquoted-attribute":{match:/(?<==)(?:[^\p{space}\<\>\/'"]|\/(?!>))+/dgv,name:"string.unquoted.html"},"vue-directives":{begin:/(?:\b(v-)|([\:\@\#]))([a-zA-Z0-9\-_]+)(?::([a-zA-Z\-_]+))?(?:\.([a-zA-Z\-_]+))*\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.html"},"2":{name:"punctuation.separator.key-value.html"},"3":{name:"entity.other.attribute-name.html"},"4":{name:"entity.other.attribute-name.html"},"5":{name:"entity.other.attribute-name.html"},"6":{name:"punctuation.separator.key-value.html"}},end:/(?<=['"])|(?=[\p{space}\<\>\`])/dgv,name:"meta.directive.vue",patterns:[{begin:/`/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/`/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]},{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"source.directive.vue",patterns:[{include:"source.js#expression"}]}]}},scopeName:"text.html.vue-html",embeddedLangs:["vue","javascript"],aliases:undefined,embeddedLangsLazy:[]})
|
|
6
6
|
|
|
7
7
|
export default [
|
|
8
8
|
...vue,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import javascript from './javascript.mjs'
|
|
2
2
|
|
|
3
|
-
const lang = Object.freeze({fileTypes:[],injectTo:["source.vue"],injectionSelector:"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",name:"vue-sfc-style-variable-injection",patterns:[{include:"#vue-sfc-style-variable-injection"}],repository:{"vue-sfc-style-variable-injection":{begin:/\b(v-bind)\p{space}*\(/dgv,beginCaptures:{"1":{name:"entity.name.function"}},end:/\)/dgv,name:"vue.sfc.style.variable.injection.v-bind",patterns:[{begin:/('
|
|
3
|
+
const lang = Object.freeze({fileTypes:[],injectTo:["source.vue"],injectionSelector:"L:source.css -comment, L:source.postcss -comment, L:source.sass -comment, L:source.stylus -comment",name:"vue-sfc-style-variable-injection",patterns:[{include:"#vue-sfc-style-variable-injection"}],repository:{"vue-sfc-style-variable-injection":{begin:/\b(v-bind)\p{space}*\(/dgv,beginCaptures:{"1":{name:"entity.name.function"}},end:/\)/dgv,name:"vue.sfc.style.variable.injection.v-bind",patterns:[{begin:/(['"])/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"source.ts.embedded.html.vue",patterns:[{include:"source.js"}]},{include:"source.js"}]}},scopeName:"vue.sfc.style.variable.injection",displayName:undefined,embeddedLangs:["javascript"],aliases:undefined})
|
|
4
4
|
|
|
5
5
|
export default [
|
|
6
6
|
...javascript,
|
package/dist/vue.mjs
CHANGED
|
@@ -10,7 +10,7 @@ import vue_directives from './vue-directives.mjs'
|
|
|
10
10
|
import vue_interpolations from './vue-interpolations.mjs'
|
|
11
11
|
import vue_sfc_style_variable_injection from './vue-sfc-style-variable-injection.mjs'
|
|
12
12
|
|
|
13
|
-
const lang = Object.freeze({displayName:"Vue",name:"vue",patterns:[{include:"#vue-comments"},{include:"text.html.basic#comment"},{include:"#self-closing-tag"},{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},patterns:[{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)md\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.html.markdown",patterns:[{include:"text.html.markdown"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)html\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)pug\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.pug",patterns:[{include:"text.pug"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)stylus\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.stylus",patterns:[{include:"source.stylus"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)postcss\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.postcss",patterns:[{include:"source.postcss"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)sass\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.sass",patterns:[{include:"source.sass"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)css\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css",patterns:[{include:"source.css"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)scss\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)less\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css.less",patterns:[{include:"source.css.less"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)js\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.js",patterns:[{include:"source.js"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)ts\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.ts",patterns:[{include:"source.ts"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)jsx\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.js.jsx",patterns:[{include:"source.js.jsx"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)tsx\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.tsx",patterns:[{include:"source.tsx"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)coffee\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.coffee",patterns:[{include:"source.coffee"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)json\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json",patterns:[{include:"source.json"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)jsonc\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json.comments",patterns:[{include:"source.json.comments"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)json5\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json5",patterns:[{include:"source.json5"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)yaml\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.yaml",patterns:[{include:"source.yaml"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)toml\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.toml",patterns:[{include:"source.toml"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)(gql|graphql)\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.graphql",patterns:[{include:"source.graphql"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)vue\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.vue",patterns:[{include:"source.vue"}]}]},{begin:/(template)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/template\b)/dgv,name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:/(script)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/script\b)/dgv,name:"source.js",patterns:[{include:"source.js"}]}]},{begin:/(style)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/style\b)/dgv,name:"source.css",patterns:[{include:"source.css"}]}]},{begin:/([a-zA-Z0-9\:\-]+)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text"}]}]}],repository:{"html-stuff":{patterns:[{include:"#template-tag"},{include:"text.html.derivative"},{include:"text.html.basic"}]},"self-closing-tag":{begin:/(<)([a-zA-Z0-9\:\-]+)(?=([^\>]+\/>))/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},end:/(\/>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"self-closing-tag",patterns:[{include:"#tag-stuff"}]},"tag-stuff":{begin:/(?:)/dgv,end:/(?=\/>)|(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.tag-stuff",patterns:[{include:"#vue-directives"},{include:"text.html.basic#attribute"}]},"template-tag":{patterns:[{include:"#template-tag-1"},{include:"#template-tag-2"}]},"template-tag-1":{begin:/(<)(template)\b(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"},"3":{name:"punctuation.definition.tag.end.html.vue"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:/(?:)/dgv,end:/(?=\/>)|((<\/)(template)\b)/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.begin.html.vue"},"3":{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#html-stuff"}]}]},"template-tag-2":{begin:/(<)(template)\b/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:/(?:)/dgv,end:/(?=\/>)|((<\/)(template)\b)/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.begin.html.vue"},"3":{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#tag-stuff"},{include:"#html-stuff"}]}]},"vue-comments":{patterns:[{include:"#vue-comments-key-value"}]},"vue-comments-key-value":{begin:/(<!--)\p{space}*(@)([\p{L}\p{M}\p{N}\p{Pc}\$]+)(?=\p{space})/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.vue"},"2":{name:"punctuation.definition.block.tag.comment.vue"},"3":{name:"storage.type.class.comment.vue"}},end:/(-->)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.vue"}},name:"comment.block.vue",patterns:[{include:"source.json#value"}]},"vue-directives":{patterns:[{include:"#vue-directives-control"},{include:"#vue-directives-style-attr"},{include:"#vue-directives-original"},{include:"#vue-directives-generic-attr"}]},"vue-directives-control":{begin:/(v-for)|(v-if|v-else-if|v-else)/dgv,captures:{"1":{name:"keyword.control.loop.vue"},"2":{name:"keyword.control.conditional.vue"}},end:/*@__PURE__*/ new EmulatedRegExp("(?=(?:(?=(\\p{space}*))\\1)[^\\=\\p{space}])","dgv",{"hiddenCaptures":[1]}),name:"meta.attribute.directive.control.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-expression":{patterns:[{begin:/(=)\p{space}*('|"|`)/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.html.vue"},"2":{name:"punctuation.definition.string.begin.html.vue"}},end:/(\2)()/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},patterns:[{begin:/(?<=('|"|`))/dgv,end:/(?=\1)()/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]},{begin:/(=)\p{space}*(?=[^'"\`])/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.html.vue"}},end:/(?=(\p{space}|>|\/>))/dgv,patterns:[{begin:/(?=[^'"\`])/dgv,end:/(?=(\p{space}|>|\/>))/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{begin:/\b(generic)\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"}},end:/(?<='|")/dgv,name:"meta.attribute.generic.vue",patterns:[{begin:/('|")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.html.vue"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"meta.type.parameters.vue",patterns:[{include:"source.ts#comment"},{match:/(?<![_\$\p{Alpha}\p{Nd}])(?:(?<=\.\.\.)|(?<!\.))(extends|in|out)(?![_\$\p{Alpha}\p{Nd}])(?:(?=\.\.\.)|(?!\.))/dgv,name:"storage.modifier.ts"},{include:"source.ts#type"},{include:"source.ts#punctuation-comma"},{match:/(=)(?!>)/dgv,name:"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{begin:/(?:(v-[\p{L}\p{M}\p{N}\p{Pc}\-]+)(:)?|([\:\.])|(@)|(#))(?:(\[)([^\]]*)(\])|([\p{L}\p{M}\p{N}\p{Pc}\-]+))?/dgv,beginCaptures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"},"3":{name:"punctuation.attribute-shorthand.bind.html.vue"},"4":{name:"punctuation.attribute-shorthand.event.html.vue"},"5":{name:"punctuation.attribute-shorthand.slot.html.vue"},"6":{name:"punctuation.separator.key-value.html.vue"},"7":{name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]},"8":{name:"punctuation.separator.key-value.html.vue"},"9":{name:"entity.other.attribute-name.html.vue"}},end:/(?=\p{space}*[^\=\p{space}])/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"meta.attribute.directive.vue",patterns:[{"1":{name:"punctuation.separator.key-value.html.vue"},"2":{name:"entity.other.attribute-name.html.vue"},match:/(\.)([\p{L}\p{M}\p{N}\p{Pc}\-]*)/dgv},{include:"#vue-directives-expression"}]},"vue-directives-style-attr":{begin:/\b(style)\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"}},end:/(?<='|")/dgv,name:"meta.attribute.style.vue",patterns:[{begin:/('|")/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.html.vue"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"source.css.embedded.html.vue",patterns:[{include:"source.css#comment-block"},{include:"source.css#escapes"},{include:"source.css#font-features"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\-])--(?:[\-a-zA-Z_]|[^\x00-\x7F])(?:[\-a-zA-Z0-9_]|[^\x00-\x7F]|\\(?:[0-9a-fA-F]{1,6}|[^\n]))*/dgv,name:"variable.css"},{begin:/(?<![\-a-zA-Z])(?=[\-a-zA-Z])/dgv,end:/(?=\n?$)|(?![\-a-zA-Z])/dgv,name:"meta.property-name.css",patterns:[{include:"source.css#property-names"}]},{begin:/(:)\p{space}*/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.css"}},contentName:"meta.property-value.css",end:/\p{space}*(;)|\p{space}*(?='|")/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.css"}},patterns:[{include:"source.css#comment-block"},{include:"source.css#property-values"}]},{match:/;/dgv,name:"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{patterns:[{begin:/(\{\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.interpolation.begin.html.vue"}},end:/(\}\})/dgv,endCaptures:{"1":{name:"punctuation.definition.interpolation.end.html.vue"}},name:"expression.embedded.vue",patterns:[{begin:/(?:)/dgv,end:/(?=\}\})/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]}},scopeName:"source.vue",embeddedLangs:["html","css","javascript","typescript","json","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"],aliases:undefined,embeddedLangsLazy:["markdown","pug","stylus","sass","scss","less","jsx","tsx","coffee","jsonc","json5","yaml","toml","graphql"]})
|
|
13
|
+
const lang = Object.freeze({displayName:"Vue",name:"vue",patterns:[{include:"#vue-comments"},{include:"text.html.basic#comment"},{include:"#self-closing-tag"},{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},patterns:[{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)md\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.html.markdown",patterns:[{include:"text.html.markdown"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)html\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)pug\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text.pug",patterns:[{include:"text.pug"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)stylus\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.stylus",patterns:[{include:"source.stylus"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)postcss\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.postcss",patterns:[{include:"source.postcss"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)sass\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.sass",patterns:[{include:"source.sass"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)css\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css",patterns:[{include:"source.css"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)scss\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css.scss",patterns:[{include:"source.css.scss"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)less\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.css.less",patterns:[{include:"source.css.less"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)js\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.js",patterns:[{include:"source.js"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)ts\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.ts",patterns:[{include:"source.ts"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)jsx\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.js.jsx",patterns:[{include:"source.js.jsx"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)tsx\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.tsx",patterns:[{include:"source.tsx"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)coffee\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.coffee",patterns:[{include:"source.coffee"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)json\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json",patterns:[{include:"source.json"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)jsonc\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json.comments",patterns:[{include:"source.json.comments"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)json5\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.json5",patterns:[{include:"source.json5"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)yaml\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.yaml",patterns:[{include:"source.yaml"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)toml\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.toml",patterns:[{include:"source.toml"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)(g(?:ql|raphql))\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.graphql",patterns:[{include:"source.graphql"}]}]},{begin:/([a-zA-Z0-9\:\-]+)\b(?=[^\>]*\blang\p{space}*=\p{space}*(['"]?)vue\b\2)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"source.vue",patterns:[{include:"source.vue"}]}]},{begin:/(template)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/template\b)/dgv,name:"text.html.derivative",patterns:[{include:"#html-stuff"}]}]},{begin:/(script)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/script\b)/dgv,name:"source.js",patterns:[{include:"source.js"}]}]},{begin:/(style)\b/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/style\b)/dgv,name:"source.css",patterns:[{include:"source.css"}]}]},{begin:/([a-zA-Z0-9\:\-]+)/dgv,beginCaptures:{"1":{name:"entity.name.tag.$1.html.vue"}},end:/(<\/)(\1)\p{space}*(?=>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},patterns:[{include:"#tag-stuff"},{begin:/(?<=>)/dgv,end:/(?=<\/)/dgv,name:"text"}]}]}],repository:{"html-stuff":{patterns:[{include:"#template-tag"},{include:"text.html.derivative"},{include:"text.html.basic"}]},"self-closing-tag":{begin:/(<)([a-zA-Z0-9\:\-]+)(?=([^\>]+\/>))/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},end:/(\/>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"self-closing-tag",patterns:[{include:"#tag-stuff"}]},"tag-stuff":{begin:/(?:)/dgv,end:/(?=\/>)|(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.tag-stuff",patterns:[{include:"#vue-directives"},{include:"text.html.basic#attribute"}]},"template-tag":{patterns:[{include:"#template-tag-1"},{include:"#template-tag-2"}]},"template-tag-1":{begin:/(<)(template)\b(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"},"3":{name:"punctuation.definition.tag.end.html.vue"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:/(?:)/dgv,end:/(?=\/>)|((<\/)(template)\b)/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.begin.html.vue"},"3":{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#html-stuff"}]}]},"template-tag-2":{begin:/(<)(template)\b/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html.vue"},"2":{name:"entity.name.tag.$2.html.vue"}},end:/(\/?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html.vue"}},name:"meta.template-tag.start",patterns:[{begin:/(?:)/dgv,end:/(?=\/>)|((<\/)(template)\b)/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.begin.html.vue"},"3":{name:"entity.name.tag.$3.html.vue"}},name:"meta.template-tag.end",patterns:[{include:"#tag-stuff"},{include:"#html-stuff"}]}]},"vue-comments":{patterns:[{include:"#vue-comments-key-value"}]},"vue-comments-key-value":{begin:/(<!--)\p{space}*(@)([\p{L}\p{M}\p{N}\p{Pc}\$]+)(?=\p{space})/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.vue"},"2":{name:"punctuation.definition.block.tag.comment.vue"},"3":{name:"storage.type.class.comment.vue"}},end:/(-->)/dgv,endCaptures:{"1":{name:"punctuation.definition.comment.vue"}},name:"comment.block.vue",patterns:[{include:"source.json#value"}]},"vue-directives":{patterns:[{include:"#vue-directives-control"},{include:"#vue-directives-style-attr"},{include:"#vue-directives-original"},{include:"#vue-directives-generic-attr"}]},"vue-directives-control":{begin:/(v-for)|(v-(?:if|else-if|else))/dgv,captures:{"1":{name:"keyword.control.loop.vue"},"2":{name:"keyword.control.conditional.vue"}},end:/*@__PURE__*/ new EmulatedRegExp("(?=(?:(?=(\\p{space}*))\\1)[^\\=\\p{space}])","dgv",{"hiddenCaptures":[1]}),name:"meta.attribute.directive.control.vue",patterns:[{include:"#vue-directives-expression"}]},"vue-directives-expression":{patterns:[{begin:/(=)\p{space}*(['"\`])/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.html.vue"},"2":{name:"punctuation.definition.string.begin.html.vue"}},end:/(\2)()/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},patterns:[{begin:/(?<=(['"\`]))/dgv,end:/(?=\1)()/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]},{begin:/(=)\p{space}*(?=[^'"\`])/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.html.vue"}},end:/(?=([\p{space}\>]|\/>))/dgv,patterns:[{begin:/(?=[^'"\`])/dgv,end:/(?=([\p{space}\>]|\/>))/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]},"vue-directives-generic-attr":{begin:/\b(generic)\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"}},end:/(?<=['"])/dgv,name:"meta.attribute.generic.vue",patterns:[{begin:/(['"])/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.html.vue"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"meta.type.parameters.vue",patterns:[{include:"source.ts#comment"},{match:/(?<![_\$\p{Alpha}\p{Nd}])(?:(?<=\.\.\.)|(?<!\.))(extends|in|out)(?![_\$\p{Alpha}\p{Nd}])(?:(?=\.\.\.)|(?!\.))/dgv,name:"storage.modifier.ts"},{include:"source.ts#type"},{include:"source.ts#punctuation-comma"},{match:/(=)(?!>)/dgv,name:"keyword.operator.assignment.ts"}]}]},"vue-directives-original":{begin:/(?:(v-[\p{L}\p{M}\p{N}\p{Pc}\-]+)(:)?|([\:\.])|(@)|(#))(?:(\[)([^\]]*)(\])|([\p{L}\p{M}\p{N}\p{Pc}\-]+))?/dgv,beginCaptures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"},"3":{name:"punctuation.attribute-shorthand.bind.html.vue"},"4":{name:"punctuation.attribute-shorthand.event.html.vue"},"5":{name:"punctuation.attribute-shorthand.slot.html.vue"},"6":{name:"punctuation.separator.key-value.html.vue"},"7":{name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]},"8":{name:"punctuation.separator.key-value.html.vue"},"9":{name:"entity.other.attribute-name.html.vue"}},end:/(?=\p{space}*[^\=\p{space}])/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"meta.attribute.directive.vue",patterns:[{"1":{name:"punctuation.separator.key-value.html.vue"},"2":{name:"entity.other.attribute-name.html.vue"},match:/(\.)([\p{L}\p{M}\p{N}\p{Pc}\-]*)/dgv},{include:"#vue-directives-expression"}]},"vue-directives-style-attr":{begin:/\b(style)\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.html.vue"},"2":{name:"punctuation.separator.key-value.html.vue"}},end:/(?<=['"])/dgv,name:"meta.attribute.style.vue",patterns:[{begin:/(['"])/dgv,beginCaptures:{"1":{name:"punctuation.definition.string.begin.html.vue"}},end:/((?!))/dgv,endCaptures:{"1":{name:"punctuation.definition.string.end.html.vue"}},name:"source.css.embedded.html.vue",patterns:[{include:"source.css#comment-block"},{include:"source.css#escapes"},{include:"source.css#font-features"},{match:/(?<![\p{L}\p{M}\p{N}\p{Pc}\-])--[\-a-zA-Z_[^\x00-\x7F]](?:[\-a-zA-Z0-9_[^\x00-\x7F]]|\\(?:\p{AHex}{1,6}|[^\n]))*/dgv,name:"variable.css"},{begin:/(?<![\-a-zA-Z])(?=[\-a-zA-Z])/dgv,end:/(?=\n?$)|(?![\-a-zA-Z])/dgv,name:"meta.property-name.css",patterns:[{include:"source.css#property-names"}]},{begin:/(:)\p{space}*/dgv,beginCaptures:{"1":{name:"punctuation.separator.key-value.css"}},contentName:"meta.property-value.css",end:/\p{space}*(;)|\p{space}*(?=['"])/dgv,endCaptures:{"1":{name:"punctuation.terminator.rule.css"}},patterns:[{include:"source.css#comment-block"},{include:"source.css#property-values"}]},{match:/;/dgv,name:"punctuation.terminator.rule.css"}]}]},"vue-interpolations":{patterns:[{begin:/(\{\{)/dgv,beginCaptures:{"1":{name:"punctuation.definition.interpolation.begin.html.vue"}},end:/(\}\})/dgv,endCaptures:{"1":{name:"punctuation.definition.interpolation.end.html.vue"}},name:"expression.embedded.vue",patterns:[{begin:/(?:)/dgv,end:/(?=\}\})/dgv,name:"source.ts.embedded.html.vue",patterns:[{include:"source.ts#expression"}]}]}]}},scopeName:"source.vue",embeddedLangs:["html","css","javascript","typescript","json","html-derivative","markdown-vue","vue-directives","vue-interpolations","vue-sfc-style-variable-injection"],aliases:undefined,embeddedLangsLazy:["markdown","pug","stylus","sass","scss","less","jsx","tsx","coffee","jsonc","json5","yaml","toml","graphql"]})
|
|
14
14
|
|
|
15
15
|
export default [
|
|
16
16
|
...html,
|