mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-19 17:03:40 -05:00
Run scripts/build with changes
This commit is contained in:
@@ -5,7 +5,7 @@ endif
|
||||
" Vim syntax file
|
||||
" Language: Ansible YAML/Jinja templates
|
||||
" Maintainer: Dave Honneffer <pearofducks@gmail.com>
|
||||
" Last Change: 2018.02.08
|
||||
" Last Change: 2023.10.29
|
||||
|
||||
if !exists("main_syntax")
|
||||
let main_syntax = 'yaml'
|
||||
@@ -103,6 +103,13 @@ if exists("g:ansible_extra_keywords_highlight")
|
||||
endif
|
||||
endif
|
||||
|
||||
execute 'syn keyword ansible_fqcn_keywords ansible builtin ansible.builtin. containedin='.s:yamlKey.' contained'
|
||||
if exists("g:ansible_fqcn_highlight")
|
||||
execute 'highlight link ansible_fqcn_keywords '.g:ansible_fqcn_highlight
|
||||
else
|
||||
highlight default link ansible_fqcn_keywords Statement
|
||||
endif
|
||||
|
||||
execute 'syn keyword ansible_normal_keywords
|
||||
\ include include_role include_tasks include_vars import_role import_playbook import_tasks
|
||||
\ when changed_when failed_when block rescue always notify listen register
|
||||
|
||||
@@ -31,9 +31,16 @@ syn match bicepResourceName /\h\w*/ nextgroup=bicepResourceString skipwhite
|
||||
syn region bicepResourceString start=/'/ skip=/\\\\\|\\'/ end=/'/ contains=bicepStringInterp nextgroup=bicepExisting skipwhite
|
||||
syn keyword bicepExisting existing contained
|
||||
|
||||
syn keyword bicepStatement module nextgroup=bicepModuleName skipwhite
|
||||
syn match bicepModuleName /\h\w*/ nextgroup=bicepModuleString skipwhite contained
|
||||
syn region bicepModuleString start=/'/ skip=/\\\\\|\\'/ end=/'/ contains=bicepStringInterp skipwhite
|
||||
|
||||
syn match bicepDecoratorName /@\s*\h\%(\w\|\.\)*/ contains=bicepDecorator
|
||||
syn match bicepDecorator /@/ contained
|
||||
|
||||
syn match bicepPreProc /#[-_a-zA-Z0-9]\+/ nextgroup=bicepPreProcArg skipwhite
|
||||
syn match bicepPreProcArg /\w\+/ skipwhite contained nextgroup=bicepPreProcArg
|
||||
|
||||
syn region bicepComment start="/\*" end="\*/" contains=bicepTodo,@Spell
|
||||
syn region bicepComment start="//" end="$" contains=bicepTodo,@Spell
|
||||
syn keyword bicepTodo TODO FIXME XXX BUG contained
|
||||
@@ -56,10 +63,14 @@ syn match bicepBraces /[{}\[\]]/
|
||||
hi def link bicepDataType Type
|
||||
hi def link bicepStatement Statement
|
||||
hi def link bicepResourceString String
|
||||
hi def link bicepModuleString String
|
||||
hi def link bicepExisting Label
|
||||
|
||||
hi def link bicepDecorator Define
|
||||
|
||||
hi def link bicepPreProc PreProc
|
||||
hi def link bicepPreProcArg Comment
|
||||
|
||||
hi def link bicepComment Comment
|
||||
hi def link bicepTodo Todo
|
||||
|
||||
|
||||
@@ -66,13 +66,16 @@ endif
|
||||
unlet! s:key
|
||||
delfunction s:syntax_keyword
|
||||
|
||||
syntax match clojureKeywordNs contained "\v[^ \n\r\t()\[\]{}";@^`~\\\/'#]+\ze\/"
|
||||
syntax match clojureKeywordNsSeparator contained "/"
|
||||
syntax match clojureKeywordNsColon contained "\v<:{1,2}"
|
||||
" Keywords are symbols:
|
||||
" static Pattern symbolPat = Pattern.compile("[:]?([\\D&&[^/]].*/)?([\\D&&[^/]][^/]*)");
|
||||
" But they:
|
||||
" * Must not end in a : or /
|
||||
" * Must not have two adjacent colons except at the beginning
|
||||
" * Must not contain any reader metacharacters except for ' and #
|
||||
syntax match clojureKeyword "\v<:{1,2}([^ \n\r\t()\[\]{}";@^`~\\/]+/)*[^ \n\r\t()\[\]{}";@^`~\\/]+:@1<!>"
|
||||
syntax match clojureKeyword "\v<:{1,2}([^ \n\r\t()\[\]{}";@^`~\\/]*/)*[^ \n\r\t()\[\]{}";@^`~\\/]*:@1<!>" contains=clojureKeywordNs,clojureKeywordNsSeparator,clojureKeywordNsColon
|
||||
|
||||
syntax match clojureStringEscape "\v\\%([\\btnfr"]|u\x{4}|[0-3]\o{2}|\o{1,2})" contained
|
||||
|
||||
@@ -80,7 +83,9 @@ syntax region clojureString matchgroup=clojureStringDelimiter start=/"/ skip=/\\
|
||||
|
||||
syntax match clojureCharacter "\v\\%(o%([0-3]\o{2}|\o{1,2})|u\x{4}|newline|tab|space|return|backspace|formfeed|.)"
|
||||
|
||||
syntax match clojureSymbol "\v%([a-zA-Z!$&*_+=|<.>?-]|[^\x00-\x7F])+%(:?%([a-zA-Z0-9!#$%&*_+=|'<.>/?-]|[^\x00-\x7F]))*[#:]@1<!"
|
||||
syntax match clojureSymbolNs contained "\v[^ \n\r\t()\[\]{}";@^`~\\\/'#]+\ze\/"
|
||||
syntax match clojureSymbolNsSeparator contained "/"
|
||||
syntax match clojureSymbol "\v%([a-zA-Z!$&*_+=|<.>?-]|[^\x00-\x7F])+%(:?%([a-zA-Z0-9!#$%&*_+=|'<.>/?-]|[^\x00-\x7F]))*[#:]@1<!" contains=clojureSymbolNs,clojureSymbolNsSeparator
|
||||
|
||||
" NB. Correct matching of radix literals was removed for better performance.
|
||||
syntax match clojureNumber "\v<[-+]?%(%([2-9]|[12]\d|3[0-6])[rR][[:alnum:]]+|%(0\o*|0x\x+|[1-9]\d*)N?|%(0|[1-9]\d*|%(0|[1-9]\d*)\.\d*)%(M|[eE][-+]?\d+)?|%(0|[1-9]\d*)/%(0|[1-9]\d*))>"
|
||||
@@ -166,12 +171,17 @@ syntax sync fromstart
|
||||
highlight default link clojureConstant Constant
|
||||
highlight default link clojureBoolean Boolean
|
||||
highlight default link clojureCharacter Character
|
||||
highlight default link clojureKeyword Keyword
|
||||
highlight default link clojureNumber Number
|
||||
highlight default link clojureString String
|
||||
highlight default link clojureStringDelimiter String
|
||||
highlight default link clojureStringEscape Character
|
||||
|
||||
highlight default link clojureKeyword Keyword
|
||||
highlight default link clojureKeywordNsColon clojureKeyword
|
||||
highlight default link clojureKeywordNs clojureKeyword
|
||||
|
||||
highlight default link clojureSymbolNs clojureSymbol
|
||||
|
||||
highlight default link clojureRegexp Constant
|
||||
highlight default link clojureRegexpDelimiter Constant
|
||||
highlight default link clojureRegexpEscape Character
|
||||
|
||||
964
syntax/cmake.vim
964
syntax/cmake.vim
File diff suppressed because it is too large
Load Diff
@@ -3,11 +3,8 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/common.v
|
||||
endif
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.8 and later: only when an item doesn't have highlighting yet
|
||||
let did_typescript_hilink = 1
|
||||
|
||||
syntax sync fromstart
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
|
||||
"Dollar sign is permitted anywhere in an identifier
|
||||
setlocal iskeyword-=$
|
||||
@@ -25,15 +22,15 @@ syntax match typescriptLabel /[a-zA-Z_$]\k*:/he=e-1 contains=ty
|
||||
syntax region typescriptBlock matchgroup=typescriptBraces start=/{/ end=/}/ contains=@typescriptStatement,@typescriptComments fold
|
||||
|
||||
|
||||
runtime syntax/basic/identifiers.vim
|
||||
runtime syntax/basic/literal.vim
|
||||
runtime syntax/basic/object.vim
|
||||
runtime syntax/ts-common/identifiers.vim
|
||||
runtime syntax/ts-common/literal.vim
|
||||
runtime syntax/ts-common/object.vim
|
||||
|
||||
runtime syntax/basic/symbols.vim
|
||||
" runtime syntax/basic/reserved.vim
|
||||
runtime syntax/basic/keyword.vim
|
||||
runtime syntax/basic/doc.vim
|
||||
runtime syntax/basic/type.vim
|
||||
runtime syntax/ts-common/symbols.vim
|
||||
" runtime syntax/ts-common/reserved.vim
|
||||
runtime syntax/ts-common/keyword.vim
|
||||
runtime syntax/ts-common/doc.vim
|
||||
runtime syntax/ts-common/type.vim
|
||||
|
||||
" extension
|
||||
if get(g:, 'yats_host_keyword', 1)
|
||||
@@ -41,136 +38,133 @@ if get(g:, 'yats_host_keyword', 1)
|
||||
endif
|
||||
|
||||
" patch
|
||||
runtime syntax/basic/patch.vim
|
||||
runtime syntax/basic/members.vim
|
||||
runtime syntax/basic/class.vim
|
||||
runtime syntax/basic/cluster.vim
|
||||
runtime syntax/basic/function.vim
|
||||
runtime syntax/basic/decorator.vim
|
||||
runtime syntax/ts-common/patch.vim
|
||||
runtime syntax/ts-common/members.vim
|
||||
runtime syntax/ts-common/class.vim
|
||||
runtime syntax/ts-common/cluster.vim
|
||||
runtime syntax/ts-common/function.vim
|
||||
runtime syntax/ts-common/decorator.vim
|
||||
|
||||
if exists("did_typescript_hilink")
|
||||
HiLink typescriptReserved Error
|
||||
hi def link typescriptReserved Error
|
||||
|
||||
HiLink typescriptEndColons Exception
|
||||
HiLink typescriptSymbols Normal
|
||||
HiLink typescriptBraces Function
|
||||
HiLink typescriptParens Normal
|
||||
HiLink typescriptComment Comment
|
||||
HiLink typescriptLineComment Comment
|
||||
HiLink typescriptDocComment Comment
|
||||
HiLink typescriptCommentTodo Todo
|
||||
HiLink typescriptMagicComment SpecialComment
|
||||
HiLink typescriptRef Include
|
||||
HiLink typescriptDocNotation SpecialComment
|
||||
HiLink typescriptDocTags SpecialComment
|
||||
HiLink typescriptDocNGParam typescriptDocParam
|
||||
HiLink typescriptDocParam Function
|
||||
HiLink typescriptDocNumParam Function
|
||||
HiLink typescriptDocEventRef Function
|
||||
HiLink typescriptDocNamedParamType Type
|
||||
HiLink typescriptDocParamName Type
|
||||
HiLink typescriptDocParamType Type
|
||||
HiLink typescriptString String
|
||||
HiLink typescriptSpecial Special
|
||||
HiLink typescriptStringLiteralType String
|
||||
HiLink typescriptTemplateLiteralType String
|
||||
HiLink typescriptStringMember String
|
||||
HiLink typescriptTemplate String
|
||||
HiLink typescriptEventString String
|
||||
HiLink typescriptDestructureString String
|
||||
HiLink typescriptASCII Special
|
||||
HiLink typescriptTemplateSB Label
|
||||
HiLink typescriptRegexpString String
|
||||
HiLink typescriptGlobal Constant
|
||||
HiLink typescriptTestGlobal Function
|
||||
HiLink typescriptPrototype Type
|
||||
HiLink typescriptConditional Conditional
|
||||
HiLink typescriptConditionalElse Conditional
|
||||
HiLink typescriptCase Conditional
|
||||
HiLink typescriptDefault typescriptCase
|
||||
HiLink typescriptBranch Conditional
|
||||
HiLink typescriptIdentifier Structure
|
||||
HiLink typescriptVariable Identifier
|
||||
HiLink typescriptDestructureVariable PreProc
|
||||
HiLink typescriptEnumKeyword Identifier
|
||||
HiLink typescriptRepeat Repeat
|
||||
HiLink typescriptForOperator Repeat
|
||||
HiLink typescriptStatementKeyword Statement
|
||||
HiLink typescriptMessage Keyword
|
||||
HiLink typescriptOperator Identifier
|
||||
HiLink typescriptKeywordOp Identifier
|
||||
HiLink typescriptCastKeyword Special
|
||||
HiLink typescriptType Type
|
||||
HiLink typescriptNull Boolean
|
||||
HiLink typescriptNumber Number
|
||||
HiLink typescriptBoolean Boolean
|
||||
HiLink typescriptObjectLabel typescriptLabel
|
||||
HiLink typescriptDestructureLabel Function
|
||||
HiLink typescriptLabel Label
|
||||
HiLink typescriptTupleLable Label
|
||||
HiLink typescriptStringProperty String
|
||||
HiLink typescriptImport Special
|
||||
HiLink typescriptImportType Special
|
||||
HiLink typescriptAmbientDeclaration Special
|
||||
HiLink typescriptExport Special
|
||||
HiLink typescriptExportType Special
|
||||
HiLink typescriptModule Special
|
||||
HiLink typescriptTry Special
|
||||
HiLink typescriptExceptions Special
|
||||
hi def link typescriptEndColons Exception
|
||||
hi def link typescriptSymbols Normal
|
||||
hi def link typescriptBraces Function
|
||||
hi def link typescriptParens Normal
|
||||
hi def link typescriptComment Comment
|
||||
hi def link typescriptLineComment Comment
|
||||
hi def link typescriptDocComment Comment
|
||||
hi def link typescriptCommentTodo Todo
|
||||
hi def link typescriptMagicComment SpecialComment
|
||||
hi def link typescriptRef Include
|
||||
hi def link typescriptDocNotation SpecialComment
|
||||
hi def link typescriptDocTags SpecialComment
|
||||
hi def link typescriptDocNGParam typescriptDocParam
|
||||
hi def link typescriptDocParam Function
|
||||
hi def link typescriptDocNumParam Function
|
||||
hi def link typescriptDocEventRef Function
|
||||
hi def link typescriptDocNamedParamType Type
|
||||
hi def link typescriptDocParamName Type
|
||||
hi def link typescriptDocParamType Type
|
||||
hi def link typescriptString String
|
||||
hi def link typescriptSpecial Special
|
||||
hi def link typescriptStringLiteralType String
|
||||
hi def link typescriptTemplateLiteralType String
|
||||
hi def link typescriptStringMember String
|
||||
hi def link typescriptTemplate String
|
||||
hi def link typescriptEventString String
|
||||
hi def link typescriptDestructureString String
|
||||
hi def link typescriptASCII Special
|
||||
hi def link typescriptTemplateSB Label
|
||||
hi def link typescriptRegexpString String
|
||||
hi def link typescriptGlobal Constant
|
||||
hi def link typescriptTestGlobal Function
|
||||
hi def link typescriptPrototype Type
|
||||
hi def link typescriptConditional Conditional
|
||||
hi def link typescriptConditionalElse Conditional
|
||||
hi def link typescriptCase Conditional
|
||||
hi def link typescriptDefault typescriptCase
|
||||
hi def link typescriptBranch Conditional
|
||||
hi def link typescriptIdentifier Structure
|
||||
hi def link typescriptVariable Identifier
|
||||
hi def link typescriptUsing Identifier
|
||||
hi def link typescriptDestructureVariable PreProc
|
||||
hi def link typescriptEnumKeyword Identifier
|
||||
hi def link typescriptRepeat Repeat
|
||||
hi def link typescriptForOperator Repeat
|
||||
hi def link typescriptStatementKeyword Statement
|
||||
hi def link typescriptMessage Keyword
|
||||
hi def link typescriptOperator Identifier
|
||||
hi def link typescriptKeywordOp Identifier
|
||||
hi def link typescriptCastKeyword Special
|
||||
hi def link typescriptType Type
|
||||
hi def link typescriptNull Boolean
|
||||
hi def link typescriptNumber Number
|
||||
hi def link typescriptBoolean Boolean
|
||||
hi def link typescriptObjectLabel typescriptLabel
|
||||
hi def link typescriptDestructureLabel Function
|
||||
hi def link typescriptLabel Label
|
||||
hi def link typescriptTupleLable Label
|
||||
hi def link typescriptStringProperty String
|
||||
hi def link typescriptImport Special
|
||||
hi def link typescriptImportType Special
|
||||
hi def link typescriptAmbientDeclaration Special
|
||||
hi def link typescriptExport Special
|
||||
hi def link typescriptExportType Special
|
||||
hi def link typescriptModule Special
|
||||
hi def link typescriptTry Special
|
||||
hi def link typescriptExceptions Special
|
||||
|
||||
HiLink typescriptMember Function
|
||||
HiLink typescriptMethodAccessor Operator
|
||||
hi def link typescriptMember Function
|
||||
hi def link typescriptMethodAccessor Operator
|
||||
|
||||
HiLink typescriptAsyncFuncKeyword Keyword
|
||||
HiLink typescriptObjectAsyncKeyword Keyword
|
||||
HiLink typescriptAsyncFor Keyword
|
||||
HiLink typescriptFuncKeyword Keyword
|
||||
HiLink typescriptAsyncFunc Keyword
|
||||
HiLink typescriptArrowFunc Type
|
||||
HiLink typescriptFuncName Function
|
||||
HiLink typescriptFuncArg PreProc
|
||||
HiLink typescriptArrowFuncArg PreProc
|
||||
HiLink typescriptFuncComma Operator
|
||||
hi def link typescriptAsyncFuncKeyword Keyword
|
||||
hi def link typescriptObjectAsyncKeyword Keyword
|
||||
hi def link typescriptAsyncFor Keyword
|
||||
hi def link typescriptFuncKeyword Keyword
|
||||
hi def link typescriptAsyncFunc Keyword
|
||||
hi def link typescriptArrowFunc Type
|
||||
hi def link typescriptFuncName Function
|
||||
hi def link typescriptFuncCallArg PreProc
|
||||
hi def link typescriptArrowFuncArg PreProc
|
||||
hi def link typescriptFuncComma Operator
|
||||
|
||||
HiLink typescriptClassKeyword Keyword
|
||||
HiLink typescriptClassExtends Keyword
|
||||
" HiLink typescriptClassName Function
|
||||
HiLink typescriptAbstract Special
|
||||
" HiLink typescriptClassHeritage Function
|
||||
" HiLink typescriptInterfaceHeritage Function
|
||||
HiLink typescriptClassStatic StorageClass
|
||||
HiLink typescriptReadonlyModifier Keyword
|
||||
HiLink typescriptInterfaceKeyword Keyword
|
||||
HiLink typescriptInterfaceExtends Keyword
|
||||
HiLink typescriptInterfaceName Function
|
||||
hi def link typescriptClassKeyword Keyword
|
||||
hi def link typescriptClassExtends Keyword
|
||||
" hi def link typescriptClassName Function
|
||||
hi def link typescriptAbstract Special
|
||||
" hi def link typescriptClassHeritage Function
|
||||
" hi def link typescriptInterfaceHeritage Function
|
||||
hi def link typescriptClassStatic StorageClass
|
||||
hi def link typescriptReadonlyModifier Keyword
|
||||
hi def link typescriptInterfaceKeyword Keyword
|
||||
hi def link typescriptInterfaceExtends Keyword
|
||||
hi def link typescriptInterfaceName Function
|
||||
|
||||
HiLink shellbang Comment
|
||||
hi def link shellbang Comment
|
||||
|
||||
HiLink typescriptTypeParameter Identifier
|
||||
HiLink typescriptConstraint Keyword
|
||||
HiLink typescriptPredefinedType Type
|
||||
HiLink typescriptReadonlyArrayKeyword Keyword
|
||||
HiLink typescriptUnion Operator
|
||||
HiLink typescriptFuncTypeArrow Function
|
||||
HiLink typescriptConstructorType Function
|
||||
HiLink typescriptTypeQuery Keyword
|
||||
HiLink typescriptAccessibilityModifier Keyword
|
||||
HiLink typescriptOptionalMark PreProc
|
||||
HiLink typescriptFuncType Special
|
||||
HiLink typescriptMappedIn Special
|
||||
HiLink typescriptCall PreProc
|
||||
HiLink typescriptParamImpl PreProc
|
||||
HiLink typescriptConstructSignature Identifier
|
||||
HiLink typescriptAliasDeclaration Identifier
|
||||
HiLink typescriptAliasKeyword Keyword
|
||||
HiLink typescriptUserDefinedType Keyword
|
||||
HiLink typescriptTypeReference Identifier
|
||||
HiLink typescriptConstructor Keyword
|
||||
HiLink typescriptDecorator Special
|
||||
HiLink typescriptAssertType Keyword
|
||||
hi def link typescriptTypeParameter Identifier
|
||||
hi def link typescriptConstraint Keyword
|
||||
hi def link typescriptPredefinedType Type
|
||||
hi def link typescriptReadonlyArrayKeyword Keyword
|
||||
hi def link typescriptUnion Operator
|
||||
hi def link typescriptFuncTypeArrow Function
|
||||
hi def link typescriptConstructorType Function
|
||||
hi def link typescriptTypeQuery Keyword
|
||||
hi def link typescriptAccessibilityModifier Keyword
|
||||
hi def link typescriptAutoAccessor Keyword
|
||||
hi def link typescriptOptionalMark PreProc
|
||||
hi def link typescriptFuncType Special
|
||||
hi def link typescriptMappedIn Special
|
||||
hi def link typescriptCall PreProc
|
||||
hi def link typescriptParamImpl PreProc
|
||||
hi def link typescriptConstructSignature Identifier
|
||||
hi def link typescriptAliasDeclaration Identifier
|
||||
hi def link typescriptAliasKeyword Keyword
|
||||
hi def link typescriptUserDefinedType Keyword
|
||||
hi def link typescriptTypeReference Identifier
|
||||
hi def link typescriptConstructor Keyword
|
||||
hi def link typescriptDecorator Special
|
||||
hi def link typescriptAssertType Keyword
|
||||
|
||||
highlight link typeScript NONE
|
||||
|
||||
delcommand HiLink
|
||||
unlet did_typescript_hilink
|
||||
endif
|
||||
hi def link typeScript NONE
|
||||
|
||||
@@ -84,7 +84,7 @@ endif
|
||||
" Operators
|
||||
if exists('g:crystal_operators')
|
||||
syn match crystalOperator "[~!^&|*/%+-]\|<=>\|<=\|\%(<\|\<\%(class\|struct\)\s\+\u\w*\s*\)\@<!<[^<]\@=\|===\|==\|=\~\|>>\|>=\|=\@1<!>\|\*\*\|\.\.\.\|\.\.\|::"
|
||||
syn match crystalOperator "->\|-=\|/=\|\*\*=\|\*=\|&&=\|&=\|&&\|||=\||=\|||\|%=\|+=\|!\~\|!=\|//"
|
||||
syn match crystalOperator "->\|-=\|/=\|\*\*=\|\*=\|&&=\|&=\|&&\|||=\||=\|||\|%=\|+=\|\^=\|<<=\|>>=\|&+=\|&-=\|&\*=\|!\~\|!=\|//"
|
||||
syn region crystalBracketOperator matchgroup=crystalOperator start="\%(\w[?!]\=\|[]})]\)\@2<=\[" end="]" contains=TOP
|
||||
endif
|
||||
|
||||
|
||||
@@ -18,60 +18,84 @@ syn case match
|
||||
syn sync minlines=20
|
||||
|
||||
let g:cucumber_languages = {
|
||||
\"en": {"and": "And\\>", "background": "Background\\>", "but": "But\\>", "examples": "Scenarios\\>\\|Examples\\>", "feature": "Business Need\\>\\|Feature\\>\\|Ability\\>", "given": "Given\\>", "scenario": "Scenario\\>", "scenario_outline": "Scenario Template\\>\\|Scenario Outline\\>", "then": "Then\\>", "when": "When\\>"},
|
||||
\"ar": {"and": "\\%u0648\\>", "background": "\\%u0627\\%u0644\\%u062e\\%u0644\\%u0641\\%u064a\\%u0629\\>", "but": "\\%u0644\\%u0643\\%u0646\\>", "examples": "\\%u0627\\%u0645\\%u062b\\%u0644\\%u0629\\>", "feature": "\\%u062e\\%u0627\\%u0635\\%u064a\\%u0629\\>", "given": "\\%u0628\\%u0641\\%u0631\\%u0636\\>", "scenario": "\\%u0633\\%u064a\\%u0646\\%u0627\\%u0631\\%u064a\\%u0648\\>", "scenario_outline": "\\%u0633\\%u064a\\%u0646\\%u0627\\%u0631\\%u064a\\%u0648 \\%u0645\\%u062e\\%u0637\\%u0637\\>", "then": "\\%u0627\\%u0630\\%u0627\\%u064b\\>\\|\\%u062b\\%u0645\\>", "when": "\\%u0639\\%u0646\\%u062f\\%u0645\\%u0627\\>\\|\\%u0645\\%u062a\\%u0649\\>"},
|
||||
\"bg": {"and": "\\%u0418\\>", "background": "\\%u041f\\%u0440\\%u0435\\%u0434\\%u0438\\%u0441\\%u0442\\%u043e\\%u0440\\%u0438\\%u044f\\>", "but": "\\%u041d\\%u043e\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u0438\\>", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u043d\\%u043e\\%u0441\\%u0442\\>", "given": "\\%u0414\\%u0430\\%u0434\\%u0435\\%u043d\\%u043e\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\>", "scenario_outline": "\\%u0420\\%u0430\\%u043c\\%u043a\\%u0430 \\%u043d\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\>", "then": "\\%u0422\\%u043e\\>", "when": "\\%u041a\\%u043e\\%u0433\\%u0430\\%u0442\\%u043e\\>"},
|
||||
\"bm": {"and": "Dan\\>", "background": "Latar Belakang\\>", "but": "Tetapi\\>", "examples": "Contoh \\>", "feature": "Fungsi\\>", "given": "Bagi\\>", "scenario": "Senario\\>", "scenario_outline": "Menggariskan Senario \\>", "then": "Kemudian\\>", "when": "Apabila\\>"},
|
||||
\"ca": {"and": "I\\>", "background": "Antecedents\\>\\|Rerefons\\>", "but": "Per\\%u00f2\\>", "examples": "Exemples\\>", "feature": "Caracter\\%u00edstica\\>\\|Funcionalitat\\>", "given": "At\\%u00e8s\\>\\|Donada\\>\\|Donat\\>\\|Atesa\\>", "scenario": "Escenari\\>", "scenario_outline": "Esquema de l'escenari\\>", "then": "Aleshores\\>\\|Cal\\>", "when": "Quan\\>"},
|
||||
\"cs": {"and": "A tak\\%u00e9\\>\\|A\\>", "background": "Pozad\\%u00ed\\>\\|Kontext\\>", "but": "Ale\\>", "examples": "P\\%u0159\\%u00edklady\\>", "feature": "Po\\%u017eadavek\\>", "given": "Za p\\%u0159edpokladu\\>\\|Pokud\\>", "scenario": "Sc\\%u00e9n\\%u00e1\\%u0159\\>", "scenario_outline": "N\\%u00e1\\%u010drt Sc\\%u00e9n\\%u00e1\\%u0159e\\>\\|Osnova sc\\%u00e9n\\%u00e1\\%u0159e\\>", "then": "Pak\\>", "when": "Kdy\\%u017e\\>"},
|
||||
\"cy-GB": {"and": "A\\>", "background": "Cefndir\\>", "but": "Ond\\>", "examples": "Enghreifftiau\\>", "feature": "Arwedd\\>", "given": "Anrhegedig a\\>", "scenario": "Scenario\\>", "scenario_outline": "Scenario Amlinellol\\>", "then": "Yna\\>", "when": "Pryd\\>"},
|
||||
\"da": {"and": "Og\\>", "background": "Baggrund\\>", "but": "Men\\>", "examples": "Eksempler\\>", "feature": "Egenskab\\>", "given": "Givet\\>", "scenario": "Scenarie\\>", "scenario_outline": "Abstrakt Scenario\\>", "then": "S\\%u00e5\\>", "when": "N\\%u00e5r\\>"},
|
||||
\"de": {"and": "Und\\>", "background": "Grundlage\\>", "but": "Aber\\>", "examples": "Beispiele\\>", "feature": "Funktionalit\\%u00e4t\\>", "given": "Gegeben sei\\>\\|Angenommen\\>", "scenario": "Szenario\\>", "scenario_outline": "Szenariogrundriss\\>", "then": "Dann\\>", "when": "Wenn\\>"},
|
||||
\"el": {"and": "\\%u039a\\%u03b1\\%u03b9\\>", "background": "\\%u03a5\\%u03c0\\%u03cc\\%u03b2\\%u03b1\\%u03b8\\%u03c1\\%u03bf\\>", "but": "\\%u0391\\%u03bb\\%u03bb\\%u03ac\\>", "examples": "\\%u03a0\\%u03b1\\%u03c1\\%u03b1\\%u03b4\\%u03b5\\%u03af\\%u03b3\\%u03bc\\%u03b1\\%u03c4\\%u03b1\\>\\|\\%u03a3\\%u03b5\\%u03bd\\%u03ac\\%u03c1\\%u03b9\\%u03b1\\>", "feature": "\\%u0394\\%u03c5\\%u03bd\\%u03b1\\%u03c4\\%u03cc\\%u03c4\\%u03b7\\%u03c4\\%u03b1\\>\\|\\%u039b\\%u03b5\\%u03b9\\%u03c4\\%u03bf\\%u03c5\\%u03c1\\%u03b3\\%u03af\\%u03b1\\>", "given": "\\%u0394\\%u03b5\\%u03b4\\%u03bf\\%u03bc\\%u03ad\\%u03bd\\%u03bf\\%u03c5 \\%u03cc\\%u03c4\\%u03b9\\>\\|\\%u0394\\%u03b5\\%u03b4\\%u03bf\\%u03bc\\%u03ad\\%u03bd\\%u03bf\\%u03c5\\>", "scenario": "\\%u03a3\\%u03b5\\%u03bd\\%u03ac\\%u03c1\\%u03b9\\%u03bf\\>", "scenario_outline": "\\%u03a0\\%u03b5\\%u03c1\\%u03b9\\%u03b3\\%u03c1\\%u03b1\\%u03c6\\%u03ae \\%u03a3\\%u03b5\\%u03bd\\%u03b1\\%u03c1\\%u03af\\%u03bf\\%u03c5\\>", "then": "\\%u03a4\\%u03cc\\%u03c4\\%u03b5\\>", "when": "\\%u038c\\%u03c4\\%u03b1\\%u03bd\\>"},
|
||||
\"en-Scouse": {"and": "An\\>", "background": "Dis is what went down\\>", "but": "Buh\\>", "examples": "Examples\\>", "feature": "Feature\\>", "given": "Youse know when youse got\\>\\|Givun\\>", "scenario": "The thing of it is\\>", "scenario_outline": "Wharrimean is\\>", "then": "Den youse gotta\\>\\|Dun\\>", "when": "Youse know like when\\>\\|Wun\\>"},
|
||||
\"en-au": {"and": "Too right\\>", "background": "First off\\>", "but": "Yeah nah\\>", "examples": "You'll wanna\\>", "feature": "Pretty much\\>", "given": "Y'know\\>", "scenario": "Awww, look mate\\>", "scenario_outline": "Reckon it's like\\>", "then": "But at the end of the day I reckon\\>", "when": "It's just unbelievable\\>"},
|
||||
\"en-lol": {"and": "AN\\>", "background": "B4\\>", "but": "BUT\\>", "examples": "EXAMPLZ\\>", "feature": "OH HAI\\>", "given": "I CAN HAZ\\>", "scenario": "MISHUN\\>", "scenario_outline": "MISHUN SRSLY\\>", "then": "DEN\\>", "when": "WEN\\>"},
|
||||
\"en-old": {"and": "Ond\\>\\|7\\>", "background": "\\%u00c6r\\>\\|Aer\\>", "but": "Ac\\>", "examples": "Se \\%u00f0e\\>\\|Se \\%u00fee\\>\\|Se the\\>", "feature": "Hw\\%u00e6t\\>\\|Hwaet\\>", "given": "\\%u00d0urh\\>\\|\\%u00deurh\\>\\|Thurh\\>", "scenario": "Swa\\>", "scenario_outline": "Swa hw\\%u00e6r swa\\>\\|Swa hwaer swa\\>", "then": "\\%u00d0a \\%u00f0e\\>\\|\\%u00dea \\%u00fee\\>\\|\\%u00dea\\>\\|\\%u00d0a\\>\\|Tha the\\>\\|Tha\\>", "when": "\\%u00d0a\\>\\|\\%u00dea\\>\\|Tha\\>"},
|
||||
\"en-pirate": {"and": "Aye\\>", "background": "Yo-ho-ho\\>", "but": "Avast!\\>", "examples": "Dead men tell no tales\\>", "feature": "Ahoy matey!\\>", "given": "Gangway!\\>", "scenario": "Heave to\\>", "scenario_outline": "Shiver me timbers\\>", "then": "Let go and haul\\>", "when": "Blimey!\\>"},
|
||||
\"en-tx": {"and": "And y'all\\>", "background": "Background\\>", "but": "But y'all\\>", "examples": "Examples\\>", "feature": "Feature\\>", "given": "Given y'all\\>", "scenario": "Scenario\\>", "scenario_outline": "All y'all\\>", "then": "Then y'all\\>", "when": "When y'all\\>"},
|
||||
\"eo": {"and": "Kaj\\>", "background": "Fono\\>", "but": "Sed\\>", "examples": "Ekzemploj\\>", "feature": "Trajto\\>", "given": "Donita\\%u0135o\\>", "scenario": "Scenaro\\>", "scenario_outline": "Konturo de la scenaro\\>", "then": "Do\\>", "when": "Se\\>"},
|
||||
\"es": {"and": "Y\\>", "background": "Antecedentes\\>", "but": "Pero\\>", "examples": "Ejemplos\\>", "feature": "Caracter\\%u00edstica\\>", "given": "Dadas\\>\\|Dados\\>\\|Dada\\>\\|Dado\\>", "scenario": "Escenario\\>", "scenario_outline": "Esquema del escenario\\>", "then": "Entonces\\>", "when": "Cuando\\>"},
|
||||
\"et": {"and": "Ja\\>", "background": "Taust\\>", "but": "Kuid\\>", "examples": "Juhtumid\\>", "feature": "Omadus\\>", "given": "Eeldades\\>", "scenario": "Stsenaarium\\>", "scenario_outline": "Raamstsenaarium\\>", "then": "Siis\\>", "when": "Kui\\>"},
|
||||
\"fa": {"and": "\\%u0648\\>", "background": "\\%u0632\\%u0645\\%u06cc\\%u0646\\%u0647\\>", "but": "\\%u0627\\%u0645\\%u0627\\>", "examples": "\\%u0646\\%u0645\\%u0648\\%u0646\\%u0647 \\%u0647\\%u0627\\>", "feature": "\\%u0648\\%u0650\\%u06cc\\%u0698\\%u06af\\%u06cc\\>", "given": "\\%u0628\\%u0627 \\%u0641\\%u0631\\%u0636\\>", "scenario": "\\%u0633\\%u0646\\%u0627\\%u0631\\%u06cc\\%u0648\\>", "scenario_outline": "\\%u0627\\%u0644\\%u06af\\%u0648\\%u06cc \\%u0633\\%u0646\\%u0627\\%u0631\\%u06cc\\%u0648\\>", "then": "\\%u0622\\%u0646\\%u06af\\%u0627\\%u0647\\>", "when": "\\%u0647\\%u0646\\%u06af\\%u0627\\%u0645\\%u06cc\\>"},
|
||||
\"fi": {"and": "Ja\\>", "background": "Tausta\\>", "but": "Mutta\\>", "examples": "Tapaukset\\>", "feature": "Ominaisuus\\>", "given": "Oletetaan\\>", "scenario": "Tapaus\\>", "scenario_outline": "Tapausaihio\\>", "then": "Niin\\>", "when": "Kun\\>"},
|
||||
\"fr": {"and": "Et\\>", "background": "Contexte\\>", "but": "Mais\\>", "examples": "Exemples\\>", "feature": "Fonctionnalit\\%u00e9\\>", "given": "\\%u00c9tant donn\\%u00e9es\\>\\|\\%u00c9tant donn\\%u00e9s\\>\\|\\%u00c9tant donn\\%u00e9e\\>\\|\\%u00c9tant donn\\%u00e9\\>\\|Etant donn\\%u00e9es\\>\\|Etant donn\\%u00e9s\\>\\|Etant donn\\%u00e9e\\>\\|Etant donn\\%u00e9\\>\\|Soit\\>", "scenario": "Sc\\%u00e9nario\\>", "scenario_outline": "Plan du sc\\%u00e9nario\\>\\|Plan du Sc\\%u00e9nario\\>", "then": "Alors\\>", "when": "Lorsqu'\\|Lorsque\\>\\|Quand\\>"},
|
||||
\"gl": {"and": "E\\>", "background": "Contexto\\>", "but": "Mais\\>\\|Pero\\>", "examples": "Exemplos\\>", "feature": "Caracter\\%u00edstica\\>", "given": "Dadas\\>\\|Dados\\>\\|Dada\\>\\|Dado\\>", "scenario": "Escenario\\>", "scenario_outline": "Esbozo do escenario\\>", "then": "Ent\\%u00f3n\\>\\|Logo\\>", "when": "Cando\\>"},
|
||||
\"he": {"and": "\\%u05d5\\%u05d2\\%u05dd\\>", "background": "\\%u05e8\\%u05e7\\%u05e2\\>", "but": "\\%u05d0\\%u05d1\\%u05dc\\>", "examples": "\\%u05d3\\%u05d5\\%u05d2\\%u05de\\%u05d0\\%u05d5\\%u05ea\\>", "feature": "\\%u05ea\\%u05db\\%u05d5\\%u05e0\\%u05d4\\>", "given": "\\%u05d1\\%u05d4\\%u05d9\\%u05e0\\%u05ea\\%u05df\\>", "scenario": "\\%u05ea\\%u05e8\\%u05d7\\%u05d9\\%u05e9\\>", "scenario_outline": "\\%u05ea\\%u05d1\\%u05e0\\%u05d9\\%u05ea \\%u05ea\\%u05e8\\%u05d7\\%u05d9\\%u05e9\\>", "then": "\\%u05d0\\%u05d6\\%u05d9\\>\\|\\%u05d0\\%u05d6\\>", "when": "\\%u05db\\%u05d0\\%u05e9\\%u05e8\\>"},
|
||||
\"hi": {"and": "\\%u0924\\%u0925\\%u093e\\>\\|\\%u0914\\%u0930\\>", "background": "\\%u092a\\%u0943\\%u0937\\%u094d\\%u0920\\%u092d\\%u0942\\%u092e\\%u093f\\>", "but": "\\%u092a\\%u0930\\>", "examples": "\\%u0909\\%u0926\\%u093e\\%u0939\\%u0930\\%u0923\\>", "feature": "\\%u0930\\%u0942\\%u092a \\%u0932\\%u0947\\%u0916\\>", "given": "\\%u091a\\%u0942\\%u0902\\%u0915\\%u093f\\>\\|\\%u092f\\%u0926\\%u093f\\>\\|\\%u0905\\%u0917\\%u0930\\>", "scenario": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f\\>", "scenario_outline": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f \\%u0930\\%u0942\\%u092a\\%u0930\\%u0947\\%u0916\\%u093e\\>", "then": "\\%u0924\\%u092c\\>", "when": "\\%u091c\\%u092c\\>"},
|
||||
\"hr": {"and": "I\\>", "background": "Pozadina\\>", "but": "Ali\\>", "examples": "Scenariji\\>\\|Primjeri\\>", "feature": "Mogu\\%u0107nost\\>\\|Mogucnost\\>\\|Osobina\\>", "given": "Zadano\\>\\|Zadani\\>\\|Zadan\\>", "scenario": "Scenarij\\>", "scenario_outline": "Koncept\\>\\|Skica\\>", "then": "Onda\\>", "when": "Kada\\>\\|Kad\\>"},
|
||||
\"hu": {"and": "\\%u00c9s\\>", "background": "H\\%u00e1tt\\%u00e9r\\>", "but": "De\\>", "examples": "P\\%u00e9ld\\%u00e1k\\>", "feature": "Jellemz\\%u0151\\>", "given": "Amennyiben\\>\\|Adott\\>", "scenario": "Forgat\\%u00f3k\\%u00f6nyv\\>", "scenario_outline": "Forgat\\%u00f3k\\%u00f6nyv v\\%u00e1zlat\\>", "then": "Akkor\\>", "when": "Amikor\\>\\|Majd\\>\\|Ha\\>"},
|
||||
\"id": {"and": "Dan\\>", "background": "Dasar\\>", "but": "Tapi\\>", "examples": "Contoh\\>", "feature": "Fitur\\>", "given": "Dengan\\>", "scenario": "Skenario\\>", "scenario_outline": "Skenario konsep\\>", "then": "Maka\\>", "when": "Ketika\\>"},
|
||||
\"is": {"and": "Og\\>", "background": "Bakgrunnur\\>", "but": "En\\>", "examples": "Atbur\\%u00f0ar\\%u00e1sir\\>\\|D\\%u00e6mi\\>", "feature": "Eiginleiki\\>", "given": "Ef\\>", "scenario": "Atbur\\%u00f0ar\\%u00e1s\\>", "scenario_outline": "L\\%u00fdsing Atbur\\%u00f0ar\\%u00e1sar\\>\\|L\\%u00fdsing D\\%u00e6ma\\>", "then": "\\%u00de\\%u00e1\\>", "when": "\\%u00deegar\\>"},
|
||||
\"it": {"and": "E\\>", "background": "Contesto\\>", "but": "Ma\\>", "examples": "Esempi\\>", "feature": "Funzionalit\\%u00e0\\>", "given": "Dato\\>\\|Data\\>\\|Dati\\>\\|Date\\>", "scenario": "Scenario\\>", "scenario_outline": "Schema dello scenario\\>", "then": "Allora\\>", "when": "Quando\\>"},
|
||||
\"ja": {"and": "\\%u304b\\%u3064", "background": "\\%u80cc\\%u666f\\>", "but": "\\%u3057\\%u304b\\%u3057\\|\\%u305f\\%u3060\\%u3057\\|\\%u4f46\\%u3057", "examples": "\\%u30b5\\%u30f3\\%u30d7\\%u30eb\\>\\|\\%u4f8b\\>", "feature": "\\%u30d5\\%u30a3\\%u30fc\\%u30c1\\%u30e3\\>\\|\\%u6a5f\\%u80fd\\>", "given": "\\%u524d\\%u63d0", "scenario": "\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\>", "scenario_outline": "\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30a2\\%u30a6\\%u30c8\\%u30e9\\%u30a4\\%u30f3\\>\\|\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30c6\\%u30f3\\%u30d7\\%u30ec\\%u30fc\\%u30c8\\>\\|\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30c6\\%u30f3\\%u30d7\\%u30ec\\>\\|\\%u30c6\\%u30f3\\%u30d7\\%u30ec\\>", "then": "\\%u306a\\%u3089\\%u3070", "when": "\\%u3082\\%u3057"},
|
||||
\"ko": {"and": "\\%uadf8\\%ub9ac\\%uace0", "background": "\\%ubc30\\%uacbd\\>", "but": "\\%ud558\\%uc9c0\\%ub9cc\\|\\%ub2e8", "examples": "\\%uc608\\>", "feature": "\\%uae30\\%ub2a5\\>", "given": "\\%uc870\\%uac74\\|\\%uba3c\\%uc800", "scenario": "\\%uc2dc\\%ub098\\%ub9ac\\%uc624\\>", "scenario_outline": "\\%uc2dc\\%ub098\\%ub9ac\\%uc624 \\%uac1c\\%uc694\\>", "then": "\\%uadf8\\%ub7ec\\%uba74", "when": "\\%ub9cc\\%uc77c\\|\\%ub9cc\\%uc57d"},
|
||||
\"lt": {"and": "Ir\\>", "background": "Kontekstas\\>", "but": "Bet\\>", "examples": "Pavyzd\\%u017eiai\\>\\|Scenarijai\\>\\|Variantai\\>", "feature": "Savyb\\%u0117\\>", "given": "Duota\\>", "scenario": "Scenarijus\\>", "scenario_outline": "Scenarijaus \\%u0161ablonas\\>", "then": "Tada\\>", "when": "Kai\\>"},
|
||||
\"lu": {"and": "an\\>\\|a\\>", "background": "Hannergrond\\>", "but": "m\\%u00e4\\>\\|awer\\>", "examples": "Beispiller\\>", "feature": "Funktionalit\\%u00e9it\\>", "given": "ugeholl\\>", "scenario": "Szenario\\>", "scenario_outline": "Plang vum Szenario\\>", "then": "dann\\>", "when": "wann\\>"},
|
||||
\"lv": {"and": "Un\\>", "background": "Situ\\%u0101cija\\>\\|Konteksts\\>", "but": "Bet\\>", "examples": "Piem\\%u0113ri\\>\\|Paraugs\\>", "feature": "Funkcionalit\\%u0101te\\>\\|F\\%u012b\\%u010da\\>", "given": "Kad\\>", "scenario": "Scen\\%u0101rijs\\>", "scenario_outline": "Scen\\%u0101rijs p\\%u0113c parauga\\>", "then": "Tad\\>", "when": "Ja\\>"},
|
||||
\"nl": {"and": "En\\>", "background": "Achtergrond\\>", "but": "Maar\\>", "examples": "Voorbeelden\\>", "feature": "Functionaliteit\\>", "given": "Gegeven\\>\\|Stel\\>", "scenario": "Scenario\\>", "scenario_outline": "Abstract Scenario\\>", "then": "Dan\\>", "when": "Als\\>"},
|
||||
\"no": {"and": "Og\\>", "background": "Bakgrunn\\>", "but": "Men\\>", "examples": "Eksempler\\>", "feature": "Egenskap\\>", "given": "Gitt\\>", "scenario": "Scenario\\>", "scenario_outline": "Abstrakt Scenario\\>\\|Scenariomal\\>", "then": "S\\%u00e5\\>", "when": "N\\%u00e5r\\>"},
|
||||
\"pl": {"and": "Oraz\\>\\|I\\>", "background": "Za\\%u0142o\\%u017cenia\\>", "but": "Ale\\>", "examples": "Przyk\\%u0142ady\\>", "feature": "W\\%u0142a\\%u015bciwo\\%u015b\\%u0107\\>\\|Potrzeba biznesowa\\>\\|Funkcja\\>\\|Aspekt\\>", "given": "Zak\\%u0142adaj\\%u0105c\\>\\|Maj\\%u0105c\\>", "scenario": "Scenariusz\\>", "scenario_outline": "Szablon scenariusza\\>", "then": "Wtedy\\>", "when": "Je\\%u017celi\\>\\|Je\\%u015bli\\>\\|Kiedy\\>\\|Gdy\\>"},
|
||||
\"pt": {"and": "E\\>", "background": "Cen\\%u00e1rio de Fundo\\>\\|Cenario de Fundo\\>\\|Contexto\\>\\|Fundo\\>", "but": "Mas\\>", "examples": "Cen\\%u00e1rios\\>\\|Exemplos\\>\\|Cenarios\\>", "feature": "Caracter\\%u00edstica\\>\\|Funcionalidade\\>\\|Caracteristica\\>", "given": "Dadas\\>\\|Dados\\>\\|Dada\\>\\|Dado\\>", "scenario": "Cen\\%u00e1rio\\>\\|Cenario\\>", "scenario_outline": "Delinea\\%u00e7\\%u00e3o do Cen\\%u00e1rio\\>\\|Esquema do Cen\\%u00e1rio\\>\\|Delineacao do Cenario\\>\\|Esquema do Cenario\\>", "then": "Ent\\%u00e3o\\>\\|Entao\\>", "when": "Quando\\>"},
|
||||
\"ro": {"and": "\\%u015ei\\>\\|\\%u0218i\\>\\|Si\\>", "background": "Context\\>", "but": "Dar\\>", "examples": "Exemple\\>", "feature": "Func\\%u0163ionalitate\\>\\|Func\\%u021bionalitate\\>\\|Functionalitate\\>", "given": "Da\\%u0163i fiind\\>\\|Da\\%u021bi fiind\\>\\|Dati fiind\\>\\|Date fiind\\>\\|Dat fiind\\>", "scenario": "Scenariu\\>", "scenario_outline": "Structur\\%u0103 scenariu\\>\\|Structura scenariu\\>", "then": "Atunci\\>", "when": "C\\%u00e2nd\\>\\|Cand\\>"},
|
||||
\"ru": {"and": "\\%u041a \\%u0442\\%u043e\\%u043c\\%u0443 \\%u0436\\%u0435\\>\\|\\%u0422\\%u0430\\%u043a\\%u0436\\%u0435\\>\\|\\%u0418\\>", "background": "\\%u041f\\%u0440\\%u0435\\%u0434\\%u044b\\%u0441\\%u0442\\%u043e\\%u0440\\%u0438\\%u044f\\>\\|\\%u041a\\%u043e\\%u043d\\%u0442\\%u0435\\%u043a\\%u0441\\%u0442\\>", "but": "\\%u041d\\%u043e\\>\\|\\%u0410\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u044b\\>", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\>\\|\\%u0421\\%u0432\\%u043e\\%u0439\\%u0441\\%u0442\\%u0432\\%u043e\\>\\|\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u044f\\>", "given": "\\%u0414\\%u043e\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\>\\|\\%u041f\\%u0443\\%u0441\\%u0442\\%u044c\\>\\|\\%u0414\\%u0430\\%u043d\\%u043e\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\>", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u044f\\>", "then": "\\%u0422\\%u043e\\%u0433\\%u0434\\%u0430\\>\\|\\%u0422\\%u043e\\>", "when": "\\%u041a\\%u043e\\%u0433\\%u0434\\%u0430\\>\\|\\%u0415\\%u0441\\%u043b\\%u0438\\>"},
|
||||
\"sk": {"and": "A z\\%u00e1rove\\%u0148\\>\\|A taktie\\%u017e\\>\\|A tie\\%u017e\\>\\|A\\>", "background": "Pozadie\\>", "but": "Ale\\>", "examples": "Pr\\%u00edklady\\>", "feature": "Po\\%u017eiadavka\\>\\|Vlastnos\\%u0165\\>\\|Funkcia\\>", "given": "Za predpokladu\\>\\|Pokia\\%u013e\\>", "scenario": "Scen\\%u00e1r\\>", "scenario_outline": "N\\%u00e1\\%u010drt Scen\\%u00e1ru\\>\\|N\\%u00e1\\%u010drt Scen\\%u00e1ra\\>\\|Osnova Scen\\%u00e1ra\\>", "then": "Potom\\>\\|Tak\\>", "when": "Ke\\%u010f\\>\\|Ak\\>"},
|
||||
\"sr-Cyrl": {"and": "\\%u0418\\>", "background": "\\%u041a\\%u043e\\%u043d\\%u0442\\%u0435\\%u043a\\%u0441\\%u0442\\>\\|\\%u041f\\%u043e\\%u0437\\%u0430\\%u0434\\%u0438\\%u043d\\%u0430\\>\\|\\%u041e\\%u0441\\%u043d\\%u043e\\%u0432\\%u0430\\>", "but": "\\%u0410\\%u043b\\%u0438\\>", "examples": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0438\\>\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u0438\\>", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u043d\\%u043e\\%u0441\\%u0442\\>\\|\\%u041c\\%u043e\\%u0433\\%u0443\\%u045b\\%u043d\\%u043e\\%u0441\\%u0442\\>\\|\\%u041e\\%u0441\\%u043e\\%u0431\\%u0438\\%u043d\\%u0430\\>", "given": "\\%u0417\\%u0430\\%u0434\\%u0430\\%u0442\\%u043e\\>\\|\\%u0417\\%u0430\\%u0434\\%u0430\\%u0442\\%u0435\\>\\|\\%u0417\\%u0430\\%u0434\\%u0430\\%u0442\\%u0438\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u043e\\>\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\>", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0430\\>\\|\\%u041a\\%u043e\\%u043d\\%u0446\\%u0435\\%u043f\\%u0442\\>\\|\\%u0421\\%u043a\\%u0438\\%u0446\\%u0430\\>", "then": "\\%u041e\\%u043d\\%u0434\\%u0430\\>", "when": "\\%u041a\\%u0430\\%u0434\\%u0430\\>\\|\\%u041a\\%u0430\\%u0434\\>"},
|
||||
\"sr-Latn": {"and": "I\\>", "background": "Kontekst\\>\\|Pozadina\\>\\|Osnova\\>", "but": "Ali\\>", "examples": "Scenariji\\>\\|Primeri\\>", "feature": "Mogu\\%u0107nost\\>\\|Funkcionalnost\\>\\|Mogucnost\\>\\|Osobina\\>", "given": "Zadato\\>\\|Zadate\\>\\|Zatati\\>", "scenario": "Scenario\\>\\|Primer\\>", "scenario_outline": "Struktura scenarija\\>\\|Koncept\\>\\|Skica\\>", "then": "Onda\\>", "when": "Kada\\>\\|Kad\\>"},
|
||||
\"sv": {"and": "Och\\>", "background": "Bakgrund\\>", "but": "Men\\>", "examples": "Exempel\\>", "feature": "Egenskap\\>", "given": "Givet\\>", "scenario": "Scenario\\>", "scenario_outline": "Abstrakt Scenario\\>\\|Scenariomall\\>", "then": "S\\%u00e5\\>", "when": "N\\%u00e4r\\>"},
|
||||
\"th": {"and": "\\%u0e41\\%u0e25\\%u0e30\\>", "background": "\\%u0e41\\%u0e19\\%u0e27\\%u0e04\\%u0e34\\%u0e14\\>", "but": "\\%u0e41\\%u0e15\\%u0e48\\>", "examples": "\\%u0e0a\\%u0e38\\%u0e14\\%u0e02\\%u0e2d\\%u0e07\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\>\\|\\%u0e0a\\%u0e38\\%u0e14\\%u0e02\\%u0e2d\\%u0e07\\%u0e15\\%u0e31\\%u0e27\\%u0e2d\\%u0e22\\%u0e48\\%u0e32\\%u0e07\\>", "feature": "\\%u0e04\\%u0e27\\%u0e32\\%u0e21\\%u0e15\\%u0e49\\%u0e2d\\%u0e07\\%u0e01\\%u0e32\\%u0e23\\%u0e17\\%u0e32\\%u0e07\\%u0e18\\%u0e38\\%u0e23\\%u0e01\\%u0e34\\%u0e08\\>\\|\\%u0e04\\%u0e27\\%u0e32\\%u0e21\\%u0e2a\\%u0e32\\%u0e21\\%u0e32\\%u0e23\\%u0e16\\>\\|\\%u0e42\\%u0e04\\%u0e23\\%u0e07\\%u0e2b\\%u0e25\\%u0e31\\%u0e01\\>", "given": "\\%u0e01\\%u0e33\\%u0e2b\\%u0e19\\%u0e14\\%u0e43\\%u0e2b\\%u0e49\\>", "scenario": "\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\>", "scenario_outline": "\\%u0e42\\%u0e04\\%u0e23\\%u0e07\\%u0e2a\\%u0e23\\%u0e49\\%u0e32\\%u0e07\\%u0e02\\%u0e2d\\%u0e07\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\>\\|\\%u0e2a\\%u0e23\\%u0e38\\%u0e1b\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\>", "then": "\\%u0e14\\%u0e31\\%u0e07\\%u0e19\\%u0e31\\%u0e49\\%u0e19\\>", "when": "\\%u0e40\\%u0e21\\%u0e37\\%u0e48\\%u0e2d\\>"},
|
||||
\"tl": {"and": "\\%u0c2e\\%u0c30\\%u0c3f\\%u0c2f\\%u0c41\\>", "background": "\\%u0c28\\%u0c47\\%u0c2a\\%u0c25\\%u0c4d\\%u0c2f\\%u0c02\\>", "but": "\\%u0c15\\%u0c3e\\%u0c28\\%u0c3f\\>", "examples": "\\%u0c09\\%u0c26\\%u0c3e\\%u0c39\\%u0c30\\%u0c23\\%u0c32\\%u0c41\\>", "feature": "\\%u0c17\\%u0c41\\%u0c23\\%u0c2e\\%u0c41\\>", "given": "\\%u0c1a\\%u0c46\\%u0c2a\\%u0c4d\\%u0c2a\\%u0c2c\\%u0c21\\%u0c3f\\%u0c28\\%u0c26\\%u0c3f\\>", "scenario": "\\%u0c38\\%u0c28\\%u0c4d\\%u0c28\\%u0c3f\\%u0c35\\%u0c47\\%u0c36\\%u0c02\\>", "scenario_outline": "\\%u0c15\\%u0c25\\%u0c28\\%u0c02\\>", "then": "\\%u0c05\\%u0c2a\\%u0c4d\\%u0c2a\\%u0c41\\%u0c21\\%u0c41\\>", "when": "\\%u0c08 \\%u0c2a\\%u0c30\\%u0c3f\\%u0c38\\%u0c4d\\%u0c25\\%u0c3f\\%u0c24\\%u0c3f\\%u0c32\\%u0c4b\\>"},
|
||||
\"tr": {"and": "Ve\\>", "background": "Ge\\%u00e7mi\\%u015f\\>", "but": "Fakat\\>\\|Ama\\>", "examples": "\\%u00d6rnekler\\>", "feature": "\\%u00d6zellik\\>", "given": "Diyelim ki\\>", "scenario": "Senaryo\\>", "scenario_outline": "Senaryo tasla\\%u011f\\%u0131\\>", "then": "O zaman\\>", "when": "E\\%u011fer ki\\>"},
|
||||
\"tt": {"and": "\\%u04ba\\%u04d9\\%u043c\\>\\|\\%u0412\\%u04d9\\>", "background": "\\%u041a\\%u0435\\%u0440\\%u0435\\%u0448\\>", "but": "\\%u041b\\%u04d9\\%u043a\\%u0438\\%u043d\\>\\|\\%u04d8\\%u043c\\%u043c\\%u0430\\>", "examples": "\\%u04ae\\%u0440\\%u043d\\%u04d9\\%u043a\\%u043b\\%u04d9\\%u0440\\>\\|\\%u041c\\%u0438\\%u0441\\%u0430\\%u043b\\%u043b\\%u0430\\%u0440\\>", "feature": "\\%u04ae\\%u0437\\%u0435\\%u043d\\%u0447\\%u04d9\\%u043b\\%u0435\\%u043a\\%u043b\\%u0435\\%u043b\\%u0435\\%u043a\\>\\|\\%u041c\\%u04e9\\%u043c\\%u043a\\%u0438\\%u043d\\%u043b\\%u0435\\%u043a\\>", "given": "\\%u04d8\\%u0439\\%u0442\\%u0438\\%u043a\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\>", "scenario_outline": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\%u043d\\%u044b\\%u04a3 \\%u0442\\%u04e9\\%u0437\\%u0435\\%u043b\\%u0435\\%u0448\\%u0435\\>", "then": "\\%u041d\\%u04d9\\%u0442\\%u0438\\%u0497\\%u04d9\\%u0434\\%u04d9\\>", "when": "\\%u04d8\\%u0433\\%u04d9\\%u0440\\>"},
|
||||
\"uk": {"and": "\\%u0410 \\%u0442\\%u0430\\%u043a\\%u043e\\%u0436\\>\\|\\%u0422\\%u0430\\>\\|\\%u0406\\>", "background": "\\%u041f\\%u0435\\%u0440\\%u0435\\%u0434\\%u0443\\%u043c\\%u043e\\%u0432\\%u0430\\>", "but": "\\%u0410\\%u043b\\%u0435\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043a\\%u043b\\%u0430\\%u0434\\%u0438\\>", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0456\\%u043e\\%u043d\\%u0430\\%u043b\\>", "given": "\\%u041f\\%u0440\\%u0438\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\%u043e, \\%u0449\\%u043e\\>\\|\\%u041f\\%u0440\\%u0438\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\%u043e\\>\\|\\%u041d\\%u0435\\%u0445\\%u0430\\%u0439\\>\\|\\%u0414\\%u0430\\%u043d\\%u043e\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0456\\%u0439\\>", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0456\\%u044e\\>", "then": "\\%u0422\\%u043e\\%u0434\\%u0456\\>\\|\\%u0422\\%u043e\\>", "when": "\\%u042f\\%u043a\\%u0449\\%u043e\\>\\|\\%u041a\\%u043e\\%u043b\\%u0438\\>"},
|
||||
\"uz": {"and": "\\%u0412\\%u0430\\>", "background": "\\%u0422\\%u0430\\%u0440\\%u0438\\%u0445\\>", "but": "\\%u041b\\%u0435\\%u043a\\%u0438\\%u043d\\>\\|\\%u0411\\%u0438\\%u0440\\%u043e\\%u043a\\>\\|\\%u0410\\%u043c\\%u043c\\%u043e\\>", "examples": "\\%u041c\\%u0438\\%u0441\\%u043e\\%u043b\\%u043b\\%u0430\\%u0440\\>", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\>", "given": "\\%u0410\\%u0433\\%u0430\\%u0440\\>", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\>", "scenario_outline": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439 \\%u0441\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430\\%u0441\\%u0438\\>", "then": "\\%u0423\\%u043d\\%u0434\\%u0430\\>", "when": "\\%u0410\\%u0433\\%u0430\\%u0440\\>"},
|
||||
\"vi": {"and": "V\\%u00e0\\>", "background": "B\\%u1ed1i c\\%u1ea3nh\\>", "but": "Nh\\%u01b0ng\\>", "examples": "D\\%u1eef li\\%u1ec7u\\>", "feature": "T\\%u00ednh n\\%u0103ng\\>", "given": "Bi\\%u1ebft\\>\\|Cho\\>", "scenario": "T\\%u00ecnh hu\\%u1ed1ng\\>\\|K\\%u1ecbch b\\%u1ea3n\\>", "scenario_outline": "Khung t\\%u00ecnh hu\\%u1ed1ng\\>\\|Khung k\\%u1ecbch b\\%u1ea3n\\>", "then": "Th\\%u00ec\\>", "when": "Khi\\>"},
|
||||
\"zh-CN": {"and": "\\%u800c\\%u4e14\\|\\%u5e76\\%u4e14\\|\\%u540c\\%u65f6", "background": "\\%u80cc\\%u666f\\>", "but": "\\%u4f46\\%u662f", "examples": "\\%u4f8b\\%u5b50\\>", "feature": "\\%u529f\\%u80fd\\>", "given": "\\%u5047\\%u5982\\|\\%u5047\\%u8bbe\\|\\%u5047\\%u5b9a", "scenario": "\\%u573a\\%u666f\\>\\|\\%u5267\\%u672c\\>", "scenario_outline": "\\%u573a\\%u666f\\%u5927\\%u7eb2\\>\\|\\%u5267\\%u672c\\%u5927\\%u7eb2\\>", "then": "\\%u90a3\\%u4e48", "when": "\\%u5f53"},
|
||||
\"zh-TW": {"and": "\\%u800c\\%u4e14\\|\\%u4e26\\%u4e14\\|\\%u540c\\%u6642", "background": "\\%u80cc\\%u666f\\>", "but": "\\%u4f46\\%u662f", "examples": "\\%u4f8b\\%u5b50\\>", "feature": "\\%u529f\\%u80fd\\>", "given": "\\%u5047\\%u5982\\|\\%u5047\\%u8a2d\\|\\%u5047\\%u5b9a", "scenario": "\\%u5834\\%u666f\\>\\|\\%u5287\\%u672c\\>", "scenario_outline": "\\%u5834\\%u666f\\%u5927\\%u7db1\\>\\|\\%u5287\\%u672c\\%u5927\\%u7db1\\>", "then": "\\%u90a3\\%u9ebc", "when": "\\%u7576"}}
|
||||
\"en": {"and": "And\\>", "background": "Background", "but": "But\\>", "examples": "Scenarios\\|Examples", "feature": "Business Need\\|Feature\\|Ability", "given": "Given\\>", "rule": "Rule", "scenario": "Scenario\\|Example", "scenario_outline": "Scenario Template\\|Scenario Outline", "then": "Then\\>", "when": "When\\>"},
|
||||
\"af": {"and": "En\\>", "background": "Agtergrond", "but": "Maar\\>", "examples": "Voorbeelde", "feature": "Besigheid Behoefte\\|Funksie\\|Vermo\\%u00eb", "given": "Gegewe\\>", "rule": "Regel", "scenario": "Voorbeeld\\|Situasie", "scenario_outline": "Situasie Uiteensetting", "then": "Dan\\>", "when": "Wanneer\\>"},
|
||||
\"am": {"and": "\\%u0535\\%u057e\\>", "background": "\\%u053f\\%u0578\\%u0576\\%u057f\\%u0565\\%u0584\\%u057d\\%u057f", "but": "\\%u0532\\%u0561\\%u0575\\%u0581\\>", "examples": "\\%u0555\\%u0580\\%u056b\\%u0576\\%u0561\\%u056f\\%u0576\\%u0565\\%u0580", "feature": "\\%u0556\\%u0578\\%u0582\\%u0576\\%u056f\\%u0581\\%u056b\\%u0578\\%u0576\\%u0561\\%u056c\\%u0578\\%u0582\\%u0569\\%u0575\\%u0578\\%u0582\\%u0576\\|\\%u0540\\%u0561\\%u057f\\%u056f\\%u0578\\%u0582\\%u0569\\%u0575\\%u0578\\%u0582\\%u0576", "given": "\\%u0534\\%u056b\\%u0581\\%u0578\\%u0582\\%u0584\\>", "rule": "Rule", "scenario": "\\%u0555\\%u0580\\%u056b\\%u0576\\%u0561\\%u056f\\|\\%u054d\\%u0581\\%u0565\\%u0576\\%u0561\\%u0580", "scenario_outline": "\\%u054d\\%u0581\\%u0565\\%u0576\\%u0561\\%u0580\\%u056b \\%u056f\\%u0561\\%u057c\\%u0578\\%u0582\\%u0581\\%u057e\\%u0561\\%u0581\\%u0584\\%u0568", "then": "\\%u0531\\%u057a\\%u0561\\>", "when": "\\%u0535\\%u0569\\%u0565\\>\\|\\%u0535\\%u0580\\%u0562\\>"},
|
||||
\"amh": {"and": "\\%u12a5\\%u1293\\>", "background": "\\%u1245\\%u12f5\\%u1218 \\%u1201\\%u1294\\%u1273\\|\\%u1218\\%u1290\\%u123b \\%u1200\\%u1233\\%u1265\\|\\%u1218\\%u1290\\%u123b", "but": "\\%u130d\\%u1295\\>", "examples": "\\%u121d\\%u1233\\%u120c\\%u12ce\\%u127d\\|\\%u1201\\%u1293\\%u1274\\%u12ce\\%u127d", "feature": "\\%u12e8\\%u121a\\%u1348\\%u1208\\%u1308\\%u12cd \\%u12f5\\%u122d\\%u130a\\%u1275\\|\\%u12e8\\%u1270\\%u1348\\%u1208\\%u1308\\%u12cd \\%u1235\\%u122b\\|\\%u1235\\%u122b", "given": "\\%u12e8\\%u1270\\%u1230\\%u1320\\>", "rule": "\\%u1205\\%u130d", "scenario": "\\%u121d\\%u1233\\%u120c\\|\\%u1201\\%u1293\\%u1274", "scenario_outline": "\\%u1201\\%u1293\\%u1274 \\%u12dd\\%u122d\\%u12dd\\%u122d\\|\\%u1201\\%u1293\\%u1274 \\%u12a0\\%u1265\\%u1290\\%u1275", "then": "\\%u12a8\\%u12da\\%u12eb\\>", "when": "\\%u1218\\%u127c\\>"},
|
||||
\"an": {"and": "Y\\>\\|E\\>", "background": "Antecedents", "but": "Pero\\>", "examples": "Eixemplos", "feature": "Caracteristica", "given": "Dadas\\>\\|Dada\\>\\|Daus\\>\\|Dau\\>", "rule": "Rule", "scenario": "Eixemplo\\|Caso", "scenario_outline": "Esquema del caso", "then": "Antonces\\>\\|Alavez\\>\\|Allora\\>", "when": "Cuan\\>"},
|
||||
\"ar": {"and": "\\%u0648\\>", "background": "\\%u0627\\%u0644\\%u062e\\%u0644\\%u0641\\%u064a\\%u0629", "but": "\\%u0644\\%u0643\\%u0646\\>", "examples": "\\%u0627\\%u0645\\%u062b\\%u0644\\%u0629", "feature": "\\%u062e\\%u0627\\%u0635\\%u064a\\%u0629", "given": "\\%u0628\\%u0641\\%u0631\\%u0636\\>", "rule": "Rule", "scenario": "\\%u0633\\%u064a\\%u0646\\%u0627\\%u0631\\%u064a\\%u0648\\|\\%u0645\\%u062b\\%u0627\\%u0644", "scenario_outline": "\\%u0633\\%u064a\\%u0646\\%u0627\\%u0631\\%u064a\\%u0648 \\%u0645\\%u062e\\%u0637\\%u0637", "then": "\\%u0627\\%u0630\\%u0627\\%u064b\\>\\|\\%u062b\\%u0645\\>", "when": "\\%u0639\\%u0646\\%u062f\\%u0645\\%u0627\\>\\|\\%u0645\\%u062a\\%u0649\\>"},
|
||||
\"ast": {"and": "Ya\\>\\|Y\\>", "background": "Antecedentes", "but": "Peru\\>", "examples": "Exemplos", "feature": "Carauter\\%u00edstica", "given": "Dada\\>\\|Daos\\>\\|Daes\\>\\|D\\%u00e1u\\>", "rule": "Rule", "scenario": "Exemplo\\|Casu", "scenario_outline": "Esbozu del casu", "then": "Ent\\%u00f3s\\>", "when": "Cuando\\>"},
|
||||
\"az": {"and": "H\\%u0259m\\>\\|V\\%u0259\\>", "background": "Kontekst\\|Ke\\%u00e7mi\\%u015f", "but": "Ancaq\\>\\|Amma\\>", "examples": "N\\%u00fcmun\\%u0259l\\%u0259r", "feature": "\\%u00d6z\\%u0259llik", "given": "Tutaq ki\\>\\|Verilir\\>", "rule": "Rule", "scenario": "Ssenari\\|N\\%u00fcmun\\%u0259", "scenario_outline": "Ssenarinin strukturu", "then": "O halda\\>", "when": "N\\%u0259 vaxt ki\\>\\|\\%u018fg\\%u0259r\\>"},
|
||||
\"bg": {"and": "\\%u0418\\>", "background": "\\%u041f\\%u0440\\%u0435\\%u0434\\%u0438\\%u0441\\%u0442\\%u043e\\%u0440\\%u0438\\%u044f", "but": "\\%u041d\\%u043e\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u0438", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u043d\\%u043e\\%u0441\\%u0442", "given": "\\%u0414\\%u0430\\%u0434\\%u0435\\%u043d\\%u043e\\>", "rule": "\\%u041f\\%u0440\\%u0430\\%u0432\\%u0438\\%u043b\\%u043e", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440", "scenario_outline": "\\%u0420\\%u0430\\%u043c\\%u043a\\%u0430 \\%u043d\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439", "then": "\\%u0422\\%u043e\\>", "when": "\\%u041a\\%u043e\\%u0433\\%u0430\\%u0442\\%u043e\\>"},
|
||||
\"bm": {"and": "Dan\\>", "background": "Latar Belakang", "but": "Tetapi\\>\\|Tapi\\>", "examples": "Contoh", "feature": "Fungsi", "given": "Diberi\\>\\|Bagi\\>", "rule": "Rule", "scenario": "Senario\\|Situasi\\|Keadaan", "scenario_outline": "Garis Panduan Senario\\|Kerangka Senario\\|Kerangka Situasi\\|Kerangka Keadaan", "then": "Kemudian\\>\\|Maka\\>", "when": "Apabila\\>"},
|
||||
\"bs": {"and": "I\\>\\|A\\>", "background": "Pozadina", "but": "Ali\\>", "examples": "Primjeri", "feature": "Karakteristika", "given": "Dato\\>", "rule": "Rule", "scenario": "Scenariju\\|Scenario\\|Primjer", "scenario_outline": "Scenario-outline\\|Scenariju-obris", "then": "Zatim\\>", "when": "Kada\\>"},
|
||||
\"ca": {"and": "I\\>", "background": "Antecedents\\|Rerefons", "but": "Per\\%u00f2\\>", "examples": "Exemples", "feature": "Caracter\\%u00edstica\\|Funcionalitat", "given": "Donada\\>\\|Donat\\>\\|Atesa\\>\\|At\\%u00e8s\\>", "rule": "Rule", "scenario": "Escenari\\|Exemple", "scenario_outline": "Esquema de l'escenari", "then": "Aleshores\\>\\|Cal\\>", "when": "Quan\\>"},
|
||||
\"cs": {"and": "A tak\\%u00e9\\>\\|A\\>", "background": "Kontext\\|Pozad\\%u00ed", "but": "Ale\\>", "examples": "P\\%u0159\\%u00edklady", "feature": "Po\\%u017eadavek", "given": "Za p\\%u0159edpokladu\\>\\|Pokud\\>", "rule": "Pravidlo", "scenario": "P\\%u0159\\%u00edklad\\|Sc\\%u00e9n\\%u00e1\\%u0159", "scenario_outline": "Osnova sc\\%u00e9n\\%u00e1\\%u0159e\\|N\\%u00e1\\%u010drt Sc\\%u00e9n\\%u00e1\\%u0159e", "then": "Pak\\>", "when": "Kdy\\%u017e\\>"},
|
||||
\"cy-GB": {"and": "A\\>", "background": "Cefndir", "but": "Ond\\>", "examples": "Enghreifftiau", "feature": "Arwedd", "given": "Anrhegedig a\\>", "rule": "Rule", "scenario": "Enghraifft\\|Scenario", "scenario_outline": "Scenario Amlinellol", "then": "Yna\\>", "when": "Pryd\\>"},
|
||||
\"da": {"and": "Og\\>", "background": "Baggrund", "but": "Men\\>", "examples": "Eksempler", "feature": "Egenskab", "given": "Givet\\>", "rule": "Rule", "scenario": "Eksempel\\|Scenarie", "scenario_outline": "Abstrakt Scenario", "then": "S\\%u00e5\\>", "when": "N\\%u00e5r\\>"},
|
||||
\"de": {"and": "Und\\>", "background": "Voraussetzungen\\|Vorbedingungen\\|Hintergrund\\|Grundlage", "but": "Aber\\>", "examples": "Beispiele", "feature": "Funktionalit\\%u00e4t\\|Funktion", "given": "Gegeben seien\\>\\|Gegeben sei\\>\\|Angenommen\\>", "rule": "Regel\\|Rule", "scenario": "Beispiel\\|Szenario", "scenario_outline": "Szenariogrundriss\\|Szenarien", "then": "Dann\\>", "when": "Wenn\\>"},
|
||||
\"el": {"and": "\\%u039a\\%u03b1\\%u03b9\\>", "background": "\\%u03a5\\%u03c0\\%u03cc\\%u03b2\\%u03b1\\%u03b8\\%u03c1\\%u03bf", "but": "\\%u0391\\%u03bb\\%u03bb\\%u03ac\\>", "examples": "\\%u03a0\\%u03b1\\%u03c1\\%u03b1\\%u03b4\\%u03b5\\%u03af\\%u03b3\\%u03bc\\%u03b1\\%u03c4\\%u03b1\\|\\%u03a3\\%u03b5\\%u03bd\\%u03ac\\%u03c1\\%u03b9\\%u03b1", "feature": "\\%u0394\\%u03c5\\%u03bd\\%u03b1\\%u03c4\\%u03cc\\%u03c4\\%u03b7\\%u03c4\\%u03b1\\|\\%u039b\\%u03b5\\%u03b9\\%u03c4\\%u03bf\\%u03c5\\%u03c1\\%u03b3\\%u03af\\%u03b1", "given": "\\%u0394\\%u03b5\\%u03b4\\%u03bf\\%u03bc\\%u03ad\\%u03bd\\%u03bf\\%u03c5\\>", "rule": "Rule", "scenario": "\\%u03a0\\%u03b1\\%u03c1\\%u03ac\\%u03b4\\%u03b5\\%u03b9\\%u03b3\\%u03bc\\%u03b1\\|\\%u03a3\\%u03b5\\%u03bd\\%u03ac\\%u03c1\\%u03b9\\%u03bf", "scenario_outline": "\\%u03a0\\%u03b5\\%u03c1\\%u03af\\%u03b3\\%u03c1\\%u03b1\\%u03bc\\%u03bc\\%u03b1 \\%u03a3\\%u03b5\\%u03bd\\%u03b1\\%u03c1\\%u03af\\%u03bf\\%u03c5\\|\\%u03a0\\%u03b5\\%u03c1\\%u03b9\\%u03b3\\%u03c1\\%u03b1\\%u03c6\\%u03ae \\%u03a3\\%u03b5\\%u03bd\\%u03b1\\%u03c1\\%u03af\\%u03bf\\%u03c5", "then": "\\%u03a4\\%u03cc\\%u03c4\\%u03b5\\>", "when": "\\%u038c\\%u03c4\\%u03b1\\%u03bd\\>"},
|
||||
\"em": {"and": "\\%u1f602", "background": "\\%u1f4a4", "but": "\\%u1f614", "examples": "\\%u1f4d3", "feature": "\\%u1f4da", "given": "\\%u1f610", "rule": "Rule", "scenario": "\\%u1f952\\|\\%u1f4d5", "scenario_outline": "\\%u1f4d6", "then": "\\%u1f64f", "when": "\\%u1f3ac"},
|
||||
\"en-Scouse": {"and": "An\\>", "background": "Dis is what went down", "but": "Buh\\>", "examples": "Examples", "feature": "Feature", "given": "Youse know when youse got\\>\\|Givun\\>", "rule": "Rule", "scenario": "The thing of it is", "scenario_outline": "Wharrimean is", "then": "Den youse gotta\\>\\|Dun\\>", "when": "Youse know like when\\>\\|Wun\\>"},
|
||||
\"en-au": {"and": "Too right\\>", "background": "First off", "but": "Yeah nah\\>", "examples": "You'll wanna", "feature": "Pretty much", "given": "Y'know\\>", "rule": "Rule", "scenario": "Awww, look mate", "scenario_outline": "Reckon it's like", "then": "But at the end of the day I reckon\\>", "when": "It's just unbelievable\\>"},
|
||||
\"en-lol": {"and": "AN\\>", "background": "B4", "but": "BUT\\>", "examples": "EXAMPLZ", "feature": "OH HAI", "given": "I CAN HAZ\\>", "rule": "Rule", "scenario": "MISHUN", "scenario_outline": "MISHUN SRSLY", "then": "DEN\\>", "when": "WEN\\>"},
|
||||
\"en-old": {"and": "Ond\\>\\|7\\>", "background": "Aer\\|\\%u00c6r", "but": "Ac\\>", "examples": "Se the\\|Se \\%u00fee\\|Se \\%u00f0e", "feature": "Hwaet\\|Hw\\%u00e6t", "given": "Thurh\\>\\|\\%u00deurh\\>\\|\\%u00d0urh\\>", "rule": "Rule", "scenario": "Swa", "scenario_outline": "Swa hwaer swa\\|Swa hw\\%u00e6r swa", "then": "Tha the\\>\\|\\%u00dea \\%u00fee\\>\\|\\%u00d0a \\%u00f0e\\>\\|Tha\\>\\|\\%u00dea\\>\\|\\%u00d0a\\>", "when": "B\\%u00e6\\%u00fesealfa\\>\\|B\\%u00e6\\%u00fesealfe\\>\\|B\\%u00e6\\%u00fesealf\\>\\|Ciric\\%u00e6we\\>\\|Ciric\\%u00e6wa\\>\\|Ciric\\%u00e6w\\>"},
|
||||
\"en-pirate": {"and": "Aye\\>", "background": "Yo-ho-ho", "but": "Avast!\\>", "examples": "Dead men tell no tales", "feature": "Ahoy matey!", "given": "Gangway!\\>", "rule": "Rule", "scenario": "Heave to", "scenario_outline": "Shiver me timbers", "then": "Let go and haul\\>", "when": "Blimey!\\>"},
|
||||
\"en-tx": {"and": "Come hell or high water\\>", "background": "Lemme tell y'all a story", "but": "Well now hold on, I'll you what\\>", "examples": "Now that's a story longer than a cattle drive in July", "feature": "This ain\\%u2019t my first rodeo\\|All gussied up", "given": "All git out\\>\\|Fixin' to\\>", "rule": "Rule\\>", "scenario": "All hat and no cattle", "scenario_outline": "Busy as a hound in flea season\\|Serious as a snake bite", "then": "There\\%u2019s no tree but bears some fruit\\>", "when": "Quick out of the chute\\>"},
|
||||
\"eo": {"and": "Kaj\\>", "background": "Fono", "but": "Sed\\>", "examples": "Ekzemploj", "feature": "Trajto", "given": "Donita\\%u0135o\\>\\|Komence\\>", "rule": "Rule", "scenario": "Ekzemplo\\|Scenaro\\|Kazo", "scenario_outline": "Konturo de la scenaro\\|Kazo-skizo\\|Skizo", "then": "Do\\>", "when": "Se\\>"},
|
||||
\"es": {"and": "Y\\>\\|E\\>", "background": "Antecedentes", "but": "Pero\\>", "examples": "Ejemplos", "feature": "Necesidad del negocio\\|Caracter\\%u00edstica\\|Requisito", "given": "Dados\\>\\|Dadas\\>\\|Dado\\>\\|Dada\\>", "rule": "Regla de negocio\\|Regla", "scenario": "Escenario\\|Ejemplo", "scenario_outline": "Esquema del escenario", "then": "Entonces\\>", "when": "Cuando\\>"},
|
||||
\"et": {"and": "Ja\\>", "background": "Taust", "but": "Kuid\\>", "examples": "Juhtumid", "feature": "Omadus", "given": "Eeldades\\>", "rule": "Reegel", "scenario": "Stsenaarium\\|Juhtum", "scenario_outline": "Raamstsenaarium\\|Raamjuhtum", "then": "Siis\\>", "when": "Kui\\>"},
|
||||
\"fa": {"and": "\\%u0648\\>", "background": "\\%u0632\\%u0645\\%u06cc\\%u0646\\%u0647", "but": "\\%u0627\\%u0645\\%u0627\\>", "examples": "\\%u0646\\%u0645\\%u0648\\%u0646\\%u0647 \\%u0647\\%u0627", "feature": "\\%u0648\\%u0650\\%u06cc\\%u0698\\%u06af\\%u06cc", "given": "\\%u0628\\%u0627 \\%u0641\\%u0631\\%u0636\\>", "rule": "Rule", "scenario": "\\%u0633\\%u0646\\%u0627\\%u0631\\%u06cc\\%u0648\\|\\%u0645\\%u062b\\%u0627\\%u0644", "scenario_outline": "\\%u0627\\%u0644\\%u06af\\%u0648\\%u06cc \\%u0633\\%u0646\\%u0627\\%u0631\\%u06cc\\%u0648", "then": "\\%u0622\\%u0646\\%u06af\\%u0627\\%u0647\\>", "when": "\\%u0647\\%u0646\\%u06af\\%u0627\\%u0645\\%u06cc\\>"},
|
||||
\"fi": {"and": "Ja\\>", "background": "Tausta", "but": "Mutta\\>", "examples": "Tapaukset", "feature": "Ominaisuus", "given": "Oletetaan\\>", "rule": "Rule", "scenario": "Tapaus", "scenario_outline": "Tapausaihio", "then": "Niin\\>", "when": "Kun\\>"},
|
||||
\"fr": {"and": "Et que\\>\\|Et qu'\\|Et\\>", "background": "Contexte", "but": "Mais que\\>\\|Mais qu'\\|Mais\\>", "examples": "Exemples", "feature": "Fonctionnalit\\%u00e9", "given": "Etant donn\\%u00e9 que\\>\\|\\%u00c9tant donn\\%u00e9 que\\>\\|Etant donn\\%u00e9 qu'\\|\\%u00c9tant donn\\%u00e9 qu'\\|Etant donn\\%u00e9es\\>\\|\\%u00c9tant donn\\%u00e9es\\>\\|Etant donn\\%u00e9e\\>\\|Etant donn\\%u00e9s\\>\\|\\%u00c9tant donn\\%u00e9e\\>\\|\\%u00c9tant donn\\%u00e9s\\>\\|Sachant que\\>\\|Etant donn\\%u00e9\\>\\|\\%u00c9tant donn\\%u00e9\\>\\|Sachant qu'\\|Sachant\\>\\|Soit\\>", "rule": "R\\%u00e8gle", "scenario": "Sc\\%u00e9nario\\|Exemple", "scenario_outline": "Plan du sc\\%u00e9nario\\|Plan du Sc\\%u00e9nario", "then": "Alors\\>\\|Donc\\>", "when": "Lorsque\\>\\|Lorsqu'\\|Quand\\>"},
|
||||
\"ga": {"and": "Agus", "background": "C\\%u00falra", "but": "Ach", "examples": "Sampla\\%u00ed", "feature": "Gn\\%u00e9", "given": "Cuir i gc\\%u00e1s nach\\|Cuir i gc\\%u00e1s gur\\|Cuir i gc\\%u00e1s n\\%u00e1r\\|Cuir i gc\\%u00e1s go", "rule": "Rule", "scenario": "Sampla\\|C\\%u00e1s", "scenario_outline": "C\\%u00e1s Achomair", "then": "Ansin", "when": "Nuair nach\\|Nuair n\\%u00e1r\\|Nuair ba\\|Nuair a"},
|
||||
\"gj": {"and": "\\%u0a85\\%u0aa8\\%u0ac7\\>", "background": "\\%u0aac\\%u0ac7\\%u0a95\\%u0a97\\%u0acd\\%u0ab0\\%u0abe\\%u0a89\\%u0aa8\\%u0acd\\%u0aa1", "but": "\\%u0aaa\\%u0aa3\\>", "examples": "\\%u0a89\\%u0aa6\\%u0abe\\%u0ab9\\%u0ab0\\%u0aa3\\%u0acb", "feature": "\\%u0ab5\\%u0acd\\%u0aaf\\%u0abe\\%u0aaa\\%u0abe\\%u0ab0 \\%u0a9c\\%u0ab0\\%u0ac2\\%u0ab0\\|\\%u0a95\\%u0acd\\%u0ab7\\%u0aae\\%u0aa4\\%u0abe\\|\\%u0ab2\\%u0a95\\%u0acd\\%u0ab7\\%u0aa3", "given": "\\%u0a86\\%u0aaa\\%u0ac7\\%u0ab2 \\%u0a9b\\%u0ac7\\>", "rule": "Rule", "scenario": "\\%u0a89\\%u0aa6\\%u0abe\\%u0ab9\\%u0ab0\\%u0aa3\\|\\%u0ab8\\%u0acd\\%u0aa5\\%u0abf\\%u0aa4\\%u0abf", "scenario_outline": "\\%u0aaa\\%u0ab0\\%u0abf\\%u0aa6\\%u0acd\\%u0aa6\\%u0ab6\\%u0acd\\%u0aaf \\%u0ab0\\%u0ac2\\%u0aaa\\%u0ab0\\%u0ac7\\%u0a96\\%u0abe\\|\\%u0aaa\\%u0ab0\\%u0abf\\%u0aa6\\%u0acd\\%u0aa6\\%u0ab6\\%u0acd\\%u0aaf \\%u0aa2\\%u0abe\\%u0a82\\%u0a9a\\%u0acb", "then": "\\%u0aaa\\%u0a9b\\%u0ac0\\>", "when": "\\%u0a95\\%u0acd\\%u0aaf\\%u0abe\\%u0ab0\\%u0ac7\\>"},
|
||||
\"gl": {"and": "E\\>", "background": "Contexto", "but": "Mais\\>\\|Pero\\>", "examples": "Exemplos", "feature": "Caracter\\%u00edstica", "given": "Dados\\>\\|Dadas\\>\\|Dado\\>\\|Dada\\>", "rule": "Rule", "scenario": "Escenario\\|Exemplo", "scenario_outline": "Esbozo do escenario", "then": "Ent\\%u00f3n\\>\\|Logo\\>", "when": "Cando\\>"},
|
||||
\"he": {"and": "\\%u05d5\\%u05d2\\%u05dd\\>", "background": "\\%u05e8\\%u05e7\\%u05e2", "but": "\\%u05d0\\%u05d1\\%u05dc\\>", "examples": "\\%u05d3\\%u05d5\\%u05d2\\%u05de\\%u05d0\\%u05d5\\%u05ea", "feature": "\\%u05ea\\%u05db\\%u05d5\\%u05e0\\%u05d4", "given": "\\%u05d1\\%u05d4\\%u05d9\\%u05e0\\%u05ea\\%u05df\\>", "rule": "\\%u05db\\%u05dc\\%u05dc", "scenario": "\\%u05d3\\%u05d5\\%u05d2\\%u05de\\%u05d0\\|\\%u05ea\\%u05e8\\%u05d7\\%u05d9\\%u05e9", "scenario_outline": "\\%u05ea\\%u05d1\\%u05e0\\%u05d9\\%u05ea \\%u05ea\\%u05e8\\%u05d7\\%u05d9\\%u05e9", "then": "\\%u05d0\\%u05d6\\%u05d9\\>\\|\\%u05d0\\%u05d6\\>", "when": "\\%u05db\\%u05d0\\%u05e9\\%u05e8\\>"},
|
||||
\"hi": {"and": "\\%u0924\\%u0925\\%u093e\\>\\|\\%u0914\\%u0930\\>", "background": "\\%u092a\\%u0943\\%u0937\\%u094d\\%u0920\\%u092d\\%u0942\\%u092e\\%u093f", "but": "\\%u092a\\%u0930\\%u0928\\%u094d\\%u0924\\%u0941\\>\\|\\%u0915\\%u093f\\%u0928\\%u094d\\%u0924\\%u0941\\>\\|\\%u092a\\%u0930\\>", "examples": "\\%u0909\\%u0926\\%u093e\\%u0939\\%u0930\\%u0923", "feature": "\\%u0930\\%u0942\\%u092a \\%u0932\\%u0947\\%u0916", "given": "\\%u091a\\%u0942\\%u0902\\%u0915\\%u093f\\>\\|\\%u0905\\%u0917\\%u0930\\>\\|\\%u092f\\%u0926\\%u093f\\>", "rule": "\\%u0928\\%u093f\\%u092f\\%u092e", "scenario": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f", "scenario_outline": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f \\%u0930\\%u0942\\%u092a\\%u0930\\%u0947\\%u0916\\%u093e", "then": "\\%u0924\\%u0926\\%u093e\\>\\|\\%u0924\\%u092c\\>", "when": "\\%u0915\\%u0926\\%u093e\\>\\|\\%u091c\\%u092c\\>"},
|
||||
\"hr": {"and": "I\\>", "background": "Pozadina", "but": "Ali\\>", "examples": "Scenariji\\|Primjeri", "feature": "Mogu\\%u0107nost\\|Mogucnost\\|Osobina", "given": "Ukoliko\\>\\|Zadani\\>\\|Zadano\\>\\|Zadan\\>", "rule": "Rule", "scenario": "Scenarij\\|Primjer", "scenario_outline": "Koncept\\|Skica", "then": "Onda\\>", "when": "Kada\\>\\|Kad\\>"},
|
||||
\"ht": {"and": "Epi\\>\\|Ak\\>\\|E\\>", "background": "Kont\\%u00e8ks\\|Istorik", "but": "Men\\>", "examples": "Egzanp", "feature": "Karakteristik\\|Fonksyonalite\\|Mak", "given": "Sipoze ke\\>\\|Sipoze Ke\\>\\|Sipoze\\>", "rule": "Rule", "scenario": "Senaryo", "scenario_outline": "Senaryo deskripsyon\\|Senaryo Deskripsyon\\|Dyagram senaryo\\|Dyagram Senaryo\\|Plan senaryo\\|Plan Senaryo", "then": "L\\%u00e8 sa a\\>\\|Le sa a\\>", "when": "L\\%u00e8\\>\\|Le\\>"},
|
||||
\"hu": {"and": "\\%u00c9s\\>", "background": "H\\%u00e1tt\\%u00e9r", "but": "De\\>", "examples": "P\\%u00e9ld\\%u00e1k", "feature": "Jellemz\\%u0151", "given": "Amennyiben\\>\\|Adott\\>", "rule": "Szab\\%u00e1ly", "scenario": "Forgat\\%u00f3k\\%u00f6nyv\\|P\\%u00e9lda", "scenario_outline": "Forgat\\%u00f3k\\%u00f6nyv v\\%u00e1zlat", "then": "Akkor\\>", "when": "Amikor\\>\\|Majd\\>\\|Ha\\>"},
|
||||
\"id": {"and": "Dan\\>", "background": "Latar Belakang\\|Dasar", "but": "Tetapi\\>\\|Tapi\\>", "examples": "Contoh\\|Misal", "feature": "Fitur", "given": "Diasumsikan\\>\\|Diketahui\\>\\|Dengan\\>\\|Bila\\>\\|Jika\\>", "rule": "Aturan\\|Rule", "scenario": "Skenario", "scenario_outline": "Garis-Besar Skenario\\|Skenario konsep", "then": "Kemudian\\>\\|Maka\\>", "when": "Ketika\\>"},
|
||||
\"is": {"and": "Og\\>", "background": "Bakgrunnur", "but": "En\\>", "examples": "Atbur\\%u00f0ar\\%u00e1sir\\|D\\%u00e6mi", "feature": "Eiginleiki", "given": "Ef\\>", "rule": "Rule", "scenario": "Atbur\\%u00f0ar\\%u00e1s", "scenario_outline": "L\\%u00fdsing Atbur\\%u00f0ar\\%u00e1sar\\|L\\%u00fdsing D\\%u00e6ma", "then": "\\%u00de\\%u00e1\\>", "when": "\\%u00deegar\\>"},
|
||||
\"it": {"and": "E\\>", "background": "Contesto", "but": "Ma\\>", "examples": "Esempi", "feature": "Esigenza di Business\\|Funzionalit\\%u00e0\\|Abilit\\%u00e0", "given": "Dato\\>\\|Data\\>\\|Dati\\>\\|Date\\>", "rule": "Regola", "scenario": "Scenario\\|Esempio", "scenario_outline": "Schema dello scenario", "then": "Allora\\>", "when": "Quando\\>"},
|
||||
\"ja": {"and": "\\%u4e14\\%u3064\\|\\%u304b\\%u3064", "background": "\\%u80cc\\%u666f", "but": "\\%u3057\\%u304b\\%u3057\\|\\%u305f\\%u3060\\%u3057\\|\\%u7136\\%u3057\\|\\%u4f46\\%u3057", "examples": "\\%u30b5\\%u30f3\\%u30d7\\%u30eb\\|\\%u4f8b", "feature": "\\%u30d5\\%u30a3\\%u30fc\\%u30c1\\%u30e3\\|\\%u6a5f\\%u80fd", "given": "\\%u524d\\%u63d0", "rule": "\\%u30eb\\%u30fc\\%u30eb", "scenario": "\\%u30b7\\%u30ca\\%u30ea\\%u30aa", "scenario_outline": "\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30a2\\%u30a6\\%u30c8\\%u30e9\\%u30a4\\%u30f3\\|\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30c6\\%u30f3\\%u30d7\\%u30ec\\%u30fc\\%u30c8\\|\\%u30b7\\%u30ca\\%u30ea\\%u30aa\\%u30c6\\%u30f3\\%u30d7\\%u30ec\\|\\%u30c6\\%u30f3\\%u30d7\\%u30ec", "then": "\\%u306a\\%u3089\\%u3070", "when": "\\%u3082\\%u3057"},
|
||||
\"jv": {"and": "Lan\\>", "background": "Dasar", "but": "Ananging\\>\\|Nanging\\>\\|Tapi\\>", "examples": "Contone\\|Conto", "feature": "Fitur", "given": "Nalikaning\\>\\|Nalika\\>", "rule": "Rule", "scenario": "Skenario", "scenario_outline": "Konsep skenario", "then": "Banjur\\>\\|Njuk\\>", "when": "Manawa\\>\\|Menawa\\>"},
|
||||
\"ka": {"and": "\\%u10d0\\%u10e1\\%u10d4\\%u10d5\\%u10d4\\>\\|\\%u10d3\\%u10d0\\>", "background": "\\%u10d9\\%u10dd\\%u10dc\\%u10e2\\%u10d4\\%u10e5\\%u10e1\\%u10e2\\%u10d8", "but": "\\%u10db\\%u10d0\\%u10d2\\%u10e0\\%u10d0\\%u10db\\>\\|\\%u10d7\\%u10e3\\%u10db\\%u10ea\\%u10d0\\>", "examples": "\\%u10db\\%u10d0\\%u10d2\\%u10d0\\%u10da\\%u10d8\\%u10d7\\%u10d4\\%u10d1\\%u10d8", "feature": "\\%u10db\\%u10dd\\%u10d7\\%u10ee\\%u10dd\\%u10d5\\%u10dc\\%u10d0\\|\\%u10d7\\%u10d5\\%u10d8\\%u10e1\\%u10d4\\%u10d1\\%u10d0", "given": "\\%u10db\\%u10dd\\%u10ea\\%u10d4\\%u10db\\%u10e3\\%u10da\\%u10d8\\%u10d0\\>\\|\\%u10db\\%u10dd\\%u10ea\\%u10d4\\%u10db\\%u10e3\\%u10da\\%u10d8\\>\\|\\%u10d5\\%u10d7\\%u10e5\\%u10d5\\%u10d0\\%u10d7\\>", "rule": "\\%u10ec\\%u10d4\\%u10e1\\%u10d8", "scenario": "\\%u10db\\%u10d0\\%u10d2\\%u10d0\\%u10da\\%u10d8\\%u10d7\\%u10d0\\%u10d3\\|\\%u10db\\%u10d0\\%u10d2\\%u10d0\\%u10da\\%u10d8\\%u10d7\\%u10d8\\|\\%u10e1\\%u10ea\\%u10d4\\%u10dc\\%u10d0\\%u10e0\\%u10d8\\|\\%u10db\\%u10d0\\%u10d2", "scenario_outline": "\\%u10e1\\%u10ea\\%u10d4\\%u10dc\\%u10d0\\%u10e0\\%u10d8\\%u10e1 \\%u10e8\\%u10d0\\%u10d1\\%u10da\\%u10dd\\%u10dc\\%u10d8\\|\\%u10e1\\%u10ea\\%u10d4\\%u10dc\\%u10d0\\%u10e0\\%u10d8\\%u10e1 \\%u10dc\\%u10d8\\%u10db\\%u10e3\\%u10e8\\%u10d8\\|\\%u10e8\\%u10d0\\%u10d1\\%u10da\\%u10dd\\%u10dc\\%u10d8\\|\\%u10dc\\%u10d8\\%u10db\\%u10e3\\%u10e8\\%u10d8", "then": "\\%u10db\\%u10d0\\%u10e8\\%u10d8\\%u10dc\\>", "when": "\\%u10e0\\%u10dd\\%u10d2\\%u10dd\\%u10e0\\%u10ea \\%u10d9\\%u10d8\\>\\|\\%u10e0\\%u10dd\\%u10d3\\%u10d4\\%u10e1\\%u10d0\\%u10ea\\>\\|\\%u10e0\\%u10dd\\%u10ea\\%u10d0\\>\\|\\%u10d7\\%u10e3\\>"},
|
||||
\"kn": {"and": "\\%u0cae\\%u0ca4\\%u0ccd\\%u0ca4\\%u0cc1\\>", "background": "\\%u0cb9\\%u0cbf\\%u0ca8\\%u0ccd\\%u0ca8\\%u0cc6\\%u0cb2\\%u0cc6", "but": "\\%u0c86\\%u0ca6\\%u0cb0\\%u0cc6\\>", "examples": "\\%u0c89\\%u0ca6\\%u0cbe\\%u0cb9\\%u0cb0\\%u0ca3\\%u0cc6\\%u0c97\\%u0cb3\\%u0cc1", "feature": "\\%u0cb9\\%u0cc6\\%u0c9a\\%u0ccd\\%u0c9a\\%u0cb3", "given": "\\%u0ca8\\%u0cbf\\%u0cd5\\%u0ca1\\%u0cbf\\%u0ca6\\>", "rule": "Rule", "scenario": "\\%u0c95\\%u0ca5\\%u0cbe\\%u0cb8\\%u0cbe\\%u0cb0\\%u0cbe\\%u0c82\\%u0cb6\\|\\%u0c89\\%u0ca6\\%u0cbe\\%u0cb9\\%u0cb0\\%u0ca3\\%u0cc6", "scenario_outline": "\\%u0cb5\\%u0cbf\\%u0cb5\\%u0cb0\\%u0ca3\\%u0cc6", "then": "\\%u0ca8\\%u0c82\\%u0ca4\\%u0cb0\\>", "when": "\\%u0cb8\\%u0ccd\\%u0ca5\\%u0cbf\\%u0ca4\\%u0cbf\\%u0caf\\%u0ca8\\%u0ccd\\%u0ca8\\%u0cc1\\>"},
|
||||
\"ko": {"and": "\\%uadf8\\%ub9ac\\%uace0", "background": "\\%ubc30\\%uacbd", "but": "\\%ud558\\%uc9c0\\%ub9cc\\|\\%ub2e8", "examples": "\\%uc608", "feature": "\\%uae30\\%ub2a5", "given": "\\%uc870\\%uac74\\|\\%uba3c\\%uc800", "rule": "Rule", "scenario": "\\%uc2dc\\%ub098\\%ub9ac\\%uc624", "scenario_outline": "\\%uc2dc\\%ub098\\%ub9ac\\%uc624 \\%uac1c\\%uc694", "then": "\\%uadf8\\%ub7ec\\%uba74", "when": "\\%ub9cc\\%uc77c\\|\\%ub9cc\\%uc57d"},
|
||||
\"lt": {"and": "Ir\\>", "background": "Kontekstas", "but": "Bet\\>", "examples": "Pavyzd\\%u017eiai\\|Scenarijai\\|Variantai", "feature": "Savyb\\%u0117", "given": "Duota\\>", "rule": "Rule", "scenario": "Scenarijus\\|Pavyzdys", "scenario_outline": "Scenarijaus \\%u0161ablonas", "then": "Tada\\>", "when": "Kai\\>"},
|
||||
\"lu": {"and": "an\\>\\|a\\>", "background": "Hannergrond", "but": "awer\\>\\|m\\%u00e4\\>", "examples": "Beispiller", "feature": "Funktionalit\\%u00e9it", "given": "ugeholl\\>", "rule": "Rule", "scenario": "Beispill\\|Szenario", "scenario_outline": "Plang vum Szenario", "then": "dann\\>", "when": "wann\\>"},
|
||||
\"lv": {"and": "Un\\>", "background": "Konteksts\\|Situ\\%u0101cija", "but": "Bet\\>", "examples": "Piem\\%u0113ri\\|Paraugs", "feature": "Funkcionalit\\%u0101te\\|F\\%u012b\\%u010da", "given": "Kad\\>", "rule": "Rule", "scenario": "Scen\\%u0101rijs\\|Piem\\%u0113rs", "scenario_outline": "Scen\\%u0101rijs p\\%u0113c parauga", "then": "Tad\\>", "when": "Ja\\>"},
|
||||
\"mk-Cyrl": {"and": "\\%u0418\\>", "background": "\\%u041a\\%u043e\\%u043d\\%u0442\\%u0435\\%u043a\\%u0441\\%u0442\\|\\%u0421\\%u043e\\%u0434\\%u0440\\%u0436\\%u0438\\%u043d\\%u0430", "but": "\\%u041d\\%u043e\\>", "examples": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0430\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u0438", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u043d\\%u043e\\%u0441\\%u0442\\|\\%u0411\\%u0438\\%u0437\\%u043d\\%u0438\\%u0441 \\%u043f\\%u043e\\%u0442\\%u0440\\%u0435\\%u0431\\%u0430\\|\\%u041c\\%u043e\\%u0436\\%u043d\\%u043e\\%u0441\\%u0442", "given": "\\%u0414\\%u0430\\%u0434\\%u0435\\%u043d\\%u043e\\>\\|\\%u0414\\%u0430\\%u0434\\%u0435\\%u043d\\%u0430\\>", "rule": "Rule", "scenario": "\\%u041d\\%u0430 \\%u043f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\|\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u043e\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440", "scenario_outline": "\\%u041f\\%u0440\\%u0435\\%u0433\\%u043b\\%u0435\\%u0434 \\%u043d\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0430\\|\\%u041a\\%u043e\\%u043d\\%u0446\\%u0435\\%u043f\\%u0442\\|\\%u0421\\%u043a\\%u0438\\%u0446\\%u0430", "then": "\\%u0422\\%u043e\\%u0433\\%u0430\\%u0448\\>", "when": "\\%u041a\\%u043e\\%u0433\\%u0430\\>"},
|
||||
\"mk-Latn": {"and": "I\\>", "background": "Sodrzhina\\|Kontekst", "but": "No\\>", "examples": "Scenaria\\|Primeri", "feature": "Funkcionalnost\\|Biznis potreba\\|Mozhnost", "given": "Dadeno\\>\\|Dadena\\>", "rule": "Rule", "scenario": "Na primer\\|Scenario", "scenario_outline": "Pregled na scenarija\\|Koncept\\|Skica", "then": "Togash\\>", "when": "Koga\\>"},
|
||||
\"mn": {"and": "\\%u0422\\%u044d\\%u0433\\%u044d\\%u044d\\%u0434\\>\\|\\%u041c\\%u04e9\\%u043d\\>", "background": "\\%u0410\\%u0433\\%u0443\\%u0443\\%u043b\\%u0433\\%u0430", "but": "\\%u0413\\%u044d\\%u0445\\%u0434\\%u044d\\%u044d\\>\\|\\%u0425\\%u0430\\%u0440\\%u0438\\%u043d\\>", "examples": "\\%u0422\\%u0443\\%u0445\\%u0430\\%u0439\\%u043b\\%u0431\\%u0430\\%u043b", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\|\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446", "given": "\\%u04e8\\%u0433\\%u04e9\\%u0433\\%u0434\\%u0441\\%u04e9\\%u043d \\%u043d\\%u044c\\>\\|\\%u0410\\%u043d\\%u0445\\>", "rule": "Rule", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440", "scenario_outline": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u044b\\%u043d \\%u0442\\%u04e9\\%u043b\\%u04e9\\%u0432\\%u043b\\%u04e9\\%u0433\\%u04e9\\%u04e9", "then": "\\%u04ae\\%u04af\\%u043d\\%u0438\\%u0439 \\%u0434\\%u0430\\%u0440\\%u0430\\%u0430\\>\\|\\%u0422\\%u044d\\%u0433\\%u044d\\%u0445\\%u044d\\%u0434\\>", "when": "\\%u0425\\%u044d\\%u0440\\%u044d\\%u0432\\>"},
|
||||
\"mr": {"and": "\\%u0924\\%u0938\\%u0947\\%u091a\\>\\|\\%u0906\\%u0923\\%u093f\\>", "background": "\\%u092a\\%u093e\\%u0930\\%u094d\\%u0936\\%u094d\\%u0935\\%u092d\\%u0942\\%u092e\\%u0940", "but": "\\%u092a\\%u0930\\%u0902\\%u0924\\%u0941\\>\\|\\%u092a\\%u0923\\>", "examples": "\\%u0909\\%u0926\\%u093e\\%u0939\\%u0930\\%u0923", "feature": "\\%u0935\\%u0948\\%u0936\\%u093f\\%u0937\\%u094d\\%u091f\\%u094d\\%u092f\\|\\%u0938\\%u0941\\%u0935\\%u093f\\%u0927\\%u093e", "given": "\\%u0926\\%u093f\\%u0932\\%u0947\\%u0932\\%u094d\\%u092f\\%u093e \\%u092a\\%u094d\\%u0930\\%u092e\\%u093e\\%u0923\\%u0947\\>\\|\\%u091c\\%u0930", "rule": "\\%u0928\\%u093f\\%u092f\\%u092e", "scenario": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f", "scenario_outline": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f \\%u0930\\%u0942\\%u092a\\%u0930\\%u0947\\%u0916\\%u093e", "then": "\\%u0924\\%u0947\\%u0935\\%u094d\\%u0939\\%u093e\\>\\|\\%u092e\\%u0917\\>", "when": "\\%u091c\\%u0947\\%u0935\\%u094d\\%u0939\\%u093e\\>"},
|
||||
\"ne": {"and": "\\%u0905\\%u0928\\%u093f\\>\\|\\%u0930\\>", "background": "\\%u092a\\%u0943\\%u0937\\%u094d\\%u0920\\%u092d\\%u0942\\%u092e\\%u0940", "but": "\\%u0924\\%u0930\\>", "examples": "\\%u0909\\%u0926\\%u093e\\%u0939\\%u0930\\%u0923\\%u0939\\%u0930\\%u0941\\|\\%u0909\\%u0926\\%u093e\\%u0939\\%u0930\\%u0923", "feature": "\\%u0935\\%u093f\\%u0936\\%u0947\\%u0937\\%u0924\\%u093e\\|\\%u0938\\%u0941\\%u0935\\%u093f\\%u0927\\%u093e", "given": "\\%u0926\\%u093f\\%u0907\\%u090f\\%u0915\\%u094b\\>\\|\\%u0926\\%u093f\\%u090f\\%u0915\\%u094b\\>\\|\\%u092f\\%u0926\\%u093f\\>", "rule": "\\%u0928\\%u093f\\%u092f\\%u092e", "scenario": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f", "scenario_outline": "\\%u092a\\%u0930\\%u093f\\%u0926\\%u0943\\%u0936\\%u094d\\%u092f \\%u0930\\%u0942\\%u092a\\%u0930\\%u0947\\%u0916\\%u093e", "then": "\\%u0924\\%u094d\\%u092f\\%u0938\\%u092a\\%u091b\\%u093f\\>\\|\\%u0905\\%u0928\\%u0940\\>", "when": "\\%u091c\\%u092c\\>"},
|
||||
\"nl": {"and": "En\\>", "background": "Achtergrond", "but": "Maar\\>", "examples": "Voorbeelden", "feature": "Functionaliteit", "given": "Gegeven\\>\\|Stel\\>", "rule": "Rule", "scenario": "Voorbeeld\\|Scenario", "scenario_outline": "Abstract Scenario", "then": "Dan\\>", "when": "Wanneer\\>\\|Als\\>"},
|
||||
\"no": {"and": "Og\\>", "background": "Bakgrunn", "but": "Men\\>", "examples": "Eksempler", "feature": "Egenskap", "given": "Gitt\\>", "rule": "Regel", "scenario": "Eksempel\\|Scenario", "scenario_outline": "Abstrakt Scenario\\|Scenariomal", "then": "S\\%u00e5\\>", "when": "N\\%u00e5r\\>"},
|
||||
\"pa": {"and": "\\%u0a05\\%u0a24\\%u0a47\\>", "background": "\\%u0a2a\\%u0a3f\\%u0a1b\\%u0a4b\\%u0a15\\%u0a5c", "but": "\\%u0a2a\\%u0a30\\>", "examples": "\\%u0a09\\%u0a26\\%u0a3e\\%u0a39\\%u0a30\\%u0a28\\%u0a3e\\%u0a02", "feature": "\\%u0a28\\%u0a15\\%u0a36 \\%u0a28\\%u0a41\\%u0a39\\%u0a3e\\%u0a30\\|\\%u0a2e\\%u0a41\\%u0a39\\%u0a3e\\%u0a02\\%u0a26\\%u0a30\\%u0a3e\\|\\%u0a16\\%u0a3e\\%u0a38\\%u0a40\\%u0a05\\%u0a24", "given": "\\%u0a1c\\%u0a3f\\%u0a35\\%u0a47\\%u0a02 \\%u0a15\\%u0a3f\\>\\|\\%u0a1c\\%u0a47\\%u0a15\\%u0a30\\>", "rule": "Rule", "scenario": "\\%u0a09\\%u0a26\\%u0a3e\\%u0a39\\%u0a30\\%u0a28\\|\\%u0a2a\\%u0a1f\\%u0a15\\%u0a25\\%u0a3e", "scenario_outline": "\\%u0a2a\\%u0a1f\\%u0a15\\%u0a25\\%u0a3e \\%u0a30\\%u0a42\\%u0a2a \\%u0a30\\%u0a47\\%u0a16\\%u0a3e\\|\\%u0a2a\\%u0a1f\\%u0a15\\%u0a25\\%u0a3e \\%u0a22\\%u0a3e\\%u0a02\\%u0a1a\\%u0a3e", "then": "\\%u0a24\\%u0a26\\>", "when": "\\%u0a1c\\%u0a26\\%u0a4b\\%u0a02\\>"},
|
||||
\"pl": {"and": "Oraz\\>\\|I\\>", "background": "Za\\%u0142o\\%u017cenia", "but": "Ale\\>", "examples": "Przyk\\%u0142ady", "feature": "Potrzeba biznesowa\\|W\\%u0142a\\%u015bciwo\\%u015b\\%u0107\\|Funkcja\\|Aspekt", "given": "Zak\\%u0142adaj\\%u0105c, \\%u017ce\\>\\|Zak\\%u0142adaj\\%u0105c\\>\\|Maj\\%u0105c\\>", "rule": "Zasada\\|Regu\\%u0142a", "scenario": "Scenariusz\\|Przyk\\%u0142ad", "scenario_outline": "Szablon scenariusza", "then": "Wtedy\\>", "when": "Je\\%u017celi\\>\\|Je\\%u015bli\\>\\|Kiedy\\>\\|Gdy\\>"},
|
||||
\"pt": {"and": "E\\>", "background": "Cen\\%u00e1rio de Fundo\\|Cenario de Fundo\\|Contexto\\|Fundo", "but": "Mas\\>", "examples": "Exemplos\\|Cen\\%u00e1rios\\|Cenarios", "feature": "Funcionalidade\\|Caracter\\%u00edstica\\|Caracteristica", "given": "Dados\\>\\|Dadas\\>\\|Dado\\>\\|Dada\\>", "rule": "Regra", "scenario": "Exemplo\\|Cen\\%u00e1rio\\|Cenario", "scenario_outline": "Delinea\\%u00e7\\%u00e3o do Cen\\%u00e1rio\\|Delineacao do Cenario\\|Esquema do Cen\\%u00e1rio\\|Esquema do Cenario", "then": "Ent\\%u00e3o\\>\\|Entao\\>", "when": "Quando\\>"},
|
||||
\"ro": {"and": "Si\\>\\|\\%u0218i\\>\\|\\%u015ei\\>", "background": "Context", "but": "Dar\\>", "examples": "Exemple", "feature": "Functionalitate\\|Func\\%u021bionalitate\\|Func\\%u0163ionalitate", "given": "Date fiind\\>\\|Dati fiind\\>\\|Da\\%u021bi fiind\\>\\|Da\\%u0163i fiind\\>\\|Dat fiind\\>\\|Dat\\%u0103 fiind", "rule": "Rule", "scenario": "Scenariu\\|Exemplu", "scenario_outline": "Structura scenariu\\|Structur\\%u0103 scenariu", "then": "Atunci\\>", "when": "Cand\\>\\|C\\%u00e2nd\\>"},
|
||||
\"ru": {"and": "\\%u041a \\%u0442\\%u043e\\%u043c\\%u0443 \\%u0436\\%u0435\\>\\|\\%u0422\\%u0430\\%u043a\\%u0436\\%u0435\\>\\|\\%u0418\\>", "background": "\\%u041f\\%u0440\\%u0435\\%u0434\\%u044b\\%u0441\\%u0442\\%u043e\\%u0440\\%u0438\\%u044f\\|\\%u041a\\%u043e\\%u043d\\%u0442\\%u0435\\%u043a\\%u0441\\%u0442", "but": "\\%u0418\\%u043d\\%u0430\\%u0447\\%u0435\\>\\|\\%u041d\\%u043e\\>\\|\\%u0410\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u044b", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u044c\\%u043d\\%u043e\\%u0441\\%u0442\\%u044c\\|\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\|\\%u0421\\%u0432\\%u043e\\%u0439\\%u0441\\%u0442\\%u0432\\%u043e\\|\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u044f\\|\\%u0424\\%u0438\\%u0447\\%u0430", "given": "\\%u0414\\%u043e\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\>\\|\\%u041f\\%u0443\\%u0441\\%u0442\\%u044c\\>\\|\\%u0414\\%u0430\\%u043d\\%u043e\\>", "rule": "\\%u041f\\%u0440\\%u0430\\%u0432\\%u0438\\%u043b\\%u043e", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u044f\\|\\%u0428\\%u0430\\%u0431\\%u043b\\%u043e\\%u043d \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u044f", "then": "\\%u0417\\%u0430\\%u0442\\%u0435\\%u043c\\>\\|\\%u0422\\%u043e\\%u0433\\%u0434\\%u0430\\>\\|\\%u0422\\%u043e\\>", "when": "\\%u041a\\%u043e\\%u0433\\%u0434\\%u0430\\>\\|\\%u0415\\%u0441\\%u043b\\%u0438\\>"},
|
||||
\"sk": {"and": "A taktie\\%u017e\\>\\|A z\\%u00e1rove\\%u0148\\>\\|A tie\\%u017e\\>\\|A\\>", "background": "Pozadie", "but": "Ale\\>", "examples": "Pr\\%u00edklady", "feature": "Po\\%u017eiadavka\\|Vlastnos\\%u0165\\|Funkcia", "given": "Za predpokladu\\>\\|Pokia\\%u013e\\>", "rule": "Rule", "scenario": "Pr\\%u00edklad\\|Scen\\%u00e1r", "scenario_outline": "Osnova Scen\\%u00e1ra\\|N\\%u00e1\\%u010drt Scen\\%u00e1ru\\|N\\%u00e1\\%u010drt Scen\\%u00e1ra", "then": "Potom\\>\\|Tak\\>", "when": "Ke\\%u010f\\>\\|Ak\\>"},
|
||||
\"sl": {"and": "Ter\\>\\|In\\>", "background": "Kontekst\\|Osnova\\|Ozadje", "but": "Vendar\\>\\|Ampak\\>\\|Toda\\>", "examples": "Scenariji\\|Primeri", "feature": "Funkcionalnost\\|Zna\\%u010dilnost\\|Funkcija\\|Mo\\%u017enosti\\|Moznosti\\|Lastnost", "given": "Privzeto\\>\\|Podano\\>\\|Zaradi\\>\\|Dano\\>", "rule": "Rule", "scenario": "Scenarij\\|Primer", "scenario_outline": "Struktura scenarija\\|Oris scenarija\\|Koncept\\|Osnutek\\|Skica", "then": "Takrat\\>\\|Potem\\>\\|Nato\\>", "when": "Kadar\\>\\|Ko\\>\\|Ce\\>\\|\\%u010ce\\>"},
|
||||
\"sr-Cyrl": {"and": "\\%u0418\\>", "background": "\\%u041a\\%u043e\\%u043d\\%u0442\\%u0435\\%u043a\\%u0441\\%u0442\\|\\%u041f\\%u043e\\%u0437\\%u0430\\%u0434\\%u0438\\%u043d\\%u0430\\|\\%u041e\\%u0441\\%u043d\\%u043e\\%u0432\\%u0430", "but": "\\%u0410\\%u043b\\%u0438\\>", "examples": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0438\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\%u0438", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b\\%u043d\\%u043e\\%u0441\\%u0442\\|\\%u041c\\%u043e\\%u0433\\%u0443\\%u045b\\%u043d\\%u043e\\%u0441\\%u0442\\|\\%u041e\\%u0441\\%u043e\\%u0431\\%u0438\\%u043d\\%u0430", "given": "\\%u0417\\%u0430 \\%u0434\\%u0430\\%u0442\\%u043e\\>\\|\\%u0417\\%u0430 \\%u0434\\%u0430\\%u0442\\%u0435\\>\\|\\%u0417\\%u0430 \\%u0434\\%u0430\\%u0442\\%u0438\\>", "rule": "\\%u041f\\%u0440\\%u0430\\%u0432\\%u0438\\%u043b\\%u043e", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u043e\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440\\|\\%u041f\\%u0440\\%u0438\\%u043c\\%u0435\\%u0440", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0458\\%u0430\\|\\%u041a\\%u043e\\%u043d\\%u0446\\%u0435\\%u043f\\%u0442\\|\\%u0421\\%u043a\\%u0438\\%u0446\\%u0430", "then": "\\%u041e\\%u043d\\%u0434\\%u0430\\>", "when": "\\%u041a\\%u0430\\%u0434\\%u0430\\>\\|\\%u041a\\%u0430\\%u0434\\>"},
|
||||
\"sr-Latn": {"and": "I\\>", "background": "Kontekst\\|Pozadina\\|Osnova", "but": "Ali\\>", "examples": "Scenariji\\|Primeri", "feature": "Funkcionalnost\\|Mogu\\%u0107nost\\|Mogucnost\\|Osobina", "given": "Za dato\\>\\|Za date\\>\\|Za dati\\>", "rule": "Pravilo", "scenario": "Scenario\\|Primer", "scenario_outline": "Struktura scenarija\\|Koncept\\|Skica", "then": "Onda\\>", "when": "Kada\\>\\|Kad\\>"},
|
||||
\"sv": {"and": "Och\\>", "background": "Bakgrund", "but": "Men\\>", "examples": "Exempel", "feature": "Egenskap", "given": "Givet\\>", "rule": "Regel", "scenario": "Scenario", "scenario_outline": "Abstrakt Scenario\\|Scenariomall", "then": "S\\%u00e5\\>", "when": "N\\%u00e4r\\>"},
|
||||
\"ta": {"and": "\\%u0bae\\%u0bc7\\%u0bb2\\%u0bc1\\%u0bae\\%u0bcd \\>\\|\\%u0bae\\%u0bb1\\%u0bcd\\%u0bb1\\%u0bc1\\%u0bae\\%u0bcd\\>", "background": "\\%u0baa\\%u0bbf\\%u0ba9\\%u0bcd\\%u0ba9\\%u0ba3\\%u0bbf", "but": "\\%u0b86\\%u0ba9\\%u0bbe\\%u0bb2\\%u0bcd \\>", "examples": "\\%u0b8e\\%u0b9f\\%u0bc1\\%u0ba4\\%u0bcd\\%u0ba4\\%u0bc1\\%u0b95\\%u0bcd\\%u0b95\\%u0bbe\\%u0b9f\\%u0bcd\\%u0b9f\\%u0bc1\\%u0b95\\%u0bb3\\%u0bcd\\|\\%u0ba8\\%u0bbf\\%u0bb2\\%u0bc8\\%u0bae\\%u0bc8\\%u0b95\\%u0bb3\\%u0bbf\\%u0bb2\\%u0bcd\\|\\%u0b95\\%u0bbe\\%u0b9f\\%u0bcd\\%u0b9a\\%u0bbf\\%u0b95\\%u0bb3\\%u0bcd", "feature": "\\%u0bb5\\%u0ba3\\%u0bbf\\%u0b95 \\%u0ba4\\%u0bc7\\%u0bb5\\%u0bc8\\|\\%u0b85\\%u0bae\\%u0bcd\\%u0b9a\\%u0bae\\%u0bcd\\|\\%u0ba4\\%u0bbf\\%u0bb1\\%u0ba9\\%u0bcd", "given": "\\%u0b95\\%u0bc6\\%u0bbe\\%u0b9f\\%u0bc1\\%u0b95\\%u0bcd\\%u0b95\\%u0baa\\%u0bcd\\%u0baa\\%u0b9f\\%u0bcd\\%u0b9f\\>", "rule": "Rule", "scenario": "\\%u0b89\\%u0ba4\\%u0bbe\\%u0bb0\\%u0ba3\\%u0bae\\%u0bbe\\%u0b95\\|\\%u0b95\\%u0bbe\\%u0b9f\\%u0bcd\\%u0b9a\\%u0bbf", "scenario_outline": "\\%u0b95\\%u0bbe\\%u0b9f\\%u0bcd\\%u0b9a\\%u0bbf \\%u0bb5\\%u0bbe\\%u0bb0\\%u0bcd\\%u0baa\\%u0bcd\\%u0baa\\%u0bc1\\%u0bb0\\%u0bc1\\|\\%u0b95\\%u0bbe\\%u0b9f\\%u0bcd\\%u0b9a\\%u0bbf \\%u0b9a\\%u0bc1\\%u0bb0\\%u0bc1\\%u0b95\\%u0bcd\\%u0b95\\%u0bae\\%u0bcd", "then": "\\%u0b85\\%u0baa\\%u0bcd\\%u0baa\\%u0bc6\\%u0bbe\\%u0bb4\\%u0bc1\\%u0ba4\\%u0bc1\\>", "when": "\\%u0b8e\\%u0baa\\%u0bcd\\%u0baa\\%u0bc7\\%u0bbe\\%u0ba4\\%u0bc1\\>"},
|
||||
\"te": {"and": "\\%u0c2e\\%u0c30\\%u0c3f\\%u0c2f\\%u0c41\\>", "background": "\\%u0c28\\%u0c47\\%u0c2a\\%u0c25\\%u0c4d\\%u0c2f\\%u0c02", "but": "\\%u0c15\\%u0c3e\\%u0c28\\%u0c3f\\>", "examples": "\\%u0c09\\%u0c26\\%u0c3e\\%u0c39\\%u0c30\\%u0c23\\%u0c32\\%u0c41", "feature": "\\%u0c17\\%u0c41\\%u0c23\\%u0c2e\\%u0c41", "given": "\\%u0c1a\\%u0c46\\%u0c2a\\%u0c4d\\%u0c2a\\%u0c2c\\%u0c21\\%u0c3f\\%u0c28\\%u0c26\\%u0c3f\\>", "rule": "Rule", "scenario": "\\%u0c38\\%u0c28\\%u0c4d\\%u0c28\\%u0c3f\\%u0c35\\%u0c47\\%u0c36\\%u0c02\\|\\%u0c09\\%u0c26\\%u0c3e\\%u0c39\\%u0c30\\%u0c23", "scenario_outline": "\\%u0c15\\%u0c25\\%u0c28\\%u0c02", "then": "\\%u0c05\\%u0c2a\\%u0c4d\\%u0c2a\\%u0c41\\%u0c21\\%u0c41\\>", "when": "\\%u0c08 \\%u0c2a\\%u0c30\\%u0c3f\\%u0c38\\%u0c4d\\%u0c25\\%u0c3f\\%u0c24\\%u0c3f\\%u0c32\\%u0c4b\\>"},
|
||||
\"th": {"and": "\\%u0e41\\%u0e25\\%u0e30\\>", "background": "\\%u0e41\\%u0e19\\%u0e27\\%u0e04\\%u0e34\\%u0e14", "but": "\\%u0e41\\%u0e15\\%u0e48\\>", "examples": "\\%u0e0a\\%u0e38\\%u0e14\\%u0e02\\%u0e2d\\%u0e07\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\|\\%u0e0a\\%u0e38\\%u0e14\\%u0e02\\%u0e2d\\%u0e07\\%u0e15\\%u0e31\\%u0e27\\%u0e2d\\%u0e22\\%u0e48\\%u0e32\\%u0e07", "feature": "\\%u0e04\\%u0e27\\%u0e32\\%u0e21\\%u0e15\\%u0e49\\%u0e2d\\%u0e07\\%u0e01\\%u0e32\\%u0e23\\%u0e17\\%u0e32\\%u0e07\\%u0e18\\%u0e38\\%u0e23\\%u0e01\\%u0e34\\%u0e08\\|\\%u0e04\\%u0e27\\%u0e32\\%u0e21\\%u0e2a\\%u0e32\\%u0e21\\%u0e32\\%u0e23\\%u0e16\\|\\%u0e42\\%u0e04\\%u0e23\\%u0e07\\%u0e2b\\%u0e25\\%u0e31\\%u0e01", "given": "\\%u0e01\\%u0e33\\%u0e2b\\%u0e19\\%u0e14\\%u0e43\\%u0e2b\\%u0e49\\>", "rule": "Rule", "scenario": "\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c", "scenario_outline": "\\%u0e42\\%u0e04\\%u0e23\\%u0e07\\%u0e2a\\%u0e23\\%u0e49\\%u0e32\\%u0e07\\%u0e02\\%u0e2d\\%u0e07\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c\\|\\%u0e2a\\%u0e23\\%u0e38\\%u0e1b\\%u0e40\\%u0e2b\\%u0e15\\%u0e38\\%u0e01\\%u0e32\\%u0e23\\%u0e13\\%u0e4c", "then": "\\%u0e14\\%u0e31\\%u0e07\\%u0e19\\%u0e31\\%u0e49\\%u0e19\\>", "when": "\\%u0e40\\%u0e21\\%u0e37\\%u0e48\\%u0e2d\\>"},
|
||||
\"tlh": {"and": "latlh\\>\\|'ej\\>", "background": "mo'", "but": "'ach\\>\\|'a\\>", "examples": "ghantoH\\|lutmey", "feature": "poQbogh malja'\\|Qu'meH 'ut\\|perbogh\\|Qap\\|laH", "given": "DaH ghu' bejlu'\\>\\|ghu' noblu'\\>", "rule": "Rule", "scenario": "lut", "scenario_outline": "lut chovnatlh", "then": "vaj\\>", "when": "qaSDI'\\>"},
|
||||
\"tr": {"and": "Ve\\>", "background": "Ge\\%u00e7mi\\%u015f", "but": "Fakat\\>\\|Ama\\>", "examples": "\\%u00d6rnekler", "feature": "\\%u00d6zellik", "given": "Diyelim ki\\>", "rule": "Kural", "scenario": "Senaryo\\|\\%u00d6rnek", "scenario_outline": "Senaryo tasla\\%u011f\\%u0131", "then": "O zaman\\>", "when": "E\\%u011fer ki\\>"},
|
||||
\"tt": {"and": "\\%u04ba\\%u04d9\\%u043c\\>\\|\\%u0412\\%u04d9\\>", "background": "\\%u041a\\%u0435\\%u0440\\%u0435\\%u0448", "but": "\\%u041b\\%u04d9\\%u043a\\%u0438\\%u043d\\>\\|\\%u04d8\\%u043c\\%u043c\\%u0430\\>", "examples": "\\%u04ae\\%u0440\\%u043d\\%u04d9\\%u043a\\%u043b\\%u04d9\\%u0440\\|\\%u041c\\%u0438\\%u0441\\%u0430\\%u043b\\%u043b\\%u0430\\%u0440", "feature": "\\%u04ae\\%u0437\\%u0435\\%u043d\\%u0447\\%u04d9\\%u043b\\%u0435\\%u043a\\%u043b\\%u0435\\%u043b\\%u0435\\%u043a\\|\\%u041c\\%u04e9\\%u043c\\%u043a\\%u0438\\%u043d\\%u043b\\%u0435\\%u043a", "given": "\\%u04d8\\%u0439\\%u0442\\%u0438\\%u043a\\>", "rule": "Rule", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439", "scenario_outline": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439\\%u043d\\%u044b\\%u04a3 \\%u0442\\%u04e9\\%u0437\\%u0435\\%u043b\\%u0435\\%u0448\\%u0435", "then": "\\%u041d\\%u04d9\\%u0442\\%u0438\\%u0497\\%u04d9\\%u0434\\%u04d9\\>", "when": "\\%u04d8\\%u0433\\%u04d9\\%u0440\\>"},
|
||||
\"uk": {"and": "\\%u0410 \\%u0442\\%u0430\\%u043a\\%u043e\\%u0436\\>\\|\\%u0422\\%u0430\\>\\|\\%u0406\\>", "background": "\\%u041f\\%u0435\\%u0440\\%u0435\\%u0434\\%u0443\\%u043c\\%u043e\\%u0432\\%u0430", "but": "\\%u0410\\%u043b\\%u0435\\>", "examples": "\\%u041f\\%u0440\\%u0438\\%u043a\\%u043b\\%u0430\\%u0434\\%u0438", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0456\\%u043e\\%u043d\\%u0430\\%u043b", "given": "\\%u041f\\%u0440\\%u0438\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\%u043e, \\%u0449\\%u043e\\>\\|\\%u041f\\%u0440\\%u0438\\%u043f\\%u0443\\%u0441\\%u0442\\%u0438\\%u043c\\%u043e\\>\\|\\%u041d\\%u0435\\%u0445\\%u0430\\%u0439\\>\\|\\%u0414\\%u0430\\%u043d\\%u043e\\>", "rule": "Rule", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0456\\%u0439\\|\\%u041f\\%u0440\\%u0438\\%u043a\\%u043b\\%u0430\\%u0434", "scenario_outline": "\\%u0421\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430 \\%u0441\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0456\\%u044e", "then": "\\%u0422\\%u043e\\%u0434\\%u0456\\>\\|\\%u0422\\%u043e\\>", "when": "\\%u042f\\%u043a\\%u0449\\%u043e\\>\\|\\%u041a\\%u043e\\%u043b\\%u0438\\>"},
|
||||
\"ur": {"and": "\\%u0627\\%u0648\\%u0631\\>", "background": "\\%u067e\\%u0633 \\%u0645\\%u0646\\%u0638\\%u0631", "but": "\\%u0644\\%u06cc\\%u06a9\\%u0646\\>", "examples": "\\%u0645\\%u062b\\%u0627\\%u0644\\%u06cc\\%u06ba", "feature": "\\%u06a9\\%u0627\\%u0631\\%u0648\\%u0628\\%u0627\\%u0631 \\%u06a9\\%u06cc \\%u0636\\%u0631\\%u0648\\%u0631\\%u062a\\|\\%u0635\\%u0644\\%u0627\\%u062d\\%u06cc\\%u062a\\|\\%u062e\\%u0635\\%u0648\\%u0635\\%u06cc\\%u062a", "given": "\\%u0641\\%u0631\\%u0636 \\%u06a9\\%u06cc\\%u0627\\>\\|\\%u0628\\%u0627\\%u0644\\%u0641\\%u0631\\%u0636\\>\\|\\%u0627\\%u06af\\%u0631\\>", "rule": "Rule", "scenario": "\\%u0645\\%u0646\\%u0638\\%u0631\\%u0646\\%u0627\\%u0645\\%u06c1", "scenario_outline": "\\%u0645\\%u0646\\%u0638\\%u0631 \\%u0646\\%u0627\\%u0645\\%u06d2 \\%u06a9\\%u0627 \\%u062e\\%u0627\\%u06a9\\%u06c1", "then": "\\%u067e\\%u06be\\%u0631\\>\\|\\%u062a\\%u0628\\>", "when": "\\%u062c\\%u0628\\>"},
|
||||
\"uz": {"and": "\\%u0412\\%u0430\\>", "background": "\\%u0422\\%u0430\\%u0440\\%u0438\\%u0445", "but": "\\%u041b\\%u0435\\%u043a\\%u0438\\%u043d\\>\\|\\%u0411\\%u0438\\%u0440\\%u043e\\%u043a\\>\\|\\%u0410\\%u043c\\%u043c\\%u043e\\>", "examples": "\\%u041c\\%u0438\\%u0441\\%u043e\\%u043b\\%u043b\\%u0430\\%u0440", "feature": "\\%u0424\\%u0443\\%u043d\\%u043a\\%u0446\\%u0438\\%u043e\\%u043d\\%u0430\\%u043b", "given": "Belgilangan\\>", "rule": "Rule", "scenario": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439", "scenario_outline": "\\%u0421\\%u0446\\%u0435\\%u043d\\%u0430\\%u0440\\%u0438\\%u0439 \\%u0441\\%u0442\\%u0440\\%u0443\\%u043a\\%u0442\\%u0443\\%u0440\\%u0430\\%u0441\\%u0438", "then": "\\%u0423\\%u043d\\%u0434\\%u0430\\>", "when": "\\%u0410\\%u0433\\%u0430\\%u0440\\>"},
|
||||
\"vi": {"and": "V\\%u00e0\\>", "background": "B\\%u1ed1i c\\%u1ea3nh", "but": "Nh\\%u01b0ng\\>", "examples": "D\\%u1eef li\\%u1ec7u", "feature": "T\\%u00ednh n\\%u0103ng", "given": "Bi\\%u1ebft\\>\\|Cho\\>", "rule": "Rule", "scenario": "T\\%u00ecnh hu\\%u1ed1ng\\|K\\%u1ecbch b\\%u1ea3n", "scenario_outline": "Khung t\\%u00ecnh hu\\%u1ed1ng\\|Khung k\\%u1ecbch b\\%u1ea3n", "then": "Th\\%u00ec\\>", "when": "Khi\\>"},
|
||||
\"zh-CN": {"and": "\\%u800c\\%u4e14\\|\\%u5e76\\%u4e14\\|\\%u540c\\%u65f6", "background": "\\%u80cc\\%u666f", "but": "\\%u4f46\\%u662f", "examples": "\\%u4f8b\\%u5b50", "feature": "\\%u529f\\%u80fd", "given": "\\%u5047\\%u5982\\|\\%u5047\\%u8bbe\\|\\%u5047\\%u5b9a", "rule": "Rule\\|\\%u89c4\\%u5219", "scenario": "\\%u573a\\%u666f\\|\\%u5267\\%u672c", "scenario_outline": "\\%u573a\\%u666f\\%u5927\\%u7eb2\\|\\%u5267\\%u672c\\%u5927\\%u7eb2", "then": "\\%u90a3\\%u4e48", "when": "\\%u5f53"},
|
||||
\"zh-TW": {"and": "\\%u800c\\%u4e14\\|\\%u4e26\\%u4e14\\|\\%u540c\\%u6642", "background": "\\%u80cc\\%u666f", "but": "\\%u4f46\\%u662f", "examples": "\\%u4f8b\\%u5b50", "feature": "\\%u529f\\%u80fd", "given": "\\%u5047\\%u5982\\|\\%u5047\\%u8a2d\\|\\%u5047\\%u5b9a", "rule": "Rule", "scenario": "\\%u5834\\%u666f\\|\\%u5287\\%u672c", "scenario_outline": "\\%u5834\\%u666f\\%u5927\\%u7db1\\|\\%u5287\\%u672c\\%u5927\\%u7db1", "then": "\\%u90a3\\%u9ebc", "when": "\\%u7576"}}
|
||||
|
||||
function! s:pattern(key)
|
||||
let language = matchstr(getline(1),'#\s*language:\s*\zs\S\+')
|
||||
@@ -87,16 +111,18 @@ function! s:pattern(key)
|
||||
endfunction
|
||||
|
||||
function! s:Add(name)
|
||||
let next = " skipempty skipwhite nextgroup=".join(map(["Region","AndRegion","ButRegion","Comment","String","Table"],'"cucumber".a:name.v:val'),",")
|
||||
let next = " skipempty skipwhite nextgroup=".join(map(["Region","AndRegion","ButRegion","StarRegion","Comment","String","Table"],'"cucumber".a:name.v:val'),",")
|
||||
exe "syn region cucumber".a:name.'Region matchgroup=cucumber'.a:name.' start="\%(^\s*\)\@<=\%('.s:pattern(tolower(a:name)).'\)" end="$"'.next
|
||||
exe 'syn region cucumber'.a:name.'AndRegion matchgroup=cucumber'.a:name.'And start="\%(^\s*\)\@<='.s:pattern('and').'" end="$" contained'.next
|
||||
exe 'syn region cucumber'.a:name.'ButRegion matchgroup=cucumber'.a:name.'But start="\%(^\s*\)\@<='.s:pattern('but').'" end="$" contained'.next
|
||||
exe 'syn region cucumber'.a:name.'StarRegion matchgroup=cucumber'.a:name.'Star start="\%(^\s*\)\@<=\*\S\@!" end="$" contained'.next
|
||||
exe 'syn match cucumber'.a:name.'Comment "\%(^\s*\)\@<=#.*" contained'.next
|
||||
exe 'syn region cucumber'.a:name.'String start=+\%(^\s*\)\@<="""+ end=+"""+ contained'.next
|
||||
exe 'syn match cucumber'.a:name.'Table "\%(^\s*\)\@<=|.*" contained contains=cucumberDelimiter'.next
|
||||
exe 'hi def link cucumber'.a:name.'Comment cucumberComment'
|
||||
exe 'hi def link cucumber'.a:name.'String cucumberString'
|
||||
exe 'hi def link cucumber'.a:name.'But cucumber'.a:name.'And'
|
||||
exe 'hi def link cucumber'.a:name.'Star cucumber'.a:name.'And'
|
||||
exe 'hi def link cucumber'.a:name.'And cucumber'.a:name
|
||||
exe 'syn cluster cucumberStepRegions add=cucumber'.a:name.'Region,cucumber'.a:name.'AndRegion,cucumber'.a:name.'ButRegion'
|
||||
endfunction
|
||||
@@ -104,12 +130,13 @@ endfunction
|
||||
syn match cucumberComment "\%(^\s*\)\@<=#.*"
|
||||
syn match cucumberComment "\%(\%^\s*\)\@<=#.*" contains=cucumberLanguage
|
||||
syn match cucumberLanguage "\%(#\s*\)\@<=language:" contained
|
||||
syn match cucumberUnparsed "\S.*" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberTags,cucumberBackground,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty contained
|
||||
syn match cucumberUnparsedComment "#.*" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberTags,cucumberBackground,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty contained
|
||||
syn match cucumberUnparsed "\S.*" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberTags,cucumberBackground,cucumberRule,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty contained
|
||||
syn match cucumberUnparsedComment "#.*" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberTags,cucumberBackground,cucumberRule,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty contained
|
||||
|
||||
exe 'syn match cucumberFeature "\%(^\s*\)\@<='.s:pattern('feature').':" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberBackground,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty'
|
||||
exe 'syn match cucumberFeature "\%(^\s*\)\@<='.s:pattern('feature').':" nextgroup=cucumberUnparsedComment,cucumberUnparsed,cucumberBackground,cucumberRule,cucumberScenario,cucumberScenarioOutline,cucumberExamples skipwhite skipempty'
|
||||
exe 'syn match cucumberBackground "\%(^\s*\)\@<='.s:pattern('background').':"'
|
||||
exe 'syn match cucumberScenario "\%(^\s*\)\@<='.s:pattern('scenario').':"'
|
||||
exe 'syn match cucumberRule "\%(^\s*\)\@<='.s:pattern('rule').':"'
|
||||
exe 'syn match cucumberScenarioOutline "\%(^\s*\)\@<='.s:pattern('scenario_outline').':"'
|
||||
exe 'syn match cucumberExamples "\%(^\s*\)\@<='.s:pattern('examples').':" nextgroup=cucumberExampleTable skipempty skipwhite'
|
||||
|
||||
@@ -127,6 +154,7 @@ hi def link cucumberComment Comment
|
||||
hi def link cucumberLanguage SpecialComment
|
||||
hi def link cucumberFeature Macro
|
||||
hi def link cucumberBackground Define
|
||||
hi def link cucumberRule Define
|
||||
hi def link cucumberScenario Define
|
||||
hi def link cucumberScenarioOutline Define
|
||||
hi def link cucumberExamples Define
|
||||
|
||||
@@ -23,7 +23,7 @@ syntax sync fromstart
|
||||
syntax case match
|
||||
|
||||
" keyword definitions
|
||||
syntax keyword dartConditional if else switch
|
||||
syntax keyword dartConditional if else switch when
|
||||
syntax keyword dartRepeat do while for
|
||||
syntax keyword dartBoolean true false
|
||||
syntax keyword dartConstant null
|
||||
@@ -32,7 +32,8 @@ syntax keyword dartOperator new is as in
|
||||
syntax match dartOperator "+=\=\|-=\=\|*=\=\|/=\=\|%=\=\|\~/=\=\|<<=\=\|>>=\=\|[<>]=\=\|===\=\|\!==\=\|&=\=\|\^=\=\||=\=\|||\|&&\|\[\]=\=\|=>\|!\|\~\|?\|:"
|
||||
syntax keyword dartCoreType void var dynamic
|
||||
syntax keyword dartStatement return
|
||||
syntax keyword dartStorageClass static abstract final const factory late
|
||||
syntax keyword dartStorageClass static abstract final const factory late base
|
||||
\ interface sealed macro
|
||||
syntax keyword dartExceptions throw rethrow try on catch finally
|
||||
syntax keyword dartAssert assert
|
||||
syntax keyword dartClassDecl extends with implements
|
||||
|
||||
@@ -8,6 +8,7 @@ endif
|
||||
" Anton Kochkov <anton.kochkov@gmail.com>
|
||||
" URL: https://github.com/ocaml/vim-ocaml
|
||||
" Last Change:
|
||||
" 2023 Nov 24 - Add end-of-line strings (Samuel Hym)
|
||||
" 2019 Feb 27 - Add newer keywords to the syntax (Simon Cruanes)
|
||||
" 2018 May 8 - Check current_syntax (Kawahara Satoru)
|
||||
" 2018 Mar 29 - Extend jbuild syntax with more keywords (Petter A. Urkedal)
|
||||
@@ -42,6 +43,8 @@ syn keyword lispFunc ignore-stdout ignore-stderr ignore-outputs
|
||||
syn keyword lispFunc with-stdout-to with-stderr-to with-outputs-to
|
||||
syn keyword lispFunc write-file system bash
|
||||
|
||||
syn region lispString start=+"\\[>|]+ end=+$+ contains=@Spell
|
||||
|
||||
syn cluster lispBaseListCluster add=duneVar
|
||||
syn match duneVar '\${[@<^]}' containedin=lispSymbol
|
||||
syn match duneVar '\${\k\+\(:\k\+\)\?}' containedin=lispSymbol
|
||||
|
||||
@@ -92,15 +92,15 @@ syn match elixirString "\(\w\)\@<!?\%(\\\(x\d{1,2}\|\h{1,2}\h\@!\>\|
|
||||
syn region elixirBlock matchgroup=elixirBlockDefinition start="\<do\>:\@!" end="\<end\>" contains=ALLBUT,@elixirNotTop fold
|
||||
syn region elixirAnonymousFunction matchgroup=elixirBlockDefinition start="\<fn\>" end="\<end\>" contains=ALLBUT,@elixirNotTop fold
|
||||
|
||||
syn region elixirArguments start="(" end=")" contained contains=elixirOperator,elixirAtom,elixirPseudoVariable,elixirAlias,elixirBoolean,elixirVariable,elixirUnusedVariable,elixirNumber,elixirDocString,elixirAtomInterpolated,elixirRegex,elixirString,elixirStringDelimiter,elixirRegexDelimiter,elixirInterpolationDelimiter,elixirSigil,elixirAnonymousFunction,elixirComment,elixirCharList,elixirCharListDelimiter
|
||||
syn region elixirArguments start="(" end=")" contained contains=elixirOperator,elixirAtom,elixirMap,elixirStruct,elixirTuple,elixirPseudoVariable,elixirAlias,elixirBoolean,elixirVariable,elixirUnusedVariable,elixirNumber,elixirDocString,elixirAtomInterpolated,elixirRegex,elixirString,elixirStringDelimiter,elixirRegexDelimiter,elixirInterpolationDelimiter,elixirSigil,elixirAnonymousFunction,elixirComment,elixirCharList,elixirCharListDelimiter
|
||||
|
||||
syn match elixirDelimEscape "\\[(<{\[)>}\]/\"'|]" transparent display contained contains=NONE
|
||||
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\z(/\|\"\|'\||\)" end="\z1" skip="\\\\\|\\\z1" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u{" end="}" skip="\\\\\|\\}" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u<" end=">" skip="\\\\\|\\>" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\[" end="\]" skip="\\\\\|\\\]" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u(" end=")" skip="\\\\\|\\)" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\+\z(/\|\"\|'\||\)" end="\z1" skip="\\\\\|\\\z1" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\+{" end="}" skip="\\\\\|\\}" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\+<" end=">" skip="\\\\\|\\>" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\+\[" end="\]" skip="\\\\\|\\\]" contains=elixirDelimEscape fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\u\+(" end=")" skip="\\\\\|\\)" contains=elixirDelimEscape fold
|
||||
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\l\z(/\|\"\|'\||\)" end="\z1" skip="\\\\\|\\\z1" fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\l{" end="}" skip="\\\\\|\\}" contains=@elixirStringContained,elixirRegexEscapePunctuation fold
|
||||
@@ -110,19 +110,47 @@ syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\l("
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start="\~\l\/" end="\/" skip="\\\\\|\\\/" contains=@elixirStringContained,elixirRegexEscapePunctuation fold
|
||||
|
||||
" Sigils surrounded with heredoc
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\a\z("""\)+ end=+^\s*\z1+ skip=+\\"+ fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\a\z('''\)+ end=+^\s*\z1+ skip=+\\'+ fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\u\+\z("""\)+ end=+^\s*\z1+ skip=+\\"+ fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\u\z('''\)+ end=+^\s*\z1+ skip=+\\'+ fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\l\z("""\)+ end=+^\s*\z1+ skip=+\\"+ fold
|
||||
syn region elixirSigil matchgroup=elixirSigilDelimiter start=+\~\l\z('''\)+ end=+^\s*\z1+ skip=+\\'+ fold
|
||||
|
||||
|
||||
" LiveView Sigils surrounded with ~L"""
|
||||
" LiveView-specific sigils for embedded templates
|
||||
syntax include @HTML syntax/html.vim
|
||||
unlet b:current_syntax
|
||||
syntax region elixirLiveViewSigil matchgroup=elixirSigilDelimiter keepend start=+\~L\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirSurfaceSigil matchgroup=elixirSigilDelimiter keepend start=+\~H\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirHeexSigil matchgroup=elixirSigilDelimiter keepend start=+\~H\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirSurfaceSigil matchgroup=elixirSigilDelimiter keepend start=+\~F\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirLiveViewSigil matchgroup=elixirSigilDelimiter keepend start=+\~L\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirPhoenixESigil matchgroup=elixirSigilDelimiter keepend start=+\~E\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
syntax region elixirPhoenixeSigil matchgroup=elixirSigilDelimiter keepend start=+\~e\z("""\)+ end=+^\s*\z1+ skip=+\\"+ contains=@HTML fold
|
||||
|
||||
syn cluster elixirTemplateSigils contains=elixirLiveViewSigil,elixirHeexSigil,elixirSurfaceSigil,elixirPhoenixESigil,elixirPhoenixeSigil
|
||||
|
||||
syn region heexComponent matchgroup=eelixirDelimiter start="<\.[a-z_]\+" end="%\@<!>" contains=ALLBUT,@elixirNotTop keepend
|
||||
syn region eelixirExpression matchgroup=eelixirDelimiter start="<%" end="%\@<!%>" contains=ALLBUT,@elixirNotTop containedin=@elixirTemplateSigils keepend
|
||||
syn region eelixirExpression matchgroup=eelixirDelimiter start="<%=" end="%\@<!%>" contains=ALLBUT,@elixirNotTop containedin=@elixirTemplateSigils keepend
|
||||
syn region eelixirQuote matchgroup=eelixirDelimiter start="<%%" end="%\@<!%>" contains=ALLBUT,@elixirNotTop containedin=@elixirTemplateSigils keepend
|
||||
syn region heexComment matchgroup=eelixirDelimiter start="<%!--" end="%\@<!--%>" contains=elixirTodo,eelixirComment,@Spell containedin=@elixirTemplateSigils keepend
|
||||
syn region heexExpression matchgroup=heexDelimiter start="=\zs{" end="}" contains=ALLBUT,@elixirNotTop containedin=htmlValue keepend
|
||||
syn region heexExpression matchgroup=heexDelimiter start="=\zs{" end="}" skip="#{[^}]*}" contains=ALLBUT,@elixirNotTop containedin=htmlValue keepend
|
||||
" missing `keepend` on next line is intentional
|
||||
syn region heexExpression matchgroup=heexDelimiter start="=\zs{" end="}" skip="%{[^}]*}" contains=ALLBUT,@elixirNotTop containedin=htmlValue
|
||||
|
||||
syn match phxArg "\<phx[-.0-9_a-z]*-[-.0-9_a-z]*\>" containedin=htmlTag
|
||||
syn match heexArg "\<[0-9_a-z]*\>\ze=" containedin=htmlTag
|
||||
syn match heexSpecialAttribute ":\%(if\|for\|let\)\ze=" containedin=htmlTag
|
||||
syn match heexComponentName "<\zs\.[A-Z_a-z][A-Z_a-z0-9]\+" containedin=htmlTag
|
||||
syn match heexEndComponent "<\zs\/\.[A-Z_a-z][A-Z_a-z0-9]\+" containedin=htmlEndTag
|
||||
|
||||
hi def link eelixirDelimiter PreProc
|
||||
hi def link heexDelimiter PreProc
|
||||
hi def link heexComment Comment
|
||||
hi def link phxArg htmlArg
|
||||
hi def link heexArg htmlArg
|
||||
hi def link heexSpecialAttribute htmlArg
|
||||
hi def link heexComponentName htmlTagName
|
||||
hi def link heexEndComponent htmlTagName
|
||||
|
||||
" Documentation
|
||||
if exists('g:elixir_use_markdown_for_docs') && g:elixir_use_markdown_for_docs
|
||||
syn include @markdown syntax/markdown.vim
|
||||
|
||||
@@ -98,7 +98,7 @@ syn match erlangBitType '\%(\/\%(\s\|\n\|%.*\n\)*\)\@<=\%(integer\|float\|binary
|
||||
|
||||
" Constants and Directives
|
||||
syn match erlangUnknownAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\l[[:alnum:]_@]*' contains=erlangComment
|
||||
syn match erlangAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\%(behaviou\=r\|compile\|export\(_type\)\=\|file\|import\|module\|author\|copyright\|doc\|vsn\|on_load\|optional_callbacks\|feature\)\>' contains=erlangComment
|
||||
syn match erlangAttribute '^\s*-\%(\s\|\n\|%.*\n\)*\%(behaviou\=r\|compile\|export\(_type\)\=\|file\|import\|module\|author\|copyright\|doc\|vsn\|on_load\|optional_callbacks\|feature\|mode\)\>' contains=erlangComment
|
||||
syn match erlangInclude '^\s*-\%(\s\|\n\|%.*\n\)*\%(include\|include_lib\)\>' contains=erlangComment
|
||||
syn match erlangRecordDef '^\s*-\%(\s\|\n\|%.*\n\)*record\>' contains=erlangComment
|
||||
syn match erlangDefine '^\s*-\%(\s\|\n\|%.*\n\)*\%(define\|undef\)\>' contains=erlangComment
|
||||
|
||||
@@ -6,7 +6,6 @@ endif
|
||||
" Language: eRuby
|
||||
" Maintainer: Tim Pope <vimNOSPAM@tpope.org>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
|
||||
@@ -25,7 +25,11 @@ endif
|
||||
syn include @gitcommitDiff syntax/diff.vim
|
||||
syn region gitcommitDiff start=/\%(^diff --\%(git\|cc\|combined\) \)\@=/ end=/^\%(diff --\|$\|@@\@!\|[^[:alnum:]\ +-]\S\@!\)\@=/ fold contains=@gitcommitDiff
|
||||
|
||||
syn match gitcommitSummary "^.*\%<51v." contained containedin=gitcommitFirstLine nextgroup=gitcommitOverflow contains=@Spell
|
||||
if get(g:, 'gitcommit_summary_length') < 0
|
||||
syn match gitcommitSummary "^.*$" contained containedin=gitcommitFirstLine nextgroup=gitcommitOverflow contains=@Spell
|
||||
elseif get(g:, 'gitcommit_summary_length', 1) > 0
|
||||
exe 'syn match gitcommitSummary "^.*\%<' . (get(g:, 'gitcommit_summary_length', 50) + 1) . 'v." contained containedin=gitcommitFirstLine nextgroup=gitcommitOverflow contains=@Spell'
|
||||
endif
|
||||
syn match gitcommitOverflow ".*" contained contains=@Spell
|
||||
syn match gitcommitBlank "^.\+" contained contains=@Spell
|
||||
syn match gitcommitFirstLine "\%^.*" nextgroup=gitcommitBlank,gitcommitComment skipnl
|
||||
|
||||
@@ -30,6 +30,7 @@ syn match gitrebaseNoop "\v^noop>"
|
||||
syn match gitrebaseMerge "\v^m(erge)=>" nextgroup=gitrebaseMergeOption,gitrebaseName skipwhite
|
||||
syn match gitrebaseLabel "\v^l(abel)=>" nextgroup=gitrebaseName skipwhite
|
||||
syn match gitrebaseReset "\v^(t|reset)=>" nextgroup=gitrebaseName skipwhite
|
||||
syn match gitrebaseUpdateRef "\v^u%(pdate-ref)=>" nextgroup=gitrebaseRefHead skipwhite
|
||||
syn match gitrebaseSummary ".*" contains=gitrebaseHash contained
|
||||
syn match gitrebaseCommand ".*" contained
|
||||
exe 'syn match gitrebaseComment " \@<=' . s:c . ' empty$" containedin=gitrebaseSummary contained'
|
||||
@@ -38,6 +39,7 @@ syn match gitrebaseSquashError "\v%^%(s%(quash)=>|f%(ixup)=>)" nextgroup=gitre
|
||||
syn match gitrebaseMergeOption "\v-[Cc]>" nextgroup=gitrebaseMergeCommit skipwhite contained
|
||||
syn match gitrebaseMergeCommit "\v<\x{7,}>" nextgroup=gitrebaseName skipwhite contained
|
||||
syn match gitrebaseName "\v[^[:space:].*?i:^~/-]\S+" nextgroup=gitrebaseMergeComment skipwhite contained
|
||||
syn match gitrebaseRefHead "\<refs/heads/" nextgroup=gitrebaseName contained
|
||||
exe 'syn match gitrebaseMergeComment "' . s:c . '" nextgroup=gitrebaseSummary skipwhite contained'
|
||||
|
||||
unlet s:c
|
||||
@@ -56,11 +58,13 @@ hi def link gitrebaseNoop Comment
|
||||
hi def link gitrebaseMerge Exception
|
||||
hi def link gitrebaseLabel Label
|
||||
hi def link gitrebaseReset Keyword
|
||||
hi def link gitrebaseUpdateRef Repeat
|
||||
hi def link gitrebaseSummary String
|
||||
hi def link gitrebaseComment Comment
|
||||
hi def link gitrebaseSquashError Error
|
||||
hi def link gitrebaseMergeCommit gitrebaseCommit
|
||||
hi def link gitrebaseMergeComment gitrebaseComment
|
||||
hi def link gitrebaseName Tag
|
||||
hi def link gitrebaseRefHead gitrebaseName
|
||||
|
||||
let b:current_syntax = "gitrebase"
|
||||
|
||||
@@ -12,7 +12,7 @@ let b:current_syntax = "gleam"
|
||||
|
||||
" Keywords
|
||||
syntax keyword gleamKeyword
|
||||
\ module import pub external
|
||||
\ module import pub panic use
|
||||
\ type let as if else todo const
|
||||
\ case assert tuple try opaque
|
||||
highlight link gleamKeyword Keyword
|
||||
@@ -25,7 +25,7 @@ syntax match gleamFunctionDef "[a-z_-][0-9a-z_-]*" contained skipwhite skipnl
|
||||
highlight link gleamFunctionDef Function
|
||||
|
||||
" Int
|
||||
syntax match gleamInt '\<[0-9][0-9_]*\>'
|
||||
syntax match gleamInt '\<\(0x[a-fA-F0-9_]\+\|[0-9][0-9_]*\)\>'
|
||||
highlight link gleamInt Number
|
||||
|
||||
" Float
|
||||
|
||||
@@ -25,6 +25,11 @@ syn region glslDefine start="^\s*#\s*\(define\|undef\)" skip="\\$" end
|
||||
syn keyword glslTokenConcat ##
|
||||
syn keyword glslPredefinedMacro __LINE__ __FILE__ __VERSION__ GL_ES
|
||||
syn region glslPreProc start="^\s*#\s*\(error\|pragma\|extension\|version\|line\)" skip="\\$" end="$" keepend
|
||||
syn region glslInclude start="^\s*#\s*include" skip="\\$" end="$" keepend
|
||||
|
||||
" Folding Blocks
|
||||
syn region glslCurlyBlock start="{" end="}" transparent fold
|
||||
syn region glslParenBlock start="(" end=")" transparent fold
|
||||
|
||||
" Boolean Constants
|
||||
syn keyword glslBoolean true false
|
||||
@@ -729,6 +734,7 @@ hi def link glslDefine Define
|
||||
hi def link glslTokenConcat glslPreProc
|
||||
hi def link glslPredefinedMacro Macro
|
||||
hi def link glslPreProc PreProc
|
||||
hi def link glslInclude Include
|
||||
hi def link glslBoolean Boolean
|
||||
hi def link glslDecimalInt glslInteger
|
||||
hi def link glslOctalInt glslInteger
|
||||
|
||||
@@ -51,14 +51,17 @@ hi def link goFloats Type
|
||||
hi def link goComplexes Type
|
||||
|
||||
" Predefined functions and values
|
||||
syn keyword goBuiltins append cap close complex copy delete imag len
|
||||
syn keyword goBuiltins make new panic print println real recover
|
||||
syn keyword goBuiltins append cap clear close complex copy delete imag len
|
||||
syn keyword goBuiltins make max min new panic print println real recover
|
||||
syn keyword goBoolean true false
|
||||
syn keyword goPredefinedIdentifiers nil iota
|
||||
|
||||
hi def link goBuiltins Identifier
|
||||
hi def link goPredefinedIdentifiers Constant
|
||||
" Boolean links to Constant by default by vim: goBoolean and goPredefinedIdentifiers
|
||||
" will be highlighted the same, but having the separate allows users to have
|
||||
" separate highlighting for them if they desire.
|
||||
hi def link goBoolean Boolean
|
||||
hi def link goPredefinedIdentifiers goBoolean
|
||||
|
||||
" Comments; their contents
|
||||
syn keyword goTodo contained TODO FIXME XXX BUG
|
||||
@@ -108,7 +111,7 @@ else
|
||||
syn region goRawString start=+`+ end=+`+
|
||||
endif
|
||||
|
||||
syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"$/ contained containedin=goImport
|
||||
syn match goImportString /^\%(\s\+\|import \)\(\h\w* \)\?\zs"[^"]\+"/ contained containedin=goImport
|
||||
|
||||
if go#config#HighlightFormatStrings()
|
||||
" [n] notation is valid for specifying explicit argument indexes
|
||||
@@ -148,21 +151,31 @@ endif
|
||||
" import
|
||||
if go#config#FoldEnable('import')
|
||||
syn region goImport start='import (' end=')' transparent fold contains=goImport,goImportString,goComment
|
||||
syn match goImport /^import ()/ transparent fold contains=goImport
|
||||
else
|
||||
syn region goImport start='import (' end=')' transparent contains=goImport,goImportString,goComment
|
||||
syn match goImport /^import ()/ transparent contains=goImport
|
||||
endif
|
||||
|
||||
" var, const
|
||||
if go#config#FoldEnable('varconst')
|
||||
syn region goVar start='var (' end='^\s*)$' transparent fold
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
syn match goVar /var ()/ transparent fold
|
||||
\ contains=goVar
|
||||
syn region goConst start='const (' end='^\s*)$' transparent fold
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
syn match goConst /const ()/ transparent fold
|
||||
\ contains=goConst
|
||||
else
|
||||
syn region goVar start='var (' end='^\s*)$' transparent
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
syn match goVar /var ()/ transparent
|
||||
\ contains=goVar
|
||||
syn region goConst start='const (' end='^\s*)$' transparent
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
\ contains=ALLBUT,goParen,goBlock,goFunction,goTypeName,goReceiverType,goReceiverVar,goParamName,goParamType,goSimpleParams,goPointerOperator
|
||||
syn match goConst /const ()/ transparent
|
||||
\ contains=goConst
|
||||
endif
|
||||
|
||||
" Single-line var, const, and import.
|
||||
@@ -439,12 +452,12 @@ if go#config#HighlightBuildConstraints() || go#config#FoldEnable('package_commen
|
||||
" matched as comments to avoid looking like working build constraints.
|
||||
" The he, me, and re options let the "package" itself be highlighted by
|
||||
" the usual rules.
|
||||
exe 'syn region goPackageComment start=/\v(\/\/.*\n)+\s*package/'
|
||||
\ . ' end=/\v\n\s*package/he=e-7,me=e-7,re=e-7'
|
||||
exe 'syn region goPackageComment start=/\v(\/\/.*\n)+\s*package\s/'
|
||||
\ . ' end=/\v\n\s*package\s/he=e-8,me=e-8,re=e-8'
|
||||
\ . ' contains=@goCommentGroup,@Spell'
|
||||
\ . (go#config#FoldEnable('package_comment') ? ' fold' : '')
|
||||
exe 'syn region goPackageComment start=/\v^\s*\/\*.*\n(.*\n)*\s*\*\/\npackage/'
|
||||
\ . ' end=/\v\*\/\n\s*package/he=e-7,me=e-7,re=e-7'
|
||||
exe 'syn region goPackageComment start=/\v^\s*\/\*.*\n(.*\n)*\s*\*\/\npackage\s/'
|
||||
\ . ' end=/\v\*\/\n\s*package\s/he=e-8,me=e-8,re=e-8'
|
||||
\ . ' contains=@goCommentGroup,@Spell'
|
||||
\ . (go#config#FoldEnable('package_comment') ? ' fold' : '')
|
||||
hi def link goPackageComment Comment
|
||||
|
||||
@@ -10,6 +10,6 @@ syn match godebugStacktrace '^\S\+'
|
||||
|
||||
let b:current_syntax = "godebugoutput"
|
||||
|
||||
hi def link godebugStacktrace SpecialKey
|
||||
hi def link godebugStacktrace Function
|
||||
|
||||
" vim: sw=2 ts=2 et
|
||||
|
||||
@@ -15,12 +15,13 @@ syntax case match
|
||||
" https://golang.org/ref/mod#go-mod-file-grammar
|
||||
|
||||
" match keywords
|
||||
syntax keyword gomodModule module
|
||||
syntax keyword gomodGo go contained
|
||||
syntax keyword gomodRequire require
|
||||
syntax keyword gomodExclude exclude
|
||||
syntax keyword gomodReplace replace
|
||||
syntax keyword gomodRetract retract
|
||||
syntax keyword gomodModule module
|
||||
syntax keyword gomodGo go contained
|
||||
syntax keyword gomodToolchain toolchain contained
|
||||
syntax keyword gomodRequire require
|
||||
syntax keyword gomodExclude exclude
|
||||
syntax keyword gomodReplace replace
|
||||
syntax keyword gomodRetract retract
|
||||
|
||||
" require, exclude, replace, and go can be also grouped into block
|
||||
syntax region gomodRequire start='require (' end=')' transparent contains=gomodRequire,gomodVersion
|
||||
@@ -28,14 +29,16 @@ syntax region gomodExclude start='exclude (' end=')' transparent contains=gomodE
|
||||
syntax region gomodReplace start='replace (' end=')' transparent contains=gomodReplace,gomodVersion
|
||||
syntax region gomodRetract start='retract (' end=')' transparent contains=gomodVersionRange,gomodVersion
|
||||
syntax match gomodGo '^go .*$' transparent contains=gomodGo,gomodGoVersion
|
||||
syntax match gomodToolchain '^toolchain .*$' transparent contains=gomodToolchain,gomodToolchainVersion
|
||||
|
||||
" set highlights
|
||||
highlight default link gomodModule Keyword
|
||||
highlight default link gomodGo Keyword
|
||||
highlight default link gomodRequire Keyword
|
||||
highlight default link gomodExclude Keyword
|
||||
highlight default link gomodReplace Keyword
|
||||
highlight default link gomodRetract Keyword
|
||||
highlight default link gomodModule Keyword
|
||||
highlight default link gomodGo Keyword
|
||||
highlight default link gomodToolchain Keyword
|
||||
highlight default link gomodRequire Keyword
|
||||
highlight default link gomodExclude Keyword
|
||||
highlight default link gomodReplace Keyword
|
||||
highlight default link gomodRetract Keyword
|
||||
|
||||
" comments are always in form of // ...
|
||||
syntax region gomodComment start="//" end="$" contains=@Spell
|
||||
@@ -49,8 +52,20 @@ highlight default link gomodString String
|
||||
syntax match gomodReplaceOperator "\v\=\>"
|
||||
highlight default link gomodReplaceOperator Operator
|
||||
|
||||
" match toolchain versions, based on https://go.dev/doc/toolchain#version,
|
||||
" * default
|
||||
" * go1
|
||||
" * go1.X.Y
|
||||
" * go1.X
|
||||
" * go1.XrcN
|
||||
" * go1.XrcN-somesuffix
|
||||
" * go1.X.Y-somesuffix
|
||||
syntax match gomodToolchainVersion "default$" contained
|
||||
syntax match gomodToolchainVersion "go1\(.\d\+\)\{,2\}\(rc\d\+\)\?\([ \t-].*\)\?" contained
|
||||
highlight default link gomodToolchainVersion Identifier
|
||||
|
||||
" match go versions
|
||||
syntax match gomodGoVersion "1\.\d\+" contained
|
||||
syntax match gomodGoVersion "\(1.\d\+\)\(\(.\d\+\)\|\(rc\d\+\)\)\?" contained
|
||||
highlight default link gomodGoVersion Identifier
|
||||
|
||||
" highlight versions:
|
||||
|
||||
@@ -16,13 +16,11 @@ syntax case match
|
||||
|
||||
" match keywords
|
||||
syntax keyword goworkGo go contained
|
||||
syntax keyword goworkUse use
|
||||
syntax keyword goworkExclude exclude
|
||||
syntax keyword goworkUse use
|
||||
syntax keyword goworkReplace replace
|
||||
syntax keyword goworkRetract retract
|
||||
|
||||
" require, exclude, replace, and go can be also grouped into block
|
||||
syntax region goworkUse start='require (' end=')' transparent contains=goworkUse,goworkPath
|
||||
" use, exclude, replace, and go can be also grouped into block
|
||||
syntax region goworkUse start='use (' end=')' transparent contains=goworkUse
|
||||
syntax region goworkReplace start='replace (' end=')' transparent contains=goworkReplace,goworkVersion
|
||||
syntax match goworkGo '^go .*$' transparent contains=goworkGo,goworkGoVersion
|
||||
|
||||
@@ -47,11 +45,6 @@ highlight default link goworkReplaceOperator Operator
|
||||
syntax match goworkGoVersion "1\.\d\+" contained
|
||||
highlight default link goworkGoVersion Identifier
|
||||
|
||||
|
||||
" match paths in use directives
|
||||
syntax match goworkPath "\f\+"
|
||||
|
||||
highlight default link goworkPath Identifier
|
||||
" highlight versions:
|
||||
" * vX.Y.Z-pre
|
||||
" * vX.Y.Z
|
||||
|
||||
@@ -2,7 +2,7 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'graphql', 'syntax/graphql.vim
|
||||
finish
|
||||
endif
|
||||
|
||||
" Copyright (c) 2016-2021 Jon Parise <jon@indelible.org>
|
||||
" Copyright (c) Jon Parise <jon@indelible.org>
|
||||
"
|
||||
" Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
" of this software and associated documentation files (the "Software"), to
|
||||
@@ -45,6 +45,7 @@ syn match graphqlNumber "-\=\<\%(0\|[1-9]\d*\)\%(\.\d\+\)\=\%([eE][-+]\=\d\+
|
||||
syn region graphqlString start=+"+ skip=+\\\\\|\\"+ end=+"\|$+
|
||||
syn region graphqlString start=+"""+ skip=+\\"""+ end=+"""+
|
||||
|
||||
syn keyword graphqlKeyword repeatable nextgroup=graphqlKeyword skipwhite
|
||||
syn keyword graphqlKeyword on nextgroup=graphqlType,graphqlDirectiveLocation skipwhite
|
||||
|
||||
syn keyword graphqlStructure enum scalar type union nextgroup=graphqlType skipwhite
|
||||
@@ -60,11 +61,11 @@ syn match graphqlVariable "\<\$\h\w*\>" display
|
||||
syn match graphqlName "\<\h\w*\>" display
|
||||
syn match graphqlType "\<_*\u\w*\>" display
|
||||
|
||||
" https://graphql.github.io/graphql-spec/June2018/#ExecutableDirectiveLocation
|
||||
" https://spec.graphql.org/October2021/#ExecutableDirectiveLocation
|
||||
syn keyword graphqlDirectiveLocation QUERY MUTATION SUBSCRIPTION FIELD
|
||||
syn keyword graphqlDirectiveLocation FRAGMENT_DEFINITION FRAGMENT_SPREAD
|
||||
syn keyword graphqlDirectiveLocation INLINE_FRAGMENT
|
||||
" https://graphql.github.io/graphql-spec/June2018/#TypeSystemDirectiveLocation
|
||||
syn keyword graphqlDirectiveLocation INLINE_FRAGMENT VARIABLE_DEFINITION
|
||||
" https://spec.graphql.org/October2021/#TypeSystemDirectiveLocation
|
||||
syn keyword graphqlDirectiveLocation SCHEMA SCALAR OBJECT FIELD_DEFINITION
|
||||
syn keyword graphqlDirectiveLocation ARGUMENT_DEFINITION INTERFACE UNION
|
||||
syn keyword graphqlDirectiveLocation ENUM ENUM_VALUE INPUT_OBJECT
|
||||
|
||||
@@ -83,10 +83,10 @@ hi def link gotplFunctions Function
|
||||
hi def link goSprigFunctions Function
|
||||
hi def link goTplVariable Special
|
||||
|
||||
syn region gotplAction start="{{\(-? \)\?" end="\( -?\)\?}}" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable,goTplIdentifier containedin=yamlFlowString display
|
||||
syn region gotplAction start="\[\[\(-? \)\?" end="\( -?\)\?\]\]" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable containedin=yamlFlowString display
|
||||
syn region goTplComment start="{{\(-? \)\?/\*" end="\*/\( -?\)\?}}" display
|
||||
syn region goTplComment start="\[\[\(-? \)\?/\*" end="\*/\( -?\)\?\]\]" display
|
||||
syn region gotplAction start="{{\(-\? \)\?" end="\( -\?\)\?}}" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable,goTplIdentifier containedin=yamlFlowString display
|
||||
syn region gotplAction start="\[\[\(-\? \)\?" end="\( -\?\)\?\]\]" contains=@gotplLiteral,gotplControl,gotplFunctions,goSprigFunctions,gotplVariable containedin=yamlFlowString display
|
||||
syn region goTplComment start="{{\(-\? \)\?/\*" end="\*/\( -\?\)\?}}" display
|
||||
syn region goTplComment start="\[\[\(-\? \)\?/\*" end="\*/\( -\?\)\?\]\]" display
|
||||
|
||||
hi def link gotplAction PreProc
|
||||
hi def link goTplComment Comment
|
||||
|
||||
@@ -4,8 +4,9 @@ endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Vim help file
|
||||
" Maintainer: Bram Moolenaar (Bram@vim.org)
|
||||
" Last Change: 2022 Sep 26
|
||||
" Maintainer: The Vim Project <https://github.com/vim/vim>
|
||||
" Last Change: 2023 Aug 10
|
||||
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
|
||||
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists("b:current_syntax")
|
||||
@@ -15,13 +16,14 @@ endif
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
|
||||
syn match helpHeadline "^[-A-Z .][-A-Z0-9 .()_]*\ze\(\s\+\*\|$\)"
|
||||
syn match helpHeadline "^[A-Z.][-A-Z0-9 .,()_']*?\=\ze\(\s\+\*\|$\)"
|
||||
syn match helpSectionDelim "^===.*===$"
|
||||
syn match helpSectionDelim "^---.*--$"
|
||||
" Neovim: support language annotation in codeblocks
|
||||
if has("conceal")
|
||||
syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<" concealends
|
||||
syn region helpExample matchgroup=helpIgnore start=" >[a-z0-9]*$" start="^>[a-z0-9]*$" end="^[^ \t]"me=e-1 end="^<" concealends
|
||||
else
|
||||
syn region helpExample matchgroup=helpIgnore start=" >$" start="^>$" end="^[^ \t]"me=e-1 end="^<"
|
||||
syn region helpExample matchgroup=helpIgnore start=" >[a-z0-9]*$" start="^>[a-z0-9]*$" end="^[^ \t]"me=e-1 end="^<"
|
||||
endif
|
||||
syn match helpHyperTextJump "\\\@<!|[#-)!+-~]\+|" contains=helpBar
|
||||
syn match helpHyperTextEntry "\*[#-)!+-~]\+\*\s"he=e-1 contains=helpStar
|
||||
@@ -138,6 +140,10 @@ syn match helpTodo "\t[* ]Todo\t\+[a-z].*"
|
||||
|
||||
syn match helpURL `\v<(((https?|ftp|gopher)://|(mailto|file|news):)[^' <>"]+|(www|web|w3)[a-z0-9_-]*\.[a-z0-9._-]+\.[^' <>"]+)[a-zA-Z0-9/]`
|
||||
|
||||
syn match helpDiffAdded "\t[* ]Added\t\+[a-z].*"
|
||||
syn match helpDiffChanged "\t[* ]Changed\t\+[a-z].*"
|
||||
syn match helpDiffRemoved "\t[* ]Removed\t\+[a-z].*"
|
||||
|
||||
" Additionally load a language-specific syntax file "help_ab.vim".
|
||||
let s:i = match(expand("%"), '\.\a\ax$')
|
||||
if s:i > 0
|
||||
@@ -211,6 +217,9 @@ hi def link helpUnderlined Underlined
|
||||
hi def link helpError Error
|
||||
hi def link helpTodo Todo
|
||||
hi def link helpURL String
|
||||
hi def link helpDiffAdded Added
|
||||
hi def link helpDiffChanged Changed
|
||||
hi def link helpDiffRemoved Removed
|
||||
|
||||
let b:current_syntax = "help"
|
||||
|
||||
|
||||
@@ -87,6 +87,7 @@ syn match htmlTagName contained "[.0-9_a-z]\@<=-[-.0-9_a-z]*\>"
|
||||
" Core Attributes
|
||||
syn keyword htmlArg contained accesskey class contenteditable contextmenu dir
|
||||
syn keyword htmlArg contained draggable hidden id is lang spellcheck style tabindex title translate
|
||||
syn keyword htmlArg contained inert
|
||||
" Event-handler Attributes
|
||||
syn keyword htmlArg contained onabort onblur oncanplay oncanplaythrough onchange
|
||||
syn keyword htmlArg contained onclick oncontextmenu ondblclick ondrag ondragend ondragenter ondragleave ondragover
|
||||
@@ -118,6 +119,8 @@ syn keyword htmlArg contained select
|
||||
syn keyword htmlArg contained seamless srcdoc sandbox allowfullscreen allowusermedia allowpaymentrequest allowpresentation
|
||||
" <picture>
|
||||
syn keyword htmlArg contained srcset sizes
|
||||
" <dialog>
|
||||
syn keyword htmlArg contained open
|
||||
" <a>
|
||||
syn keyword htmlArg contained download media
|
||||
" <script>, <style>
|
||||
|
||||
@@ -31,7 +31,7 @@ syn keyword jinjaSpecial containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested con
|
||||
|
||||
" Filters
|
||||
syn match jinjaOperator "|" containedin=jinjaVarBlock,jinjaTagBlock,jinjaNested contained skipwhite nextgroup=jinjaFilter
|
||||
syn match jinjaFilter contained /[a-zA-Z_][a-zA-Z0-9_]*/
|
||||
syn match jinjaFilter contained /[a-zA-Z_.][a-zA-Z0-9_.]*/
|
||||
syn match jinjaFunction contained /[a-zA-Z_][a-zA-Z0-9_]*/
|
||||
syn match jinjaBlockName contained /[a-zA-Z_][a-zA-Z0-9_]*/
|
||||
|
||||
|
||||
@@ -2,11 +2,12 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'jq', 'syntax/jq.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Vim compiler file
|
||||
" Language: jq
|
||||
" Maintainer: Vito C <vito.blog@gmail.com>
|
||||
" Last Change: 2015 Nov 28
|
||||
|
||||
" Maintainer: Vito <vito.blog@gmail.com>
|
||||
" Last Change: 2024 Apr 17
|
||||
" Upstream: https://github.com/vito-c/jq.vim
|
||||
"
|
||||
" Quit when a (custom) syntax file was already loaded
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
@@ -73,6 +74,9 @@ syntax keyword jqFunction fma
|
||||
" jq SQL-style Operators
|
||||
syntax keyword jqFunction INDEX JOIN IN
|
||||
|
||||
" Macro
|
||||
syntax match jqMacro "@\%(text\|json\|html\|uri\|[ct]sv\|sh\|base64d\?\)\>"
|
||||
|
||||
" Comments
|
||||
syntax match jqComment "#.*" contains=jqTodo
|
||||
|
||||
@@ -87,7 +91,7 @@ syn match jqNameDefinition /`[^`]\+`/ contained nextgroup=jqPostNameDefinition
|
||||
" Strings
|
||||
syn region jqError start=+'+ end=+'\|$\|[;)]\@=+
|
||||
syn region jqString matchgroup=jqQuote
|
||||
\ start=+"+ skip=+\\"+ end=+"+
|
||||
\ start=+"+ skip=+\\[\\"]+ end=+"+
|
||||
\ contains=@Spell,jqInterpolation
|
||||
syn region jqInterpolation matchgroup=jqInterpolationDelimiter
|
||||
\ start=+\%([^\\]\%(\\\\\)*\\\)\@<!\\(+ end=+)+
|
||||
@@ -108,27 +112,23 @@ syn match jqNumber /\<0[dDfFlL]\?\>/ " Just a bare 0
|
||||
syn match jqNumber /\<[1-9]\d*[dDfFlL]\?\>/ " A multi-digit number - octal numbers with leading 0's are deprecated in Scala
|
||||
|
||||
if !exists('jq_quote_highlight')
|
||||
highlight link jqQuote String
|
||||
highlight def link jqQuote String
|
||||
else
|
||||
highlight link jqQuote Type
|
||||
highlight def link jqQuote Type
|
||||
endif
|
||||
|
||||
hi link jqCondtions Boolean
|
||||
hi link jqVariables Identifier
|
||||
hi link jqNameDefinition Function
|
||||
hi link jqTodo Todo
|
||||
hi link jqComment Comment
|
||||
hi link jqKeywords Keyword
|
||||
hi link jqType Type
|
||||
hi link jqOperator Operator
|
||||
hi link jqFunction Function
|
||||
hi link jqError Error
|
||||
hi link jqString String
|
||||
hi link jqInterpolationDelimiter Delimiter
|
||||
"hi link jqStatement Statement
|
||||
hi link jqConditional Conditional
|
||||
"hi link jqRepeat Repeat
|
||||
"hi link jqException Exception
|
||||
"hi link jqInclude Include
|
||||
"hi link jqDecorator Define
|
||||
hi link jqNumber Number
|
||||
hi def link jqCondtions Boolean
|
||||
hi def link jqVariables Identifier
|
||||
hi def link jqNameDefinition Function
|
||||
hi def link jqTodo Todo
|
||||
hi def link jqComment Comment
|
||||
hi def link jqKeywords Keyword
|
||||
hi def link jqType Type
|
||||
hi def link jqOperator Operator
|
||||
hi def link jqFunction Function
|
||||
hi def link jqMacro Macro
|
||||
hi def link jqError Error
|
||||
hi def link jqString String
|
||||
hi def link jqInterpolationDelimiter Delimiter
|
||||
hi def link jqConditional Conditional
|
||||
hi def link jqNumber Number
|
||||
|
||||
@@ -20,96 +20,133 @@ syntax match Number "\<\d*\([Ee][+-]\?\d\+\)\?\>"
|
||||
syntax match Number "\<\d\+[.]\d*\([Ee][+-]\?\d\+\)\?\>"
|
||||
syntax match Number "\<[.]\d\+\([Ee][+-]\?\d\+\)\?\>"
|
||||
|
||||
" builtins
|
||||
syn match Constant "std.acos"
|
||||
syn match Constant "std.asin"
|
||||
syn match Constant "std.atan"
|
||||
syn match Constant "std.ceil"
|
||||
syn match Constant "std.char"
|
||||
syn match Constant "std.codepoint"
|
||||
syn match Constant "std.cos"
|
||||
syn match Constant "std.exp"
|
||||
syn match Constant "std.exponent"
|
||||
syn match Constant "std.extVar"
|
||||
syn match Constant "std.filter"
|
||||
syn match Constant "std.floor"
|
||||
syn match Constant "std.force"
|
||||
syn match Constant "std.length"
|
||||
syn match Constant "std.log"
|
||||
syn match Constant "std.makeArray"
|
||||
syn match Constant "std.mantissa"
|
||||
syn match Constant "std.md5"
|
||||
syn match Constant "std.modulo"
|
||||
syn match Constant "std.native"
|
||||
syn match Constant "std.objectFieldsEx"
|
||||
syn match Constant "std.objectHasEx"
|
||||
syn match Constant "std.pow"
|
||||
syn match Constant "std.primitiveEquals"
|
||||
syn match Constant "std.sin"
|
||||
syn match Constant "std.sqrt"
|
||||
syn match Constant "std.tan"
|
||||
syn match Constant "std.thisFile"
|
||||
syn match Constant "std.type"
|
||||
|
||||
" std.jsonnet
|
||||
" std library (builtin and std.jsonnet)
|
||||
" Generated with:
|
||||
" PROG='std.lines(["syn match Constant \"std.%s\"" % fn for fn in std.objectFieldsAll(std) if fn[0] >= "a" && fn[0] <= "z"])''
|
||||
" go run github.com/google/go-jsonnet/cmd/jsonnet@v0.19.1 --string - <<<"${PROG}"
|
||||
syn match Constant "std.abs"
|
||||
syn match Constant "std.acos"
|
||||
syn match Constant "std.all"
|
||||
syn match Constant "std.any"
|
||||
syn match Constant "std.asciiLower"
|
||||
syn match Constant "std.asciiUpper"
|
||||
syn match Constant "std.asin"
|
||||
syn match Constant "std.assertEqual"
|
||||
syn match Constant "std.atan"
|
||||
syn match Constant "std.base64"
|
||||
syn match Constant "std.base64Decode"
|
||||
syn match Constant "std.base64DecodeBytes"
|
||||
syn match Constant "std.ceil"
|
||||
syn match Constant "std.char"
|
||||
syn match Constant "std.clamp"
|
||||
syn match Constant "std.codepoint"
|
||||
syn match Constant "std.cos"
|
||||
syn match Constant "std.count"
|
||||
syn match Constant "std.decodeUTF8"
|
||||
syn match Constant "std.deepJoin"
|
||||
syn match Constant "std.encodeUTF8"
|
||||
syn match Constant "std.endsWith"
|
||||
syn match Constant "std.equals"
|
||||
syn match Constant "std.escapeStringBash"
|
||||
syn match Constant "std.escapeStringDollars"
|
||||
syn match Constant "std.escapeStringJson"
|
||||
syn match Constant "std.escapeStringPython"
|
||||
syn match Constant "std.exp"
|
||||
syn match Constant "std.exponent"
|
||||
syn match Constant "std.extVar"
|
||||
syn match Constant "std.filter"
|
||||
syn match Constant "std.filterMap"
|
||||
syn match Constant "std.find"
|
||||
syn match Constant "std.findSubstr"
|
||||
syn match Constant "std.flatMap"
|
||||
syn match Constant "std.flattenArrays"
|
||||
syn match Constant "std.floor"
|
||||
syn match Constant "std.foldl"
|
||||
syn match Constant "std.foldr"
|
||||
syn match Constant "std.format"
|
||||
syn match Constant "std.get"
|
||||
syn match Constant "std.id"
|
||||
syn match Constant "std.isArray"
|
||||
syn match Constant "std.isBoolean"
|
||||
syn match Constant "std.isFunction"
|
||||
syn match Constant "std.isNumber"
|
||||
syn match Constant "std.isObject"
|
||||
syn match Constant "std.isString"
|
||||
syn match Constant "std.join"
|
||||
syn match Constant "std.length"
|
||||
syn match Constant "std.lines"
|
||||
syn match Constant "std.log"
|
||||
syn match Constant "std.lstripChars"
|
||||
syn match Constant "std.makeArray"
|
||||
syn match Constant "std.manifestIni"
|
||||
syn match Constant "std.manifestJson"
|
||||
syn match Constant "std.manifestJsonEx"
|
||||
syn match Constant "std.manifestJsonMinified"
|
||||
syn match Constant "std.manifestPython"
|
||||
syn match Constant "std.manifestPythonVars"
|
||||
syn match Constant "std.manifestToml"
|
||||
syn match Constant "std.manifestTomlEx"
|
||||
syn match Constant "std.manifestXmlJsonml"
|
||||
syn match Constant "std.manifestYamlDoc"
|
||||
syn match Constant "std.manifestYamlStream"
|
||||
syn match Constant "std.mantissa"
|
||||
syn match Constant "std.map"
|
||||
syn match Constant "std.mapWithIndex"
|
||||
syn match Constant "std.mapWithKey"
|
||||
syn match Constant "std.max"
|
||||
syn match Constant "std.md5"
|
||||
syn match Constant "std.member"
|
||||
syn match Constant "std.mergePatch"
|
||||
syn match Constant "std.min"
|
||||
syn match Constant "std.mod"
|
||||
syn match Constant "std.modulo"
|
||||
syn match Constant "std.native"
|
||||
syn match Constant "std.objectFields"
|
||||
syn match Constant "std.objectFieldsAll"
|
||||
syn match Constant "std.objectFieldsEx"
|
||||
syn match Constant "std.objectHas"
|
||||
syn match Constant "std.objectHasAll"
|
||||
syn match Constant "std.objectHasEx"
|
||||
syn match Constant "std.objectValues"
|
||||
syn match Constant "std.objectValuesAll"
|
||||
syn match Constant "std.parseHex"
|
||||
syn match Constant "std.parseInt"
|
||||
syn match Constant "std.parseJson"
|
||||
syn match Constant "std.parseOctal"
|
||||
syn match Constant "std.parseYaml"
|
||||
syn match Constant "std.pow"
|
||||
syn match Constant "std.primitiveEquals"
|
||||
syn match Constant "std.prune"
|
||||
syn match Constant "std.range"
|
||||
syn match Constant "std.repeat"
|
||||
syn match Constant "std.resolvePath"
|
||||
syn match Constant "std.reverse"
|
||||
syn match Constant "std.rstripChars"
|
||||
syn match Constant "std.set"
|
||||
syn match Constant "std.setDiff"
|
||||
syn match Constant "std.setInter"
|
||||
syn match Constant "std.setMember"
|
||||
syn match Constant "std.setUnion"
|
||||
syn match Constant "std.sign"
|
||||
syn match Constant "std.sin"
|
||||
syn match Constant "std.slice"
|
||||
syn match Constant "std.sort"
|
||||
syn match Constant "std.split"
|
||||
syn match Constant "std.splitLimit"
|
||||
syn match Constant "std.splitLimitR"
|
||||
syn match Constant "std.sqrt"
|
||||
syn match Constant "std.startsWith"
|
||||
syn match Constant "std.stringChars"
|
||||
syn match Constant "std.strReplace"
|
||||
syn match Constant "std.stringChars"
|
||||
syn match Constant "std.stripChars"
|
||||
syn match Constant "std.substr"
|
||||
syn match Constant "std.tan"
|
||||
syn match Constant "std.thisFile"
|
||||
syn match Constant "std.toString"
|
||||
syn match Constant "std.trace"
|
||||
syn match Constant "std.type"
|
||||
syn match Constant "std.uniq"
|
||||
|
||||
|
||||
syn match Type "\$"
|
||||
|
||||
syn region String start='L\="' skip='\\\\\|\\"' end='"'
|
||||
@@ -120,15 +157,17 @@ syn region String start='|||\s*\n\+\z(\s*\)' end='^\z1\@!\s*|||'
|
||||
syn match Special "%\%(([^)]\+)\)\=[-#0 +]*\d*\%(\.\d\+\)\=[hlL]\=[diouxXeEfFgGcrs%]" contained containedin=String
|
||||
syn match Special "%[-#0 +]*\%(\*\|\d\+\)\=\%(\.\%(\*\|\d\+\)\)\=[hlL]\=[diouxXeEfFgGcrs%]" contained containedin=String
|
||||
|
||||
syn region Comment start="/[*]" end="[*]/"
|
||||
syn match Comment "//.*$"
|
||||
syn match Comment "#.*$"
|
||||
syn region Comment start="/[*]" end="[*]/" contains=@Spell
|
||||
syn match Comment "//.*$" contains=@Spell
|
||||
syn match Comment "#.*$" contains=@Spell
|
||||
|
||||
syn match Keyword "\<[a-zA-Z_][a-z0-9A-Z_]*\s*\(([^)]*)\)\?\s*+\?::\?:\?"
|
||||
|
||||
syn region Object start="{" end="}" fold transparent
|
||||
syn region Object start="(" end=")" fold transparent
|
||||
syn region Object start="=" end=";" fold transparent
|
||||
|
||||
syntax keyword Include import importstr
|
||||
syntax keyword Include import importstr importbin
|
||||
syntax keyword Type function self super
|
||||
syntax keyword Statement assert if then else for in
|
||||
syntax keyword Special local tailstrict
|
||||
|
||||
@@ -162,9 +162,9 @@ exec 'syntax match juliaStructR contained transparent "\%(\<\%(\%(mutable\s\+\
|
||||
syntax match juliaKeyword display "\<\%(return\|local\|global\|const\)\>"
|
||||
syntax match juliaInfixKeyword display "\%(=\s*\)\@<!\<\%(in\|isa\)\>\S\@!\%(\s*=\)\@!"
|
||||
|
||||
" The import/export/using keywords introduce a sort of special parsing
|
||||
" The import/export/using/public keywords introduce a sort of special parsing
|
||||
" environment with its own rules
|
||||
exec 'syntax region juliaImportLine matchgroup=juliaKeyword excludenl start="\<\%(import\|using\|export\)\>" skip="\%(\%(\<\%(import\|using\|export\)\>\)\|^\)\@'.s:d(6).'<=$" end="$" end="\%([])}]\)\@=" contains=@juliaExpressions,juliaAsKeyword,@juliaContinuationItems,juliaMacroName'
|
||||
exec 'syntax region juliaImportLine matchgroup=juliaKeyword excludenl start="\<\%(import\|using\|export\|public\)\>" skip="\%(\%(\<\%(import\|using\|export\|public\)\>\)\|^\)\@'.s:d(6).'<=$" end="$" end="\%([])}]\)\@=" contains=@juliaExpressions,juliaAsKeyword,@juliaContinuationItems,juliaMacroName'
|
||||
syntax match juliaAsKeyword display contained "\<as\>"
|
||||
|
||||
syntax match juliaRepKeyword display "\<\%(break\|continue\)\>"
|
||||
@@ -390,13 +390,13 @@ syntax keyword juliaTodo contained TODO FIXME XXX
|
||||
" detect an end-of-line with only whitespace or comments before it
|
||||
let s:eol = '\s*\%(\%(\%(#=\%(=#\@!\|[^=]\|\n\)\{-}=#\)\s*\)\+\)\?\%(#=\@!.*\)\?\n'
|
||||
|
||||
" a trailing comma, or colon, or an empty line in an import/using/export
|
||||
" a trailing comma, or colon, or an empty line in an import/using/export/public
|
||||
" multi-line command. Used to recognize the as keyword, and for indentation
|
||||
" (this needs to take precedence over normal commas and colons, and comments)
|
||||
syntax cluster juliaContinuationItems contains=juliaContinuationComma,juliaContinuationColon,juliaContinuationNone
|
||||
exec 'syntax region juliaContinuationComma matchgroup=juliaComma contained start=",\ze'.s:eol.'" end="\n\+\ze." contains=@juliaCommentItems'
|
||||
exec 'syntax region juliaContinuationColon matchgroup=juliaColon contained start=":\ze'.s:eol.'" end="\n\+\ze." contains=@juliaCommentItems'
|
||||
exec 'syntax region juliaContinuationNone matchgroup=NONE contained start="\%(\<\%(import\|using\|export\)\>\|^\)\@'.s:d(6).'<=\ze'.s:eol.'" end="\n\+\ze." contains=@juliaCommentItems,juliaAsKeyword'
|
||||
exec 'syntax region juliaContinuationNone matchgroup=NONE contained start="\%(\<\%(import\|using\|export\|public\)\>\|^\)\@'.s:d(6).'<=\ze'.s:eol.'" end="\n\+\ze." contains=@juliaCommentItems,juliaAsKeyword'
|
||||
exec 'syntax match juliaMacroName contained "@' . s:idregex . '\%(\.' . s:idregex . '\)*"'
|
||||
|
||||
" the following are disabled by default, but
|
||||
|
||||
@@ -43,7 +43,7 @@ syntax match juliadocAdmonitionsType "\c\%(danger\|warning\|info\|note\|tip\)\>"
|
||||
syntax region juliadocAdmonitionsTitle matchgroup=juliadocAdmonitionsTitleDelimiter start='"' end='"' display contained oneline
|
||||
|
||||
if &encoding ==# 'utf-8'
|
||||
for [s:from, s:to] in items(julia_latex_symbols#get_dict())
|
||||
for [s:from, s:to] in filter(items(julia_latex_symbols#get_dict()), 'v:val[1] =~# "[[:print:]]"')
|
||||
execute printf('syntax match juliadocCodeLatex "\\%s" conceal cchar=%s display contained', escape(s:from, '~"\.^$[]*'), s:to)
|
||||
endfor
|
||||
endif
|
||||
|
||||
443
syntax/just.vim
443
syntax/just.vim
@@ -6,123 +6,384 @@ endif
|
||||
" Language: Justfile
|
||||
" Maintainer: Noah Bogart <noah.bogart@hey.com>
|
||||
" URL: https://github.com/NoahTheDuke/vim-just.git
|
||||
" Last Change: 2021 May 19
|
||||
" Last Change: 2024 Jul 18
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
endif
|
||||
|
||||
let b:current_syntax = 'just'
|
||||
syntax sync minlines=20 maxlines=200
|
||||
|
||||
syntax match justNoise ","
|
||||
" syncing fromstart prevents mismatched highlighting when jumping around in a justfile
|
||||
" linebreaks= keeps multi-line constructs highlighted correctly while typing
|
||||
syn sync fromstart linebreaks=10
|
||||
|
||||
syntax match justComment "\v#.*$" contains=@Spell
|
||||
syntax match justName "[a-zA-Z_][a-zA-Z0-9_-]*" contained
|
||||
syntax match justFunction "[a-zA-Z_][a-zA-Z0-9_-]*" contained
|
||||
" a-zA-Z0-9_-
|
||||
syn iskeyword @,48-57,_,-
|
||||
|
||||
syntax region justBacktick start=/`/ skip=/\./ end=/`/ contains=justInterpolation
|
||||
syntax region justRawString start=/'/ skip=/\./ end=/'/ contains=justInterpolation
|
||||
syntax region justString start=/"/ skip=/\./ end=/"/ contains=justInterpolation
|
||||
syntax cluster justAllStrings contains=justBacktick,justRawString,justString
|
||||
syn match justComment "#.*$" contains=@Spell,justCommentTodo
|
||||
syn match justCommentInBody '#.*$' contained contains=justCommentTodo,justInterpolation,@justOtherCurlyBraces
|
||||
syn keyword justCommentTodo TODO FIXME XXX contained
|
||||
syn match justShebang "^\s*#!.*$" contains=justInterpolation,@justOtherCurlyBraces
|
||||
syn match justName "\h\k*" contained
|
||||
syn match justFunction "\h\k*" contained
|
||||
|
||||
syntax match justAssignmentOperator ":=" contained
|
||||
syn match justPreBodyComment "\v%(\s|\\\n)*#%([^!].*)?\n%(\t+| +)@=" transparent contained contains=justComment
|
||||
\ nextgroup=@justBodies skipnl
|
||||
syn match justPreBodyCommentError "\v^%(%(\\\n)@3<!#|(\\\n)@3<!%( +\t+|\t+ +)#).*$" contained
|
||||
|
||||
syntax match justParameterOperator "=" contained
|
||||
syntax match justVariadicOperator "*\|+\|\$" contained
|
||||
syntax match justParameter "\v\s\zs%(\*|\+|\$)?[a-zA-Z_][a-zA-Z0-9_-]*\ze\=?" contained contains=justVariadicOperator,justParameterOperator
|
||||
syn region justBacktick start=/`/ end=/`/
|
||||
syn region justBacktick start=/```/ end=/```/
|
||||
syn region justRawString start=/'/ end=/'/
|
||||
syn region justRawString start=/'''/ end=/'''/
|
||||
syn region justString start=/"/ skip=/\\\\\|\\"/ end=/"/ contains=justStringEscapeSequence
|
||||
syn region justString start=/"""/ skip=/\\\\\|\\"/ end=/"""/ contains=justStringEscapeSequence
|
||||
|
||||
syntax match justNextLine "\\\n\s*"
|
||||
syntax match justRecipeAt "^@" contained
|
||||
syntax match justRecipeColon "\v:" contained
|
||||
syn region justShellExpandRawString start=/\v\k@1<!x'/ end=/'/
|
||||
\ contains=justShellExpandVarRaw,justDollarEscape
|
||||
syn region justShellExpandRawString start=/\v\k@1<!x'''/ end=/'''/
|
||||
\ contains=justShellExpandVarRaw,justDollarEscape
|
||||
syn region justShellExpandString
|
||||
\ start=/\v\k@1<!x"/ skip=/\\\\\|\\"/ end=/"/
|
||||
\ contains=justStringEscapeSequence,justShellExpandVar,justDollarEscape
|
||||
syn region justShellExpandString
|
||||
\ start=/\v\k@1<!x"""/ skip=/\\\\\|\\"/ end=/"""/
|
||||
\ contains=justStringEscapeSequence,justShellExpandVar,justDollarEscape
|
||||
|
||||
syntax region justRecipe
|
||||
\ matchgroup=justRecipeBody start="\v^\@?[a-zA-Z_]((:\=)@!.)*\ze:%(\s|\n)"
|
||||
\ matchgroup=justRecipeDeps end="\v:\zs.*\n"
|
||||
\ contains=justFunction,justRecipeColon
|
||||
syn cluster justStringLiterals
|
||||
\ contains=justRawString,justString,justShellExpandRawString,justShellExpandString
|
||||
syn cluster justAllStrings contains=justBacktick,@justStringLiterals
|
||||
|
||||
syntax match justRecipeBody "\v^\@?[a-zA-Z_]((:\=)@!.)*\ze:%(\s|\n)"
|
||||
\ contains=justRecipeAt,justRecipeColon,justParameter,justParameterOperator,justVariadicOperator,@justAllStrings,justComment
|
||||
syn match justRegexReplacement
|
||||
\ /\v,%(\_s|\\\n)*%('\_[^']*'|'''%(\_.%(''')@!)*\_.?''')%(\_s|\\\n)*%(,%(\_s|\\\n)*)?\)/me=e-1
|
||||
\ transparent contained contains=@justExpr,@justStringsWithRegexCapture
|
||||
syn match justRegexReplacement
|
||||
\ /\v,%(\_s|\\\n)*%("%(\_[^"]|\\")*"|"""%(\_.%(""")@!)*\_.?""")%(\_s|\\\n)*%(,%(\_s|\\\n)*)?\)/me=e-1
|
||||
\ transparent contained contains=@justExpr,@justStringsWithRegexCapture
|
||||
|
||||
syntax match justRecipeDeps "\v:[^\=]?.*\n"
|
||||
\ contains=justComment,justFunction,justRecipeColon
|
||||
syn region justRawStrRegexRepl start=/\v'/ end=/'/ contained contains=justRegexCapture,justDollarEscape
|
||||
syn region justRawStrRegexRepl start=/\v'''/ end=/'''/ contained contains=justRegexCapture,justDollarEscape
|
||||
syn region justStringRegexRepl start=/\v"/ skip=/\\\\\|\\"/ end=/"/ contained contains=justStringEscapeSequence,justRegexCapture,justDollarEscape
|
||||
syn region justStringRegexRepl start=/\v"""/ skip=/\\\\\|\\"/ end=/"""/ contained contains=justStringEscapeSequence,justRegexCapture,justDollarEscape
|
||||
syn match justRegexCapture '\v\$%(\w+|\{\w+\})' contained
|
||||
syn cluster justStringsWithRegexCapture contains=justRawStrRegexRepl,justStringRegexRepl
|
||||
|
||||
syntax match justBoolean "\v(true|false)" contained
|
||||
syntax match justKeywords "\v%(export|set)" contained
|
||||
syn cluster justRawStrings contains=justRawString,justRawStrRegexRepl
|
||||
|
||||
syntax match justAssignment "\v^[a-zA-Z_][a-zA-Z0-9_-]*\s+:\=" transparent contains=justAssignmentOperator
|
||||
syn region justStringInsideBody start=/\v\\@1<!'/ end=/'/ contained contains=justInterpolation,@justOtherCurlyBraces,justIndentError
|
||||
syn region justStringInsideBody start=/\v\\@1<!"/ skip=/\v\\@1<!\\"/ end=/"/ contained contains=justInterpolation,@justOtherCurlyBraces,justIndentError
|
||||
syn region justStringInShebangBody start=/\v\\@1<!'/ end=/'/ contained contains=justInterpolation,@justOtherCurlyBraces,justShebangIndentError
|
||||
syn region justStringInShebangBody start=/\v\\@1<!"/ skip=/\v\\@1<!\\"/ end=/"/ contained contains=justInterpolation,@justOtherCurlyBraces,justShebangIndentError
|
||||
|
||||
syntax match justSetKeywords "\v%(dotenv-load|export|positional-arguments|shell)" contained
|
||||
syntax match justSetDefinition "\v^set\s+%(dotenv-load|export|positional-arguments)%(\s+:\=\s+%(true|false))?$"
|
||||
\ contains=justSetKeywords,justKeywords,justAssignmentOperator,justBoolean
|
||||
\ transparent
|
||||
syn match justStringEscapeSequence '\v\\[tnr"\\]' contained
|
||||
|
||||
syntax match justSetBraces "\v[\[\]]" contained
|
||||
syntax region justSetDefinition
|
||||
\ start="\v^set\s+shell\s+:\=\s+\["
|
||||
\ end="]"
|
||||
\ contains=justSetKeywords,justKeywords,justAssignmentOperator,@justAllStrings,justNoise,justSetBraces
|
||||
\ transparent skipwhite oneline
|
||||
syn match justAssignmentOperator "\V:=" contained
|
||||
|
||||
syntax region justAlias
|
||||
\ matchgroup=justAlias start="\v^alias\ze\s+[a-zA-Z_][a-zA-Z0-9_-]*\s+:\="
|
||||
\ end="$"
|
||||
\ contains=justKeywords,justFunction,justAssignmentOperator
|
||||
\ oneline skipwhite
|
||||
syn region justExprParen start='\V(' end='\V)' transparent contains=@justExpr
|
||||
syn region justExprParenInInterp start='\V(' end='\V)' transparent contained contains=@justExprInInterp
|
||||
|
||||
syntax region justExport
|
||||
\ matchgroup=justExport start="\v^export\ze\s+[a-zA-Z_][a-zA-Z0-9_-]*%(\s+:\=)?"
|
||||
\ end="$"
|
||||
\ contains=justKeywords,justAssignmentOperator
|
||||
\ transparent oneline skipwhite
|
||||
syn match justRecipeAt "^@" contained
|
||||
syn match justRecipeColon ":" contained
|
||||
|
||||
syntax keyword justConditional if else
|
||||
syntax region justConditionalBraces start="\v[^{]\{[^{]" end="}" contained oneline contains=ALLBUT,justConditionalBraces,justBodyText
|
||||
syn region justRecipeAttributes
|
||||
\ matchgroup=justRecipeAttr start='\v^%(\\\n)@3<!\[' end='\V]'
|
||||
\ contains=justRecipeAttr,justRecipeAttrSep,justRecipeAttrArgs,justRecipeAttrArgError,justRecipeAttrValueShort
|
||||
|
||||
syntax match justBodyText "[^[:space:]#]\+" contained
|
||||
syntax match justLineLeadingSymbol "\v^\s+\zs%(\@|-)" contained
|
||||
syntax match justLineContinuation "\\$" contained
|
||||
syn keyword justRecipeAttr
|
||||
\ confirm doc extension group linux macos no-cd no-exit-message no-quiet positional-arguments private script unix windows
|
||||
\ contained
|
||||
syn match justRecipeAttrSep ',' contained
|
||||
syn match justRecipeAttrValueShort '\v:%(\_s|\\\n)*' transparent contained
|
||||
\ contains=justRecipeAttrValueColon nextgroup=@justStringLiterals,justInvalidAttrValue
|
||||
syn match justRecipeAttrValueColon '\V:' contained
|
||||
syn region justRecipeAttrArgs matchgroup=justRecipeAttr start='\V(' end='\V)' contained
|
||||
\ contains=@justStringLiterals
|
||||
syn match justRecipeAttrArgError '\v\(%(\s|\\?\n)*\)' contained
|
||||
|
||||
syntax region justBody transparent matchgroup=justLineLeadingSymbol start="\v^\s+\zs[@-]"hs=e-1 matchgroup=justBodyText start="\v^\s+\zs[^[:space:]@#-]"hs=e-1 end="\n" skipwhite oneline contains=justInterpolation,justBodyText,justLineLeadingSymbol,justLineContinuation,justComment
|
||||
syn match justInvalidAttrValue '\v[^"',]["']@![^,\]]*' contained
|
||||
|
||||
syntax region justInterpolation start="{{" end="}}" contained contains=ALLBUT,justInterpolation,justFunction,justBodyText
|
||||
syn match justRecipeDeclSimple "\v^\@?\h\k*%(%(\s|\\\n)*:\=@!)@="
|
||||
\ transparent contains=justRecipeName
|
||||
\ nextgroup=justRecipeNoDeps,justRecipeDeps
|
||||
|
||||
syntax match justBuiltInFunctionParens "[()]" contained
|
||||
syntax match justBuiltInFunctions "\v%(arch|os|os_family|invocation_directory|justfile|justfile_directory|just_executable)\ze\(\)" contains=justBuiltInFunctions
|
||||
syntax region justBuiltInFunctions transparent matchgroup=justBuiltInFunctions start="\v%(env_var_or_default|env_var)\ze\(" end=")" oneline contains=@justAllStrings,justBuiltInFunctionParens,justNoise
|
||||
syn region justRecipeDeclComplex start="\v^\@?\h\k*%(\s|\\\n)+%([+*$]+%(\s|\\\n)*)*\h" end="\v%(:\=@!)@=|$"
|
||||
\ transparent
|
||||
\ contains=justRecipeName,justParameter
|
||||
\ nextgroup=justRecipeNoDeps,justRecipeDeps
|
||||
|
||||
syntax match justBuiltInFunctionsError "\v%(arch|os|os_family|invocation_directory|justfile|justfile_directory|just_executable)\(.+\)"
|
||||
syn match justRecipeName "\v^\@?\h\k*" transparent contained contains=justRecipeAt,justFunction
|
||||
|
||||
syntax match justOperator "\v%(\=\=|!\=|\+)"
|
||||
syn match justParameter "\v%(\s|\\\n)@3<=%(%([*+]%(\s|\\\n)*)?%(\$%(\s|\\\n)*)?|\$%(\s|\\\n)*[*+]%(\s|\\\n)*)\h\k*"
|
||||
\ transparent contained
|
||||
\ contains=justName,justVariadicPrefix,justParamExport,justVariadicPrefixError
|
||||
\ nextgroup=justPreParamValue
|
||||
|
||||
highlight default link justAlias Keyword
|
||||
highlight default link justAssignmentOperator Operator
|
||||
highlight default link justBacktick String
|
||||
highlight default link justBodyText Constant
|
||||
highlight default link justBoolean Boolean
|
||||
highlight default link justBuiltInFunctions Function
|
||||
highlight default link justBuiltInFunctionsError Error
|
||||
highlight default link justBuiltInFunctionParens Delimiter
|
||||
highlight default link justComment Comment
|
||||
highlight default link justConditional Conditional
|
||||
highlight default link justConditionalBraces Delimiter
|
||||
highlight default link justExport Keyword
|
||||
highlight default link justFunction Function
|
||||
highlight default link justInterpolation Delimiter
|
||||
highlight default link justKeywords Keyword
|
||||
highlight default link justLineContinuation Special
|
||||
highlight default link justLineLeadingSymbol Special
|
||||
highlight default link justName Identifier
|
||||
highlight default link justNextLine Special
|
||||
highlight default link justOperator Operator
|
||||
highlight default link justParameter Identifier
|
||||
highlight default link justParameterOperator Operator
|
||||
highlight default link justRawString String
|
||||
highlight default link justRecipe Function
|
||||
highlight default link justRecipeAt Special
|
||||
highlight default link justRecipeBody Function
|
||||
highlight default link justRecipeColon Operator
|
||||
highlight default link justSetDefinition Keyword
|
||||
highlight default link justSetKeywords Keyword
|
||||
highlight default link justString String
|
||||
highlight default link justVariadicOperator Operator
|
||||
syn match justPreParamValue '\v%(\s|\\\n)*\=%(\s|\\\n)*'
|
||||
\ contained transparent
|
||||
\ contains=justParameterOperator
|
||||
\ nextgroup=justParamValue
|
||||
|
||||
syn region justParamValue contained transparent
|
||||
\ start="\v\S"
|
||||
\ skip="\\\n"
|
||||
\ end="\v%(\s|^)%([*+$:]|\h)@=|:@=|$"
|
||||
\ contains=@justAllStrings,justRecipeParenDefault,@justExprFunc
|
||||
\ nextgroup=justParameterError
|
||||
syn match justParameterOperator "\V=" contained
|
||||
|
||||
syn match justVariadicPrefix "\v%(\s|\\\n)@3<=[*+]%(%(\s|\\\n)*\$?%(\s|\\\n)*\h)@=" contained
|
||||
syn match justParamExport '\V$' contained
|
||||
syn match justVariadicPrefixError "\v\$%(\s|\\\n)*[*+]" contained
|
||||
|
||||
syn match justParameterError "\v%(%([+*$]+%(\s|\\\n)*)*\h\k*)@>%(%(\s|\\\n)*\=)@!" contained
|
||||
|
||||
syn region justRecipeParenDefault
|
||||
\ matchgroup=justRecipeDepParamsParen start='\v%(\=%(\s|\\\n)*)@<=\(' end='\V)'
|
||||
\ contained
|
||||
\ contains=@justExpr
|
||||
syn match justRecipeSubsequentDeps '\V&&' contained
|
||||
|
||||
syn match justRecipeNoDeps '\v:%(\s|\\\n)*\n|:#@=|:%(\s|\\\n)+#@='
|
||||
\ transparent contained
|
||||
\ contains=justRecipeColon
|
||||
\ nextgroup=justPreBodyComment,justPreBodyCommentError,@justBodies
|
||||
syn region justRecipeDeps start="\v:%(\s|\\\n)*%([a-zA-Z_(]|\&\&)" skip='\\\n' end="\v#@=|\\@1<!\n"
|
||||
\ transparent contained
|
||||
\ contains=justFunction,justRecipeColon,justRecipeSubsequentDeps,justRecipeParamDep
|
||||
\ nextgroup=justPreBodyComment,justPreBodyCommentError,@justBodies
|
||||
|
||||
syn region justRecipeParamDep contained transparent
|
||||
\ matchgroup=justRecipeDepParamsParen
|
||||
\ start="\V("
|
||||
\ end="\V)"
|
||||
\ contains=justRecipeDepParenName,@justExpr
|
||||
|
||||
syn keyword justBoolean true false contained
|
||||
|
||||
syn match justAssignment "\v^\h\k*%(\s|\\\n)*:\=" transparent contains=justAssignmentOperator
|
||||
|
||||
syn match justSet '\v^set' contained
|
||||
syn keyword justSetKeywords
|
||||
\ allow-duplicate-recipes allow-duplicate-variables dotenv-load dotenv-filename dotenv-path dotenv-required export fallback ignore-comments positional-arguments quiet shell tempdir unstable windows-shell
|
||||
\ contained
|
||||
syn keyword justSetDeprecatedKeywords windows-powershell contained
|
||||
syn match justBooleanSet "\v^set%(\s|\\\n)+%(allow-duplicate-%(recip|variabl)es|dotenv-%(loa|require)d|export|fallback|ignore-comments|positional-arguments|quiet|unstable|windows-powershell)%(%(\s|\\\n)*:\=%(\s|\\\n)*%(true|false))?$"
|
||||
\ contains=justSet,justSetKeywords,justSetDeprecatedKeywords,justAssignmentOperator,justBoolean
|
||||
\ transparent
|
||||
|
||||
syn match justStringSet '\v^set%(\s|\\\n)+\k+%(\s|\\\n)*:\=%(\s|\\\n)*%(x?['"])@=' transparent contains=justSet,justSetKeywords,justAssignmentOperator
|
||||
|
||||
syn match justShellSet
|
||||
\ "\v^set%(\s|\\\n)+%(windows-)?shell%(\s|\\\n)*:\=%(\s|\\\n)*\[@="
|
||||
\ contains=justSet,justSetKeywords,justAssignmentOperator
|
||||
\ transparent skipwhite
|
||||
\ nextgroup=justShellSetValue
|
||||
syn region justShellSetValue
|
||||
\ start='\V[' end='\V]'
|
||||
\ contained
|
||||
\ contains=@justStringLiterals,justShellSetError
|
||||
|
||||
syn match justShellSetError '\v\k+['"]@!' contained
|
||||
|
||||
syn match justAlias '\v^alias' contained
|
||||
syn match justAliasDecl "\v^alias%(\s|\\\n)+\h\k*%(\s|\\\n)*:\=%(\s|\\\n)*"
|
||||
\ transparent
|
||||
\ contains=justAlias,justFunction,justAssignmentOperator
|
||||
\ nextgroup=justAliasRes
|
||||
syn match justAliasRes '\v\h\k*%(\s|\\\n)*%(#@=|$)' contained transparent contains=justFunction
|
||||
|
||||
syn match justExportedAssignment "\v^export%(\s|\\\n)+\h\k*\s*:\=" transparent
|
||||
\ contains=justExport,justAssignmentOperator
|
||||
|
||||
syn match justExport '\v^export' contained
|
||||
|
||||
syn match justUnexportStatement '\v^unexport%(\s|\\\n)+\w+\s*$' contains=justUnexport
|
||||
syn match justUnexport '\v^unexport' contained
|
||||
|
||||
syn keyword justConditional if else
|
||||
syn region justConditionalBraces start="\v\{\{@!" end="\v\}@=" transparent contains=@justExpr
|
||||
syn region justConditionalBracesInInterp start="\v\{\{@!" end="\v\}@=" transparent contained contains=@justExprInInterp
|
||||
|
||||
syn match justLineLeadingSymbol "\v^%(\\\n)@3<!\s+\zs%(\@-|-\@|\@|-)"
|
||||
|
||||
syn match justLineContinuation "\\$"
|
||||
\ containedin=ALLBUT,justComment,justCommentInBody,justShebang,@justRawStrings,justPreBodyCommentError,justRecipeAttrArgError,justShellExpandRawDefaultValue
|
||||
|
||||
syn region justBody
|
||||
\ start=/\v^\z( +|\t+)%(#!)@!\S/
|
||||
\ skip='\v\\\n|\n\s*$'
|
||||
\ end="\v\n\z1@!|%(^\S)@2<=\_.@="
|
||||
\ contains=justInterpolation,@justOtherCurlyBraces,justLineLeadingSymbol,justCommentInBody,justStringInsideBody,justIndentError
|
||||
\ contained
|
||||
|
||||
syn region justShebangBody
|
||||
\ start="\v^\z( +|\t+)#!"
|
||||
\ skip='\v\\\n|\n\s*$'
|
||||
\ end="\v\n\z1@!|%(^\S)@2<=\_.@="
|
||||
\ contains=justInterpolation,@justOtherCurlyBraces,justCommentInBody,justShebang,justStringInShebangBody,justShebangIndentError
|
||||
\ contained
|
||||
|
||||
syn cluster justBodies contains=justBody,justShebangBody
|
||||
|
||||
syn match justIndentError '\v^%(\\\n)@3<!%( +\zs\t|\t+\zs )\s*\S@='
|
||||
syn match justShebangIndentError '\v^ +\zs\t\s*\S@='
|
||||
|
||||
syn region justInterpolation
|
||||
\ matchgroup=justInterpolationDelim
|
||||
\ start="\v\{\{\{@!" end="\v%(%(\\\n\s|\S)\s*)@<=\}\}|$"
|
||||
\ matchgroup=justInterpError end='^\S'
|
||||
\ contained
|
||||
\ contains=@justExprInInterp
|
||||
|
||||
syn match justBadCurlyBraces '\v\{{3}\ze[^{]' contained
|
||||
syn match justCurlyBraces '\v\{{4}' contained
|
||||
syn match justBadCurlyBraces '\v\{{5}\ze[^{]' contained
|
||||
syn cluster justOtherCurlyBraces contains=justCurlyBraces,justBadCurlyBraces
|
||||
|
||||
syn match justFunctionCall "\v\w+%(\s|\\\n)*\(@=" transparent contains=justBuiltInFunction
|
||||
|
||||
" error() is intentionally not included in this list
|
||||
syn keyword justBuiltInFunction
|
||||
\ absolute_path append arch blake3 blake3_file cache_dir cache_directory canonicalize capitalize choose clean config_dir config_directory config_local_dir config_local_directory data_dir data_directory data_local_dir data_local_directory datetime datetime_utc encode_uri_component env env_var env_var_or_default executable_dir executable_directory extension file_name file_stem home_dir home_directory invocation_dir invocation_dir_native invocation_directory invocation_directory_native is_dependency join just_executable just_pid justfile justfile_dir justfile_directory kebabcase lowercamelcase lowercase module_dir module_directory module_file num_cpus os os_family parent_dir parent_directory path_exists prepend quote replace replace_regex semver_matches sha256 sha256_file shell shoutykebabcase shoutysnakecase snakecase source_dir source_directory source_file titlecase trim trim_end trim_end_match trim_end_matches trim_start trim_start_match trim_start_matches uppercamelcase uppercase uuid without_extension
|
||||
\ contained
|
||||
|
||||
syn match justUserDefinedError "\v%(assert|error)%(%(\s|\\\n)*\()@="
|
||||
|
||||
syn match justReplaceRegex '\vreplace_regex%(\s|\\\n)*\(@=' transparent contains=justBuiltInFunction nextgroup=justReplaceRegexCall
|
||||
syn match justReplaceRegexInInterp '\vreplace_regex%(\s|\\\n)*\(@=' transparent contained contains=justBuiltInFunction nextgroup=justReplaceRegexCallInInterp
|
||||
|
||||
syn region justReplaceRegexCall
|
||||
\ matchgroup=justReplaceRegexCall
|
||||
\ start='\V(' end='\V)'
|
||||
\ transparent contained
|
||||
\ contains=@justExpr,justRegexReplacement
|
||||
syn region justReplaceRegexCallInInterp
|
||||
\ matchgroup=justReplaceRegexCall
|
||||
\ start='\V(' end='\V)'
|
||||
\ transparent contained
|
||||
\ contains=@justExprInInterp,justRegexReplacement
|
||||
|
||||
syn match justParameterLineContinuation '\v%(\s|\\\n)*' contained nextgroup=justParameterError
|
||||
|
||||
syn match justRecipeDepParenName '\v%(\(%(\s|\\\n)*)@<=\h\k*'
|
||||
\ transparent contained
|
||||
\ contains=justFunction
|
||||
|
||||
syn cluster justBuiltInFunctions contains=justFunctionCall,justUserDefinedError
|
||||
|
||||
syn match justOperator "\V=="
|
||||
syn match justOperator "\V!="
|
||||
syn match justOperator "\V=~"
|
||||
syn match justOperator "\V+"
|
||||
syn match justOperator "\V/"
|
||||
|
||||
syn keyword justConstant
|
||||
\ HEX HEXLOWER HEXUPPER
|
||||
|
||||
syn match justShellExpandVarRaw '\v\$%(\{\_[^}]*\}|\w+)' contained contains=justShellExpandRawDefault
|
||||
syn match justShellExpandRawDefault '\V:-' contained nextgroup=justShellExpandRawDefaultValue
|
||||
syn match justShellExpandRawDefaultValue '\v\_[^}]*' contained
|
||||
syn match justShellExpandVar '\v\$%(\{\_[^}]*\}|%(\w|\\\n\s*)+)' contained contains=justShellExpandDefault,justStringEscapeSequence
|
||||
syn match justShellExpandDefault '\V:-' contained nextgroup=justShellExpandDefaultValue
|
||||
syn match justShellExpandDefaultValue '\v\_[^}]*' contained contains=justStringEscapeSequence
|
||||
|
||||
syn match justDollarEscape '\V$$' contained
|
||||
|
||||
syn cluster justExprBase contains=@justAllStrings,@justBuiltInFunctions,justConditional,justOperator,justConstant
|
||||
syn cluster justExpr contains=@justExprBase,justExprParen,justConditionalBraces,justReplaceRegex
|
||||
syn cluster justExprInInterp contains=@justExprBase,justName,justExprParenInInterp,justConditionalBracesInInterp,justReplaceRegexInInterp
|
||||
|
||||
syn cluster justExprFunc contains=@justBuiltInFunctions,justReplaceRegex,justExprParen
|
||||
|
||||
syn match justImport /\v^import%(%(\s|\\\n)*\?|%(\s|\\\n)+%(x?['"])@=)/ transparent
|
||||
\ contains=justImportStatement,justOptionalFile
|
||||
syn match justImportStatement '^import' contained
|
||||
|
||||
syn match justOldInclude "^!include"
|
||||
|
||||
syn match justModule /\v^mod%(%(\s|\\\n)*\?)?%(\s|\\\n)+\h\k*\s*%($|%(\s|\\\n)*%(x?['"]|#)@=)/
|
||||
\ transparent contains=justModStatement,justName,justOptionalFile
|
||||
syn match justModStatement '^mod' contained
|
||||
|
||||
syn match justOptionalFile '\V?' contained
|
||||
|
||||
" Most linked colorscheme colors are chosen based on semantics of the color name.
|
||||
" Some are for parity with other syntax files (for example, Number for recipe body highlighting
|
||||
" is to align with the make.vim distributed with Vim).
|
||||
" Deprecated `just` syntaxes are highlighted as Underlined.
|
||||
"
|
||||
" Colors are linked 'def'(ault) so that users who prefer other colors
|
||||
" can override them, e.g. in ~/.vim/after/syntax/just.vim
|
||||
"
|
||||
" Note that vim-just's highlight groups are an implementation detail and may be subject to change.
|
||||
|
||||
" The list of highlight links is sorted alphabetically.
|
||||
|
||||
hi def link justAlias Statement
|
||||
hi def link justAssignmentOperator Operator
|
||||
hi def link justBacktick Special
|
||||
hi def link justBadCurlyBraces Error
|
||||
hi def link justBody Number
|
||||
hi def link justBoolean Boolean
|
||||
hi def link justBuiltInFunction Function
|
||||
hi def link justComment Comment
|
||||
hi def link justCommentInBody Comment
|
||||
hi def link justCommentTodo Todo
|
||||
hi def link justConditional Conditional
|
||||
hi def link justConstant Constant
|
||||
hi def link justCurlyBraces Special
|
||||
hi def link justDollarEscape Special
|
||||
hi def link justExport Statement
|
||||
hi def link justFunction Function
|
||||
hi def link justImportStatement Include
|
||||
hi def link justIndentError Error
|
||||
hi def link justInterpError Error
|
||||
hi def link justInterpolation Normal
|
||||
hi def link justInterpolationDelim Delimiter
|
||||
hi def link justInvalidAttrValue Error
|
||||
hi def link justLineContinuation Special
|
||||
hi def link justLineLeadingSymbol Special
|
||||
hi def link justModStatement Keyword
|
||||
hi def link justName Identifier
|
||||
hi def link justOldInclude Error
|
||||
hi def link justOperator Operator
|
||||
hi def link justOptionalFile Conditional
|
||||
hi def link justParameterError Error
|
||||
hi def link justParameterOperator Operator
|
||||
hi def link justParamExport Statement
|
||||
hi def link justPreBodyCommentError Error
|
||||
hi def link justRawString String
|
||||
hi def link justRawStrRegexRepl String
|
||||
hi def link justRecipeAt Special
|
||||
hi def link justRecipeAttr Type
|
||||
hi def link justRecipeAttrArgError Error
|
||||
hi def link justRecipeAttrSep Operator
|
||||
hi def link justRecipeAttrValueColon Operator
|
||||
hi def link justRecipeColon Operator
|
||||
hi def link justRecipeDepParamsParen Delimiter
|
||||
hi def link justRecipeSubsequentDeps Operator
|
||||
hi def link justRegexCapture Identifier
|
||||
hi def link justSet Statement
|
||||
hi def link justSetDeprecatedKeywords Underlined
|
||||
hi def link justSetKeywords Keyword
|
||||
hi def link justShebang SpecialComment
|
||||
hi def link justShebangBody Number
|
||||
hi def link justShebangIndentError Error
|
||||
hi def link justShellExpandDefault Operator
|
||||
hi def link justShellExpandDefaultValue Character
|
||||
hi def link justShellExpandRawDefault Operator
|
||||
hi def link justShellExpandRawDefaultValue Character
|
||||
hi def link justShellExpandRawString String
|
||||
hi def link justShellExpandString String
|
||||
hi def link justShellExpandVar PreProc
|
||||
hi def link justShellExpandVarRaw PreProc
|
||||
hi def link justShellSetError Error
|
||||
hi def link justString String
|
||||
hi def link justStringEscapeSequence Special
|
||||
hi def link justStringInShebangBody String
|
||||
hi def link justStringInsideBody String
|
||||
hi def link justStringRegexRepl String
|
||||
hi def link justUnexport Statement
|
||||
hi def link justUserDefinedError Exception
|
||||
hi def link justVariadicPrefix Statement
|
||||
hi def link justVariadicPrefixError Error
|
||||
|
||||
@@ -6,7 +6,7 @@ endif
|
||||
" Language: Kotlin
|
||||
" Maintainer: Alexander Udalov
|
||||
" URL: https://github.com/udalov/kotlin-vim
|
||||
" Last Change: 7 November 2021
|
||||
" Last Change: 30 December 2022
|
||||
|
||||
if exists('b:current_syntax')
|
||||
finish
|
||||
@@ -27,27 +27,30 @@ syn keyword ktType AbstractCollection AbstractCoroutineContextElement AbstractCo
|
||||
syn keyword ktType AbstractMap AbstractMutableCollection AbstractMutableList AbstractMutableMap AbstractMutableSet AbstractSet AccessDeniedException Accessor Annotation
|
||||
syn keyword ktType AnnotationRetention AnnotationTarget Any Appendable ArithmeticException Array ArrayDeque ArrayList AssertionError Boolean BooleanArray BooleanIterator
|
||||
syn keyword ktType BuilderInference Byte ByteArray ByteIterator CName CallsInPlace CancellationException Char CharArray CharCategory CharDirectionality CharIterator CharProgression
|
||||
syn keyword ktType CharRange CharSequence CharacterCodingException Charsets ClassCastException Cloneable ClosedFloatingPointRange ClosedRange Collection Comparable Comparator
|
||||
syn keyword ktType ConcurrentModificationException ConditionalEffect Continuation ContinuationInterceptor ContractBuilder CoroutineContext DeepRecursiveFunction DeepRecursiveScope
|
||||
syn keyword ktType Delegates Deprecated DeprecatedSinceKotlin DeprecationLevel Destructured Double DoubleArray DoubleIterator DslMarker Duration DurationUnit Effect Element
|
||||
syn keyword ktType EmptyCoroutineContext Entry Enum Error Exception Experimental ExperimentalContracts ExperimentalJsExport ExperimentalMultiplatform ExperimentalStdlibApi
|
||||
syn keyword ktType ExperimentalTime ExperimentalTypeInference ExperimentalUnsignedTypes ExtensionFunctionType FileAlreadyExistsException FileSystemException FileTreeWalk
|
||||
syn keyword ktType FileWalkDirection Float FloatArray FloatIterator Function Function0 Function1 Function10 Function11 Function12 Function13 Function14 Function15 Function16
|
||||
syn keyword ktType Function17 Function18 Function19 Function2 Function20 Function21 Function22 Function3 Function4 Function5 Function6 Function7 Function8 Function9 FunctionN
|
||||
syn keyword ktType Getter Grouping HashMap HashSet IllegalArgumentException IllegalStateException IndexOutOfBoundsException IndexedValue Int IntArray IntIterator IntProgression
|
||||
syn keyword ktType IntRange InvocationKind Iterable Iterator JsEagerInitialization JsExport JsName JvmDefault JvmDefaultWithoutCompatibility JvmField JvmInline JvmMultifileClass
|
||||
syn keyword ktType JvmName JvmOverloads JvmRecord JvmStatic JvmSuppressWildcards JvmSynthetic JvmWildcard KAnnotatedElement KCallable KClass KClassifier KDeclarationContainer
|
||||
syn keyword ktType KFunction KMutableProperty KMutableProperty0 KMutableProperty1 KMutableProperty2 KParameter KProperty KProperty0 KProperty1 KProperty2 KType KTypeParameter
|
||||
syn keyword ktType KTypeProjection KVariance KVisibility Key Kind KotlinNullPointerException KotlinReflectionNotSupportedError KotlinVersion Lazy LazyThreadSafetyMode Level
|
||||
syn keyword ktType LinkedHashMap LinkedHashSet List ListIterator Long LongArray LongIterator LongProgression LongRange Map MatchGroup MatchGroupCollection MatchNamedGroupCollection
|
||||
syn keyword ktType MatchResult Metadata Monotonic MustBeDocumented MutableCollection MutableEntry MutableIterable MutableIterator MutableList MutableListIterator MutableMap
|
||||
syn keyword ktType MutableSet NoSuchElementException NoSuchFileException NoWhenBranchMatchedException NotImplementedError Nothing NullPointerException Number NumberFormatException
|
||||
syn keyword ktType ObservableProperty OnErrorAction OptIn OptionalExpectation OverloadResolutionByLambdaReturnType Pair ParameterName PropertyDelegateProvider PublishedApi
|
||||
syn keyword ktType PurelyImplements Random RandomAccess ReadOnlyProperty ReadWriteProperty Regex RegexOption Repeatable ReplaceWith RequiresOptIn RestrictsSuspension Result
|
||||
syn keyword ktType Retention Returns ReturnsNotNull RuntimeException Sequence SequenceScope Set Setter SharedImmutable Short ShortArray ShortIterator SimpleEffect SinceKotlin
|
||||
syn keyword ktType Strictfp String StringBuilder Suppress Synchronized Target TestTimeSource ThreadLocal Throwable Throws TimeMark TimeSource TimedValue Transient Triple
|
||||
syn keyword ktType TypeCastException Typography UByte UByteArray UByteIterator UInt UIntArray UIntIterator UIntProgression UIntRange ULong ULongArray ULongIterator ULongProgression
|
||||
syn keyword ktType ULongRange UShort UShortArray UShortIterator UninitializedPropertyAccessException Unit UnsafeVariance UnsupportedOperationException UseExperimental Volatile
|
||||
syn keyword ktType CharRange CharSequence CharacterCodingException Charsets ClassCastException Cloneable ClosedFloatingPointRange ClosedRange Collection Comparable
|
||||
syn keyword ktType ComparableTimeMark Comparator ConcurrentModificationException ConditionalEffect ContextFunctionTypeParams Continuation ContinuationInterceptor ContractBuilder
|
||||
syn keyword ktType CopyActionContext CopyActionResult CoroutineContext DeepRecursiveFunction DeepRecursiveScope Delegates Deprecated DeprecatedSinceKotlin DeprecationLevel
|
||||
syn keyword ktType Destructured Double DoubleArray DoubleIterator DslMarker Duration DurationUnit Effect Element EmptyCoroutineContext Entry Enum EnumEntries Error Exception
|
||||
syn keyword ktType ExperimentalContracts ExperimentalJsExport ExperimentalMultiplatform ExperimentalObjCName ExperimentalObjCRefinement ExperimentalPathApi ExperimentalStdlibApi
|
||||
syn keyword ktType ExperimentalSubclassOptIn ExperimentalTime ExperimentalTypeInference ExperimentalUnsignedTypes ExtensionFunctionType FileAlreadyExistsException
|
||||
syn keyword ktType FileSystemException FileTreeWalk FileVisitorBuilder FileWalkDirection Float FloatArray FloatIterator FreezingIsDeprecated Function Function0 Function1 Function10
|
||||
syn keyword ktType Function11 Function12 Function13 Function14 Function15 Function16 Function17 Function18 Function19 Function2 Function20 Function21 Function22 Function3 Function4
|
||||
syn keyword ktType Function5 Function6 Function7 Function8 Function9 FunctionN Getter Grouping HashMap HashSet HiddenFromObjC HidesFromObjC Ignore IllegalArgumentException
|
||||
syn keyword ktType IllegalStateException IndexOutOfBoundsException IndexedValue Int IntArray IntIterator IntProgression IntRange InvocationKind Iterable Iterator JsExport JsName
|
||||
syn keyword ktType JvmDefault JvmDefaultWithCompatibility JvmDefaultWithoutCompatibility JvmField JvmInline JvmMultifileClass JvmName JvmOverloads JvmRecord JvmSerializableLambda
|
||||
syn keyword ktType JvmStatic JvmSuppressWildcards JvmSynthetic JvmWildcard KAnnotatedElement KCallable KClass KClassifier KDeclarationContainer KFunction KMutableProperty
|
||||
syn keyword ktType KMutableProperty0 KMutableProperty1 KMutableProperty2 KParameter KProperty KProperty0 KProperty1 KProperty2 KType KTypeParameter KTypeProjection KVariance
|
||||
syn keyword ktType KVisibility Key Kind KotlinNullPointerException KotlinReflectionNotSupportedError KotlinVersion Lazy LazyThreadSafetyMode Level LinkedHashMap LinkedHashSet List
|
||||
syn keyword ktType ListIterator Long LongArray LongIterator LongProgression LongRange Map MatchGroup MatchGroupCollection MatchNamedGroupCollection MatchResult Metadata Monotonic
|
||||
syn keyword ktType MustBeDocumented MutableCollection MutableEntry MutableIterable MutableIterator MutableList MutableListIterator MutableMap MutableSet NoSuchElementException
|
||||
syn keyword ktType NoSuchFileException NoWhenBranchMatchedException NotImplementedError Nothing NullPointerException Number NumberFormatException ObjCName ObservableProperty
|
||||
syn keyword ktType OnErrorAction OnErrorResult OpenEndRange OptIn OptionalExpectation OverloadResolutionByLambdaReturnType Pair ParameterName PathWalkOption
|
||||
syn keyword ktType PropertyDelegateProvider PublishedApi PurelyImplements Random RandomAccess ReadOnlyProperty ReadWriteProperty RefinesInSwift Regex RegexOption Repeatable
|
||||
syn keyword ktType ReplaceWith RequiresOptIn RestrictsSuspension Result Retention Returns ReturnsNotNull RuntimeException Sequence SequenceScope Set Setter SharedImmutable Short
|
||||
syn keyword ktType ShortArray ShortIterator ShouldRefineInSwift SimpleEffect SinceKotlin Strictfp String StringBuilder SubclassOptInRequired Suppress Synchronized Target
|
||||
syn keyword ktType TestTimeSource ThreadLocal Throwable Throws TimeMark TimeSource TimedValue Transient Triple TypeCastException Typography UByte UByteArray UInt UIntArray
|
||||
syn keyword ktType UIntProgression UIntRange ULong ULongArray ULongProgression ULongRange UShort UShortArray UninitializedPropertyAccessException Unit UnsafeVariance
|
||||
syn keyword ktType UnsupportedOperationException ValueTimeMark Volatile WithComparableMarks
|
||||
" }}}
|
||||
|
||||
syn keyword ktModifier annotation companion enum inner abstract final open override sealed vararg dynamic expect actual suspend
|
||||
|
||||
@@ -16,11 +16,7 @@ if exists('b:current_syntax')
|
||||
endif
|
||||
|
||||
if !exists ('b:is_hledger')
|
||||
if exists('g:ledger_is_hledger')
|
||||
let b:is_hledger = 1
|
||||
else
|
||||
let b:is_hledger = 0
|
||||
endif
|
||||
let b:is_hledger = g:ledger_is_hledger
|
||||
endif
|
||||
|
||||
" Force old regex engine (:help two-engines)
|
||||
@@ -47,20 +43,20 @@ syntax clear
|
||||
" ACCOUNT AMOUNT [; NOTE] <-- posting
|
||||
|
||||
exe 'syn region ledgerTransaction start=/^[[:digit:]~=]/ '.
|
||||
\ 'skip=/^\s'. s:skip . '/ end=/^/ fold keepend transparent '.
|
||||
\ 'contains=ledgerTransactionDate,ledgerTransactionMetadata,ledgerPosting,ledgerTransactionExpression'
|
||||
\ 'skip=/^\s'. s:skip . '/ end=/^/ fold keepend transparent '.
|
||||
\ 'contains=ledgerTransactionDate,ledgerTransactionMetadata,ledgerPosting,ledgerTransactionExpression'
|
||||
syn match ledgerTransactionDate /^\d\S\+/ contained
|
||||
syn match ledgerTransactionExpression /^[=~]\s\+\zs.*/ contained
|
||||
syn match ledgerPosting /^\s\+[^[:blank:];].*/
|
||||
\ contained transparent contains=ledgerAccount,ledgerAmount,ledgerValueExpression,ledgerPostingMetadata
|
||||
\ contained transparent contains=ledgerAccount,ledgerAmount,ledgerValueExpression,ledgerPostingMetadata
|
||||
" every space in an account name shall be surrounded by two non-spaces
|
||||
" every account name ends with a tab, two spaces or the end of the line
|
||||
exe 'syn match ledgerAccount '.
|
||||
\ '/'.s:oe.'^\s\+\zs\%(\S'.s:lb1.' \S\|\S\)\+\ze\%( \|\t\|\s*$\)/ contained'
|
||||
\ '/'.s:oe.'^\s\+\zs\%(\S'.s:lb1.' \S\|\S\)\+\ze\%( \|\t\|\s*$\)/ contained'
|
||||
exe 'syn match ledgerAmount '.
|
||||
\ '/'.s:oe.'\S'.s:lb1.'\%( \|\t\)\s*\zs\%([^();[:space:]]\|\s\+[^();[:space:]]\)\+/ contains='.s:ledgerAmount_contains.' contained'
|
||||
\ '/'.s:oe.'\S'.s:lb1.'\%( \|\t\)\s*\zs\%([^();[:space:]]\|\s\+[^();[:space:]]\)\+/ contains='.s:ledgerAmount_contains.' contained'
|
||||
exe 'syn match ledgerValueExpression '.
|
||||
\ '/'.s:oe.'\S'.s:lb1.'\%( \|\t\)\s*\zs(\%([^;[:space:]]\|\s\+[^;[:space:]]\)\+)/ contains='.s:ledgerAmount_contains.' contained'
|
||||
\ '/'.s:oe.'\S'.s:lb1.'\%( \|\t\)\s*\zs(\%([^;[:space:]]\|\s\+[^;[:space:]]\)\+)/ contains='.s:ledgerAmount_contains.' contained'
|
||||
|
||||
syn region ledgerPreDeclaration start=/^\(account\|payee\|commodity\|tag\)/ skip=/^\s/ end=/^/
|
||||
\ keepend transparent
|
||||
@@ -76,35 +72,51 @@ syn match ledgerOneCharDirective /^\%(P\|A\|Y\|N\|D\|C\)\s/
|
||||
syn region ledgerBlockComment start=/^comment/ end=/^end comment/
|
||||
syn region ledgerBlockTest start=/^test/ end=/^end test/
|
||||
exe 'syn match ledgerComment /^['.s:line_comment_chars.'].*$/'
|
||||
" comments at eol must be preceded by at least 2 spaces / 1 tab
|
||||
|
||||
" Tags (metadata) are handled a bit differntly in ledger-cli vs. hledger even
|
||||
" though they both nested in commens the same way.
|
||||
if b:is_hledger
|
||||
syn region ledgerTransactionMetadata start=/;/ end=/^/
|
||||
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
|
||||
syn region ledgerTransactionMetadata start=/;/ end=/^/
|
||||
\ keepend contained contains=ledgerTags
|
||||
syn region ledgerPostingMetadata start=/;/ end=/^/
|
||||
\ keepend contained contains=ledgerTags
|
||||
else
|
||||
syn region ledgerTransactionMetadata start=/\%(\s\s\|\t\|^\s\+\);/ end=/^/
|
||||
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
|
||||
syn region ledgerTransactionMetadata start=/\%(\s\s\|\t\|^\s\+\);/ end=/^/
|
||||
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
|
||||
syn region ledgerPostingMetadata start=/;/ end=/^/
|
||||
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
|
||||
endif
|
||||
|
||||
" https://hledger.org/tags-tutorial.html
|
||||
" https://www.ledger-cli.org/3.0/doc/ledger3.html#Metadata
|
||||
if b:is_hledger
|
||||
syn match ledgerTags /\v[[:alnum:]_-]+:[^,;]*/
|
||||
\ contained contains=ledgerTag
|
||||
syn match ledgerTag /\v[[:alnum:]_-]+/ contained nextgroup=ledgerTagDef
|
||||
syn match ledgerTagDef ":" contained nextgroup=ledgerTagValue,ledgerTagSep
|
||||
syn match ledgerTagValue /\v[^,;]+/ contained nextgroup=ledgerTagSep
|
||||
syn match ledgerTagSep /,/ contained
|
||||
else
|
||||
exe 'syn match ledgerTags '.
|
||||
\ '/'.s:oe.'\%(\%(;\s*\|^tag\s\+\)\)\@<='.
|
||||
\ ':[^:[:space:]][^:]*\%(::\?[^:[:space:]][^:]*\)*:\s*$/ '.
|
||||
\ 'contained contains=ledgerTag'
|
||||
syn match ledgerTag /:\zs[^:]\+\ze:/ contained
|
||||
exe 'syn match ledgerValueTag '.
|
||||
\ '/'.s:oe.'\%(\%(;\|^tag\)[^:]\+\)\@<=[^:]\+:\ze.\+$/ contained'
|
||||
exe 'syn match ledgerTypedTag '.
|
||||
\ '/'.s:oe.'\%(\%(;\|^tag\)[^:]\+\)\@<=[^:]\+::\ze.\+$/ contained'
|
||||
endif
|
||||
syn region ledgerPostingMetadata start=/;/ end=/^/
|
||||
\ keepend contained contains=ledgerTags,ledgerValueTag,ledgerTypedTag
|
||||
exe 'syn match ledgerTags '.
|
||||
\ '/'.s:oe.'\%(\%(;\s*\|^tag\s\+\)\)\@<='.
|
||||
\ ':[^:[:space:]][^:]*\%(::\?[^:[:space:]][^:]*\)*:\s*$/ '.
|
||||
\ 'contained contains=ledgerTag'
|
||||
syn match ledgerTag /:\zs[^:]\+\ze:/ contained
|
||||
exe 'syn match ledgerValueTag '.
|
||||
\ '/'.s:oe.'\%(\%(;\|^tag\)[^:]\+\)\@<=[^:]\+:\ze.\+$/ contained'
|
||||
exe 'syn match ledgerTypedTag '.
|
||||
\ '/'.s:oe.'\%(\%(;\|^tag\)[^:]\+\)\@<=[^:]\+::\ze.\+$/ contained'
|
||||
|
||||
syn region ledgerApply
|
||||
\ matchgroup=ledgerStartApply start=/^apply\>/
|
||||
\ matchgroup=ledgerEndApply end=/^end\s\+apply\>/
|
||||
\ contains=ledgerApplyHead,ledgerApply,ledgerTransaction,ledgerComment
|
||||
exe 'syn match ledgerApplyHead '.
|
||||
\ '/'.s:oe.'\%(^apply\s\+\)\@<=\S.*$/ contained'
|
||||
\ '/'.s:oe.'\%(^apply\s\+\)\@<=\S.*$/ contained'
|
||||
|
||||
syntax keyword ledgerTodo FIXME TODO
|
||||
\ contained containedin=ledgerComment,ledgerTransaction,ledgerTransactionMetadata,ledgerPostingMetadata
|
||||
\ contained containedin=ledgerComment,ledgerTransaction,ledgerTransactionMetadata,ledgerPostingMetadata
|
||||
|
||||
highlight default link ledgerComment Comment
|
||||
highlight default link ledgerBlockComment Comment
|
||||
@@ -116,6 +128,9 @@ highlight default link ledgerPostingMetadata Tag
|
||||
highlight default link ledgerTypedTag Keyword
|
||||
highlight default link ledgerValueTag Type
|
||||
highlight default link ledgerTag Type
|
||||
highlight default link ledgerTagValue Label
|
||||
highlight default link ledgerTagDef Delimiter
|
||||
highlight default link ledgerTagSep Delimiter
|
||||
highlight default link ledgerStartApply Tag
|
||||
highlight default link ledgerEndApply Tag
|
||||
highlight default link ledgerApplyHead Type
|
||||
@@ -128,9 +143,9 @@ highlight default link ledgerPreDeclarationDirective Type
|
||||
highlight default link ledgerDirective Type
|
||||
highlight default link ledgerOneCharDirective Type
|
||||
highlight default link ledgerTodo Todo
|
||||
|
||||
|
||||
" syncinc is easy: search for the first transaction.
|
||||
syn sync clear
|
||||
syn sync match ledgerSync grouphere ledgerTransaction "^[[:digit:]~=]"
|
||||
|
||||
|
||||
let b:current_syntax = b:is_hledger ? 'hledger' : 'ledger'
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -7,7 +7,7 @@ endif
|
||||
" Maintainer: Heikki Junes <hjunes@cc.hut.fi>
|
||||
" License: This file is part of LilyPond, the GNU music typesetter.
|
||||
"
|
||||
" Copyright (C) 2002-2004, 2008-2010 Han-Wen Nienhuys <hanwen@xs4all.nl>
|
||||
" Copyright (C) 2002--2022 Han-Wen Nienhuys <hanwen@xs4all.nl>
|
||||
"
|
||||
" LilyPond is free software: you can redistribute it and/or modify
|
||||
" it under the terms of the GNU General Public License as published by
|
||||
|
||||
@@ -90,14 +90,14 @@ syn region mkdLinkTitle matchgroup=mkdDelimiter start=+'+ end=+'+ contained
|
||||
syn region mkdLinkTitle matchgroup=mkdDelimiter start=+(+ end=+)+ contained
|
||||
|
||||
"HTML headings
|
||||
syn region htmlH1 matchgroup=mkdHeading start="^\s*#" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH2 matchgroup=mkdHeading start="^\s*##" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH3 matchgroup=mkdHeading start="^\s*###" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH4 matchgroup=mkdHeading start="^\s*####" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH5 matchgroup=mkdHeading start="^\s*#####" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH6 matchgroup=mkdHeading start="^\s*######" end="$" contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn match htmlH1 /^.\+\n=\+$/ contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn match htmlH2 /^.\+\n-\+$/ contains=mkdLink,mkdInlineURL,@Spell
|
||||
syn region htmlH1 matchgroup=mkdHeading start="^\s*#" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn region htmlH2 matchgroup=mkdHeading start="^\s*##" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn region htmlH3 matchgroup=mkdHeading start="^\s*###" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn region htmlH4 matchgroup=mkdHeading start="^\s*####" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn region htmlH5 matchgroup=mkdHeading start="^\s*#####" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn region htmlH6 matchgroup=mkdHeading start="^\s*######" end="$" contains=@mkdHeadingContent,@Spell
|
||||
syn match htmlH1 /^.\+\n=\+$/ contains=@mkdHeadingContent,@Spell
|
||||
syn match htmlH2 /^.\+\n-\+$/ contains=@mkdHeadingContent,@Spell
|
||||
|
||||
"define Markdown groups
|
||||
syn match mkdLineBreak / \+$/
|
||||
@@ -113,8 +113,9 @@ syn region mkdFootnote start="\[^" end="\]"
|
||||
syn match mkdCode /^\s*\n\(\(\s\{8,}[^ ]\|\t\t\+[^\t]\).*\n\)\+/
|
||||
syn match mkdCode /\%^\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/
|
||||
syn match mkdCode /^\s*\n\(\(\s\{4,}[^ ]\|\t\+[^\t]\).*\n\)\+/ contained
|
||||
syn match mkdListItem /^\s*\%([-*+]\|\d\+\.\)\ze\s\+/ contained
|
||||
syn region mkdListItemLine start="^\s*\%([-*+]\|\d\+\.\)\s\+" end="$" oneline contains=@mkdNonListItem,mkdListItem,@Spell
|
||||
syn match mkdListItem /^\s*\%([-*+]\|\d\+\.\)\ze\s\+/ contained nextgroup=mkdListItemCheckbox
|
||||
syn match mkdListItemCheckbox /\[[xXoO ]\]\ze\s\+/ contained contains=mkdListItem
|
||||
syn region mkdListItemLine start="^\s*\%([-*+]\|\d\+\.\)\s\+" end="$" oneline contains=@mkdNonListItem,mkdListItem,mkdListItemCheckbox,@Spell
|
||||
syn region mkdNonListItemBlock start="\(\%^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@!\|\n\(\_^\_$\|\s\{4,}[^ ]\|\t+[^\t]\)\@!\)" end="^\(\s*\([-*+]\|\d\+\.\)\s\+\)\@=" contains=@mkdNonListItem,@Spell
|
||||
syn match mkdRule /^\s*\*\s\{0,1}\*\s\{0,1}\*\(\*\|\s\)*$/
|
||||
syn match mkdRule /^\s*-\s\{0,1}-\s\{0,1}-\(-\|\s\)*$/
|
||||
@@ -159,28 +160,30 @@ if get(g:, 'vim_markdown_strikethrough', 0)
|
||||
HtmlHiLink mkdStrike htmlStrike
|
||||
endif
|
||||
|
||||
syn cluster mkdHeadingContent contains=htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdLink,mkdInlineURL,mkdStrike
|
||||
syn cluster mkdNonListItem contains=@htmlTop,htmlItalic,htmlBold,htmlBoldItalic,mkdFootnotes,mkdInlineURL,mkdLink,mkdLinkDef,mkdLineBreak,mkdBlockquote,mkdCode,mkdRule,htmlH1,htmlH2,htmlH3,htmlH4,htmlH5,htmlH6,mkdMath,mkdStrike
|
||||
|
||||
"highlighting for Markdown groups
|
||||
HtmlHiLink mkdString String
|
||||
HtmlHiLink mkdCode String
|
||||
HtmlHiLink mkdCodeDelimiter String
|
||||
HtmlHiLink mkdCodeStart String
|
||||
HtmlHiLink mkdCodeEnd String
|
||||
HtmlHiLink mkdFootnote Comment
|
||||
HtmlHiLink mkdBlockquote Comment
|
||||
HtmlHiLink mkdListItem Identifier
|
||||
HtmlHiLink mkdRule Identifier
|
||||
HtmlHiLink mkdLineBreak Visual
|
||||
HtmlHiLink mkdFootnotes htmlLink
|
||||
HtmlHiLink mkdLink htmlLink
|
||||
HtmlHiLink mkdURL htmlString
|
||||
HtmlHiLink mkdInlineURL htmlLink
|
||||
HtmlHiLink mkdID Identifier
|
||||
HtmlHiLink mkdLinkDef mkdID
|
||||
HtmlHiLink mkdLinkDefTarget mkdURL
|
||||
HtmlHiLink mkdLinkTitle htmlString
|
||||
HtmlHiLink mkdDelimiter Delimiter
|
||||
HtmlHiLink mkdString String
|
||||
HtmlHiLink mkdCode String
|
||||
HtmlHiLink mkdCodeDelimiter String
|
||||
HtmlHiLink mkdCodeStart String
|
||||
HtmlHiLink mkdCodeEnd String
|
||||
HtmlHiLink mkdFootnote Comment
|
||||
HtmlHiLink mkdBlockquote Comment
|
||||
HtmlHiLink mkdListItem Identifier
|
||||
HtmlHiLink mkdListItemCheckbox Identifier
|
||||
HtmlHiLink mkdRule Identifier
|
||||
HtmlHiLink mkdLineBreak Visual
|
||||
HtmlHiLink mkdFootnotes htmlLink
|
||||
HtmlHiLink mkdLink htmlLink
|
||||
HtmlHiLink mkdURL htmlString
|
||||
HtmlHiLink mkdInlineURL htmlLink
|
||||
HtmlHiLink mkdID Identifier
|
||||
HtmlHiLink mkdLinkDef mkdID
|
||||
HtmlHiLink mkdLinkDefTarget mkdURL
|
||||
HtmlHiLink mkdLinkTitle htmlString
|
||||
HtmlHiLink mkdDelimiter Delimiter
|
||||
|
||||
let b:current_syntax = 'mkd'
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@ endif
|
||||
" License: VIM License
|
||||
" Maintainer: Nirbheek Chauhan <nirbheek.chauhan@gmail.com>
|
||||
" Liam Beguin <liambeguin@gmail.com>
|
||||
" Last Change: 2021 Aug 16
|
||||
" Last Change: 2023 Aug 27
|
||||
" Credits: Zvezdan Petkovic <zpetkovic@acm.org>
|
||||
" Neil Schemenauer <nas@meson.ca>
|
||||
" Dmitry Vasiliev
|
||||
@@ -68,6 +68,11 @@ syn keyword mesonBoolean false true
|
||||
|
||||
" Built-in functions
|
||||
syn keyword mesonBuiltin
|
||||
\ build_machine
|
||||
\ host_machine
|
||||
\ meson
|
||||
\ option
|
||||
\ target_machine
|
||||
\ add_global_arguments
|
||||
\ add_global_link_arguments
|
||||
\ add_languages
|
||||
@@ -79,11 +84,11 @@ syn keyword mesonBuiltin
|
||||
\ assert
|
||||
\ benchmark
|
||||
\ both_libraries
|
||||
\ build_machine
|
||||
\ build_target
|
||||
\ configuration_data
|
||||
\ configure_file
|
||||
\ custom_target
|
||||
\ debug
|
||||
\ declare_dependency
|
||||
\ dependency
|
||||
\ disabler
|
||||
@@ -91,30 +96,26 @@ syn keyword mesonBuiltin
|
||||
\ error
|
||||
\ executable
|
||||
\ files
|
||||
\ find_library
|
||||
\ find_program
|
||||
\ generator
|
||||
\ get_option
|
||||
\ get_variable
|
||||
\ gettext
|
||||
\ host_machine
|
||||
\ import
|
||||
\ include_directories
|
||||
\ install_data
|
||||
\ install_emptydir
|
||||
\ install_headers
|
||||
\ install_man
|
||||
\ install_subdir
|
||||
\ install_symlink
|
||||
\ install_emptydir
|
||||
\ is_disabler
|
||||
\ is_variable
|
||||
\ jar
|
||||
\ join_paths
|
||||
\ library
|
||||
\ meson
|
||||
\ message
|
||||
\ option
|
||||
\ project
|
||||
\ range
|
||||
\ run_command
|
||||
\ run_target
|
||||
\ set_variable
|
||||
@@ -126,13 +127,10 @@ syn keyword mesonBuiltin
|
||||
\ subdir_done
|
||||
\ subproject
|
||||
\ summary
|
||||
\ target_machine
|
||||
\ test
|
||||
\ unset_variable
|
||||
\ vcs_tag
|
||||
\ warning
|
||||
\ range
|
||||
\ debug
|
||||
|
||||
if exists("meson_space_error_highlight")
|
||||
" trailing whitespace
|
||||
@@ -154,7 +152,7 @@ hi def link mesonEscape Special
|
||||
hi def link mesonNumber Number
|
||||
hi def link mesonBuiltin Function
|
||||
hi def link mesonBoolean Boolean
|
||||
if exists("meson_space_error_higlight")
|
||||
if exists("meson_space_error_highlight")
|
||||
hi def link mesonSpaceError Error
|
||||
endif
|
||||
|
||||
|
||||
@@ -5,7 +5,7 @@ endif
|
||||
" Vim syntax file
|
||||
" Language: nginx.conf
|
||||
" Maintainer: Chris Aumann <me@chr4.org>
|
||||
" Last Change: Apr 15, 2017
|
||||
" Last Change: Nov 25, 2023
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
@@ -88,6 +88,8 @@ syn keyword ngxListenOptions default_server contained
|
||||
syn keyword ngxListenOptions ssl contained
|
||||
syn keyword ngxListenOptions http2 contained
|
||||
syn keyword ngxListenOptions spdy contained
|
||||
syn keyword ngxListenOptions http3 contained
|
||||
syn keyword ngxListenOptions quic contained
|
||||
syn keyword ngxListenOptions proxy_protocol contained
|
||||
syn keyword ngxListenOptions setfib contained
|
||||
syn keyword ngxListenOptions fastopen contained
|
||||
@@ -262,6 +264,7 @@ syn keyword ngxDirective hls_forward_args
|
||||
syn keyword ngxDirective hls_fragment
|
||||
syn keyword ngxDirective hls_mp4_buffer_size
|
||||
syn keyword ngxDirective hls_mp4_max_buffer_size
|
||||
syn keyword ngxDirective http2
|
||||
syn keyword ngxDirective http2_chunk_size
|
||||
syn keyword ngxDirective http2_body_preread_size
|
||||
syn keyword ngxDirective http2_idle_timeout
|
||||
@@ -269,8 +272,17 @@ syn keyword ngxDirective http2_max_concurrent_streams
|
||||
syn keyword ngxDirective http2_max_field_size
|
||||
syn keyword ngxDirective http2_max_header_size
|
||||
syn keyword ngxDirective http2_max_requests
|
||||
syn keyword ngxDirective http2_push
|
||||
syn keyword ngxDirective http2_push_preload
|
||||
syn keyword ngxDirective http2_recv_buffer_size
|
||||
syn keyword ngxDirective http2_recv_timeout
|
||||
syn keyword ngxDirective http3
|
||||
syn keyword ngxDirective http3_hq
|
||||
syn keyword ngxDirective http3_max_concurrent_pushes
|
||||
syn keyword ngxDirective http3_max_concurrent_streams
|
||||
syn keyword ngxDirective http3_push
|
||||
syn keyword ngxDirective http3_push_preload
|
||||
syn keyword ngxDirective http3_stream_buffer_size
|
||||
syn keyword ngxDirective if_modified_since
|
||||
syn keyword ngxDirective ignore_invalid_headers
|
||||
syn keyword ngxDirective image_filter
|
||||
@@ -448,6 +460,10 @@ syn keyword ngxDirective proxy_temp_path
|
||||
syn keyword ngxDirective proxy_timeout
|
||||
syn keyword ngxDirective proxy_upload_rate
|
||||
syn keyword ngxDirective queue
|
||||
syn keyword ngxDirective quic_gso
|
||||
syn keyword ngxDirective quic_host_key
|
||||
syn keyword ngxDirective quic_mtu
|
||||
syn keyword ngxDirective quic_retry
|
||||
syn keyword ngxDirective random_index
|
||||
syn keyword ngxDirective read_ahead
|
||||
syn keyword ngxDirective real_ip_header
|
||||
@@ -549,8 +565,10 @@ syn keyword ngxDirective ssl_certificate
|
||||
syn keyword ngxDirective ssl_certificate_key
|
||||
syn keyword ngxDirective ssl_ciphers
|
||||
syn keyword ngxDirective ssl_client_certificate
|
||||
syn keyword ngxDirective ssl_conf_command
|
||||
syn keyword ngxDirective ssl_crl
|
||||
syn keyword ngxDirective ssl_dhparam
|
||||
syn keyword ngxDirective ssl_early_data
|
||||
syn keyword ngxDirective ssl_ecdh_curve
|
||||
syn keyword ngxDirective ssl_engine
|
||||
syn keyword ngxDirective ssl_handshake_timeout
|
||||
@@ -560,6 +578,7 @@ syn keyword ngxSSLPreferServerCiphersOn on contained
|
||||
syn keyword ngxSSLPreferServerCiphersOff off contained
|
||||
syn keyword ngxDirective ssl_preread
|
||||
syn keyword ngxDirective ssl_protocols nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
|
||||
syn keyword ngxDirective ssl_reject_handshake
|
||||
syn match ngxSSLProtocol 'TLSv1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
|
||||
syn match ngxSSLProtocol 'TLSv1\.1' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
|
||||
syn match ngxSSLProtocol 'TLSv1\.2' contained nextgroup=ngxSSLProtocol,ngxSSLProtocolDeprecated skipwhite
|
||||
@@ -626,6 +645,7 @@ syn keyword ngxDirective uwsgi_buffering
|
||||
syn keyword ngxDirective uwsgi_buffers
|
||||
syn keyword ngxDirective uwsgi_busy_buffers_size
|
||||
syn keyword ngxDirective uwsgi_cache
|
||||
syn keyword ngxDirective uwsgi_cache_background_update
|
||||
syn keyword ngxDirective uwsgi_cache_bypass
|
||||
syn keyword ngxDirective uwsgi_cache_key
|
||||
syn keyword ngxDirective uwsgi_cache_lock
|
||||
@@ -2229,6 +2249,19 @@ syn keyword ngxDirectiveThirdParty xss_override_status
|
||||
syn keyword ngxDirectiveThirdParty xss_check_status
|
||||
syn keyword ngxDirectiveThirdParty xss_input_types
|
||||
|
||||
" CT Module <https://github.com/grahamedgecombe/nginx-ct>
|
||||
" Certificate Transparency module for nginx
|
||||
syn keyword ngxDirectiveThirdParty ssl_ct
|
||||
syn keyword ngxDirectiveThirdParty ssl_ct_static_scts
|
||||
|
||||
" Dynamic TLS records patch <https://github.com/cloudflare/sslconfig/blob/master/patches/nginx__dynamic_tls_records.patch>
|
||||
" TLS Dynamic Record Resizing
|
||||
syn keyword ngxDirectiveThirdParty ssl_dyn_rec_enable
|
||||
syn keyword ngxDirectiveThirdParty ssl_dyn_rec_size_hi
|
||||
syn keyword ngxDirectiveThirdParty ssl_dyn_rec_size_lo
|
||||
syn keyword ngxDirectiveThirdParty ssl_dyn_rec_threshold
|
||||
syn keyword ngxDirectiveThirdParty ssl_dyn_rec_timeout
|
||||
|
||||
" ZIP Module <https://www.nginx.com/resources/wiki/modules/zip/>
|
||||
" ZIP archiver for nginx
|
||||
|
||||
|
||||
125
syntax/nix.vim
125
syntax/nix.vim
@@ -54,6 +54,7 @@ syn region nixString matchgroup=nixStringDelimiter start=+''+ skip=+''['$\\]+ en
|
||||
syn match nixFunctionCall "[a-zA-Z_][a-zA-Z0-9_'-]*"
|
||||
|
||||
syn match nixPath "[a-zA-Z0-9._+-]*\%(/[a-zA-Z0-9._+-]\+\)\+"
|
||||
syn region nixInterpolatedPath start="\%(\~\|[a-zA-Z0-9._+-]*\)/[a-zA-Z0-9._+/-]*\ze${" skip="[a-zA-Z0-9._+/-]*\ze${" end="}\@<=[a-zA-Z0-9._+/-]*\%([^a-zA-Z0-9._+/-]\|$\)\@=" contains=nixInterpolation
|
||||
syn match nixHomePath "\~\%(/[a-zA-Z0-9._+-]\+\)\+"
|
||||
syn match nixSearchPath "[a-zA-Z0-9._+-]\+\%(\/[a-zA-Z0-9._+-]\+\)*" contained
|
||||
syn match nixPathDelimiter "[<>]" contained
|
||||
@@ -65,7 +66,8 @@ syn match nixAttribute "[a-zA-Z_][a-zA-Z0-9_'-]*\ze\%([^a-zA-Z0-9_'.-]\|$\)" con
|
||||
syn region nixAttributeAssignment start="=" end="\ze;" contained contains=@nixExpr
|
||||
syn region nixAttributeDefinition start=/\ze[a-zA-Z_"$]/ end=";" contained contains=nixComment,nixAttribute,nixInterpolation,nixSimpleString,nixAttributeDot,nixAttributeAssignment
|
||||
|
||||
syn region nixInheritAttributeScope start="(" end="\ze)" contained contains=@nixExpr
|
||||
syn region nixInheritAttributeSubExpr start="("ms=e+1 end="\ze)" contained contains=nixAttributeDot,@nixExpr
|
||||
syn region nixInheritAttributeScope start="\ze(" end=")" contained contains=nixInheritAttributeSubExpr
|
||||
syn region nixAttributeDefinition matchgroup=nixInherit start="\<inherit\>" end=";" contained contains=nixComment,nixInheritAttributeScope,nixAttribute
|
||||
|
||||
syn region nixAttributeSet start="{" end="}" contains=nixComment,nixAttributeDefinition
|
||||
@@ -126,7 +128,7 @@ syn region nixWithExpr matchgroup=nixWithExprKeyword start="\<with\>" matchgroup
|
||||
|
||||
syn region nixAssertExpr matchgroup=nixAssertKeyword start="\<assert\>" matchgroup=NONE end=";" contains=@nixExpr
|
||||
|
||||
syn cluster nixExpr contains=nixBoolean,nixNull,nixOperator,nixParen,nixInteger,nixRecKeyword,nixConditional,nixBuiltin,nixSimpleBuiltin,nixComment,nixFunctionCall,nixFunctionArgument,nixArgOperator,nixSimpleFunctionArgument,nixPath,nixHomePath,nixSearchPathRef,nixURI,nixAttributeSet,nixList,nixSimpleString,nixString,nixLetExpr,nixIfExpr,nixWithExpr,nixAssertExpr,nixInterpolation
|
||||
syn cluster nixExpr contains=nixBoolean,nixNull,nixOperator,nixParen,nixInteger,nixRecKeyword,nixConditional,nixBuiltin,nixSimpleBuiltin,nixComment,nixFunctionCall,nixFunctionArgument,nixArgOperator,nixSimpleFunctionArgument,nixInterpolatedPath,nixPath,nixHomePath,nixSearchPathRef,nixURI,nixAttributeSet,nixList,nixSimpleString,nixString,nixLetExpr,nixIfExpr,nixWithExpr,nixAssertExpr,nixInterpolation
|
||||
|
||||
" These definitions override @nixExpr and have to come afterwards:
|
||||
|
||||
@@ -139,22 +141,112 @@ syn keyword nixSimpleBuiltin
|
||||
\ scopedImport throw toString
|
||||
|
||||
|
||||
" Generated automatically: use `./builtins.sh` from the repo's root to update.
|
||||
" Namespaced and non-namespaced Nix builtins as of version 2.0:
|
||||
syn keyword nixNamespacedBuiltin contained
|
||||
\ abort add addErrorContext all any attrNames attrValues baseNameOf
|
||||
\ catAttrs compareVersions concatLists concatStringsSep currentSystem
|
||||
\ currentTime deepSeq derivation derivationStrict dirOf div elem elemAt
|
||||
\ fetchGit fetchMercurial fetchTarball fetchurl filter \ filterSource
|
||||
\ findFile foldl' fromJSON functionArgs genList \ genericClosure getAttr
|
||||
\ getEnv hasAttr hasContext hashString head import intersectAttrs isAttrs
|
||||
\ isBool isFloat isFunction isInt isList isNull isString langVersion
|
||||
\ length lessThan listToAttrs map mapAttrs match mul nixPath nixVersion
|
||||
\ parseDrvName partition path pathExists placeholder readDir readFile
|
||||
\ removeAttrs replaceStrings scopedImport seq sort split splitVersion
|
||||
\ storeDir storePath stringLength sub substring tail throw toFile toJSON
|
||||
\ toPath toString toXML trace tryEval typeOf unsafeDiscardOutputDependency
|
||||
\ unsafeDiscardStringContext unsafeGetAttrPos valueSize fromTOML bitAnd
|
||||
\ bitOr bitXor floor ceil
|
||||
\ abort
|
||||
\ add
|
||||
\ all
|
||||
\ any
|
||||
\ attrNames
|
||||
\ attrValues
|
||||
\ baseNameOf
|
||||
\ bitAnd
|
||||
\ bitOr
|
||||
\ bitXor
|
||||
\ break
|
||||
\ catAttrs
|
||||
\ ceil
|
||||
\ compareVersions
|
||||
\ concatLists
|
||||
\ concatMap
|
||||
\ concatStringsSep
|
||||
\ deepSeq
|
||||
\ dirOf
|
||||
\ div
|
||||
\ elem
|
||||
\ elemAt
|
||||
\ fetchClosure
|
||||
\ fetchGit
|
||||
\ fetchTarball
|
||||
\ fetchurl
|
||||
\ filter
|
||||
\ filterSource
|
||||
\ findFile
|
||||
\ flakeRefToString
|
||||
\ floor
|
||||
\ foldl'
|
||||
\ fromJSON
|
||||
\ fromTOML
|
||||
\ functionArgs
|
||||
\ genList
|
||||
\ genericClosure
|
||||
\ getAttr
|
||||
\ getContext
|
||||
\ getEnv
|
||||
\ getFlake
|
||||
\ groupBy
|
||||
\ hasAttr
|
||||
\ hasContext
|
||||
\ hashFile
|
||||
\ hashString
|
||||
\ head
|
||||
\ import
|
||||
\ intersectAttrs
|
||||
\ isAttrs
|
||||
\ isBool
|
||||
\ isFloat
|
||||
\ isFunction
|
||||
\ isInt
|
||||
\ isList
|
||||
\ isNull
|
||||
\ isPath
|
||||
\ isString
|
||||
\ length
|
||||
\ lessThan
|
||||
\ listToAttrs
|
||||
\ map
|
||||
\ mapAttrs
|
||||
\ match
|
||||
\ mul
|
||||
\ outputOf
|
||||
\ parseDrvName
|
||||
\ parseFlakeRef
|
||||
\ partition
|
||||
\ path
|
||||
\ pathExists
|
||||
\ placeholder
|
||||
\ readDir
|
||||
\ readFile
|
||||
\ readFileType
|
||||
\ removeAttrs
|
||||
\ replaceStrings
|
||||
\ seq
|
||||
\ sort
|
||||
\ split
|
||||
\ splitVersion
|
||||
\ storePath
|
||||
\ stringLength
|
||||
\ sub
|
||||
\ substring
|
||||
\ tail
|
||||
\ throw
|
||||
\ toFile
|
||||
\ toJSON
|
||||
\ toPath
|
||||
\ toString
|
||||
\ toXML
|
||||
\ trace
|
||||
\ traceVerbose
|
||||
\ tryEval
|
||||
\ typeOf
|
||||
\ zipAttrsWith
|
||||
\ currentSystem
|
||||
\ currentTime
|
||||
\ langVersion
|
||||
\ nixPath
|
||||
\ nixVersion
|
||||
\ storeDir
|
||||
|
||||
syn match nixBuiltin "builtins\.[a-zA-Z']\+"he=s+9 contains=nixComment,nixNamespacedBuiltin
|
||||
|
||||
@@ -182,6 +274,7 @@ hi def link nixNamespacedBuiltin Special
|
||||
hi def link nixNull Constant
|
||||
hi def link nixOperator Operator
|
||||
hi def link nixPath Include
|
||||
hi def link nixInterpolatedPath nixPath
|
||||
hi def link nixPathDelimiter Delimiter
|
||||
hi def link nixRecKeyword Keyword
|
||||
hi def link nixSearchPath Include
|
||||
|
||||
@@ -81,7 +81,7 @@ syn match ocamlKwErr "\<\(mutable\|nonrec\|of\|private\)\>"
|
||||
syn cluster ocamlAllErrs contains=@ocamlAENoParen,ocamlParenErr
|
||||
syn cluster ocamlAENoParen contains=ocamlBraceErr,ocamlBrackErr,ocamlCountErr,ocamlDoErr,ocamlDoneErr,ocamlEndErr,ocamlThenErr,ocamlKwErr
|
||||
|
||||
syn cluster ocamlContained contains=ocamlTodo,ocamlPreDef,ocamlModParam,ocamlModParam1,ocamlMPRestr,ocamlMPRestr1,ocamlMPRestr2,ocamlMPRestr3,ocamlModRHS,ocamlFuncWith,ocamlFuncStruct,ocamlModTypeRestr,ocamlModTRWith,ocamlWith,ocamlWithRest,ocamlModType,ocamlFullMod,ocamlVal
|
||||
syn cluster ocamlContained contains=ocamlTodo,ocamlPreDef,ocamlModParam,ocamlModParam1,ocamlModTypePre,ocamlModRHS,ocamlFuncWith,ocamlModTypeRestr,ocamlModTRWith,ocamlWith,ocamlWithRest,ocamlFullMod,ocamlVal
|
||||
|
||||
|
||||
" Enclosing delimiters
|
||||
@@ -125,10 +125,6 @@ syn region ocamlPpx matchgroup=ocamlPpxEncl start="\[@\{1,3\}" contains=TOP end=
|
||||
|
||||
"" Modules
|
||||
|
||||
" "sig"
|
||||
syn region ocamlSig matchgroup=ocamlSigEncl start="\<sig\>" matchgroup=ocamlSigEncl end="\<end\>" contains=ALLBUT,@ocamlContained,ocamlEndErr,ocamlModule
|
||||
syn region ocamlModSpec matchgroup=ocamlKeyword start="\<module\>" matchgroup=ocamlModule end="\<\u\(\w\|'\)*\>" contained contains=@ocamlAllErrs,ocamlComment skipwhite skipempty nextgroup=ocamlModTRWith,ocamlMPRestr
|
||||
|
||||
" "open"
|
||||
syn match ocamlKeyword "\<open\>" skipwhite skipempty nextgroup=ocamlFullMod
|
||||
|
||||
@@ -136,35 +132,39 @@ syn match ocamlKeyword "\<open\>" skipwhite skipempty nextgroup=ocamlFullMod
|
||||
syn match ocamlKeyword "\<include\>" skipwhite skipempty nextgroup=ocamlModParam,ocamlFullMod
|
||||
|
||||
" "module" - somewhat complicated stuff ;-)
|
||||
syn region ocamlModule matchgroup=ocamlKeyword start="\<module\>" matchgroup=ocamlModule end="\<\u\(\w\|'\)*\>" contains=@ocamlAllErrs,ocamlComment skipwhite skipempty nextgroup=ocamlPreDef
|
||||
syn region ocamlPreDef start="."me=e-1 matchgroup=ocamlKeyword end="\l\|=\|)"me=e-1 contained contains=@ocamlAllErrs,ocamlComment,ocamlModParam,ocamlGenMod,ocamlModTypeRestr,ocamlModTRWith nextgroup=ocamlModPreRHS
|
||||
" 2022-10: please document it?
|
||||
syn region ocamlModule matchgroup=ocamlKeyword start="\<module\>" matchgroup=ocamlModule end="\<_\|\u\(\w\|'\)*\>" contains=@ocamlAllErrs,ocamlComment skipwhite skipempty nextgroup=ocamlPreDef
|
||||
syn region ocamlPreDef start="."me=e-1 end="[a-z:=)]\@=" contained contains=@ocamlAllErrs,ocamlComment,ocamlModParam,ocamlGenMod,ocamlModTypeRestr nextgroup=ocamlModTypePre,ocamlModPreRHS
|
||||
syn region ocamlModParam start="(\*\@!" end=")" contained contains=ocamlGenMod,ocamlModParam,ocamlModParam1,ocamlSig,ocamlVal
|
||||
syn match ocamlModParam1 "\<\u\(\w\|'\)*\>" contained skipwhite skipempty
|
||||
syn match ocamlGenMod "()" contained skipwhite skipempty
|
||||
|
||||
syn region ocamlMPRestr start=":" end="."me=e-1 contained contains=@ocamlComment skipwhite skipempty nextgroup=ocamlMPRestr1,ocamlMPRestr2,ocamlMPRestr3
|
||||
syn region ocamlMPRestr1 matchgroup=ocamlSigEncl start="\ssig\s\=" matchgroup=ocamlSigEncl end="\<end\>" contained contains=ALLBUT,@ocamlContained,ocamlEndErr,ocamlModule
|
||||
syn region ocamlMPRestr2 start="\sfunctor\(\s\|(\)\="me=e-1 matchgroup=ocamlKeyword end="->" contained contains=@ocamlAllErrs,ocamlComment,ocamlModParam,ocamlGenMod skipwhite skipempty nextgroup=ocamlFuncWith,ocamlMPRestr2
|
||||
syn match ocamlMPRestr3 "\w\(\w\|'\)*\( *\. *\w\(\w\|'\)*\)*" contained
|
||||
syn match ocamlModTypePre ":" contained skipwhite skipempty nextgroup=ocamlModTRWith,ocamlSig,ocamlFunctor,ocamlModTypeRestr,ocamlModTypeOf
|
||||
syn match ocamlModTypeRestr "\<\w\(\w\|'\)*\( *\. *\w\(\w\|'\)*\)*\>" contained
|
||||
|
||||
syn match ocamlModPreRHS "=" contained skipwhite skipempty nextgroup=ocamlModParam,ocamlFullMod
|
||||
syn keyword ocamlKeyword val
|
||||
syn region ocamlVal matchgroup=ocamlKeyword start="\<val\>" matchgroup=ocamlLCIdentifier end="\<\l\(\w\|'\)*\>" contains=@ocamlAllErrs,ocamlComment,ocamlFullMod skipwhite skipempty nextgroup=ocamlMPRestr
|
||||
syn region ocamlVal matchgroup=ocamlKeyword start="\<val\>" matchgroup=ocamlLCIdentifier end="\<\l\(\w\|'\)*\>" contains=@ocamlAllErrs,ocamlComment,ocamlFullMod skipwhite skipempty nextgroup=ocamlModTypePre
|
||||
syn region ocamlModRHS start="." end=". *\w\|([^*]"me=e-2 contained contains=ocamlComment skipwhite skipempty nextgroup=ocamlModParam,ocamlFullMod
|
||||
syn match ocamlFullMod "\<\u\(\w\|'\)*\( *\. *\u\(\w\|'\)*\)*" contained skipwhite skipempty nextgroup=ocamlFuncWith
|
||||
|
||||
syn region ocamlFuncWith start="([*)]\@!" end=")" contained contains=ocamlComment,ocamlWith,ocamlFuncStruct skipwhite skipempty nextgroup=ocamlFuncWith
|
||||
syn region ocamlFuncStruct matchgroup=ocamlStructEncl start="[^a-zA-Z]struct\>"hs=s+1 matchgroup=ocamlStructEncl end="\<end\>" contains=ALLBUT,@ocamlContained,ocamlEndErr
|
||||
syn region ocamlFuncWith start="([*)]\@!" end=")" contained contains=ocamlComment,ocamlWith,ocamlStruct skipwhite skipempty nextgroup=ocamlFuncWith
|
||||
|
||||
syn match ocamlModTypeRestr "\<\w\(\w\|'\)*\( *\. *\w\(\w\|'\)*\)*\>" contained
|
||||
syn region ocamlModTRWith start=":\s*("hs=s+1 end=")" contained contains=@ocamlAENoParen,ocamlWith
|
||||
syn region ocamlModTRWith start="(\*\@!" end=")" contained contains=@ocamlAENoParen,ocamlWith
|
||||
syn match ocamlWith "\<\(\u\(\w\|'\)* *\. *\)*\w\(\w\|'\)*\>" contained skipwhite skipempty nextgroup=ocamlWithRest
|
||||
syn region ocamlWithRest start="[^)]" end=")"me=e-1 contained contains=ALLBUT,@ocamlContained
|
||||
|
||||
" "struct"
|
||||
syn region ocamlStruct matchgroup=ocamlStructEncl start="\<\(module\s\+\)\=struct\>" matchgroup=ocamlStructEncl end="\<end\>" contains=ALLBUT,@ocamlContained,ocamlEndErr
|
||||
|
||||
" "sig"
|
||||
syn region ocamlSig matchgroup=ocamlSigEncl start="\<sig\>" matchgroup=ocamlSigEncl end="\<end\>" contains=ALLBUT,@ocamlContained,ocamlEndErr
|
||||
|
||||
" "functor"
|
||||
syn region ocamlFunctor start="\<functor\>" matchgroup=ocamlKeyword end="->" contains=@ocamlAllErrs,ocamlComment,ocamlModParam,ocamlGenMod skipwhite skipempty nextgroup=ocamlStruct,ocamlSig,ocamlFuncWith,ocamlFunctor
|
||||
|
||||
" "module type"
|
||||
syn region ocamlKeyword start="\<module\s\+type\(\s\+of\)\=\>" matchgroup=ocamlModule end="\<\w\(\w\|'\)*\>" contains=ocamlComment skipwhite skipempty nextgroup=ocamlMTDef
|
||||
syn region ocamlModTypeOf start="\<module\s\+type\(\s\+of\)\=\>" matchgroup=ocamlModule end="\<\w\(\w\|'\)*\>" contains=ocamlComment skipwhite skipempty nextgroup=ocamlMTDef
|
||||
syn match ocamlMTDef "=\s*\w\(\w\|'\)*\>"hs=s+1,me=s+1 skipwhite skipempty nextgroup=ocamlFullMod
|
||||
|
||||
" Quoted strings
|
||||
@@ -588,8 +588,6 @@ hi def link ocamlObject Include
|
||||
hi def link ocamlModule Include
|
||||
hi def link ocamlModParam1 Include
|
||||
hi def link ocamlGenMod Include
|
||||
hi def link ocamlModType Include
|
||||
hi def link ocamlMPRestr3 Include
|
||||
hi def link ocamlFullMod Include
|
||||
hi def link ocamlFuncWith Include
|
||||
hi def link ocamlModParam Include
|
||||
@@ -605,8 +603,10 @@ hi def link ocamlConstructor Constant
|
||||
hi def link ocamlEmptyConstructor ocamlConstructor
|
||||
|
||||
hi def link ocamlVal Keyword
|
||||
hi def link ocamlModTypePre Keyword
|
||||
hi def link ocamlModPreRHS Keyword
|
||||
hi def link ocamlMPRestr2 Keyword
|
||||
hi def link ocamlFunctor Keyword
|
||||
hi def link ocamlModTypeOf Keyword
|
||||
hi def link ocamlKeyword Keyword
|
||||
hi def link ocamlMethod Include
|
||||
hi def link ocamlArrow Keyword
|
||||
|
||||
@@ -69,9 +69,11 @@ syntax keyword odinDefer defer
|
||||
|
||||
syntax region odinRawString start=+`+ end=+`+
|
||||
syntax region odinChar start=+'+ skip=+\\\\\|\\'+ end=+'+
|
||||
syntax region odinString start=+"+ skip=+\\\\\|\\'+ end=+"+
|
||||
syntax region odinString start=+"+ skip=+\\\\\|\\'+ end=+"+ contains=odinEscape
|
||||
syntax match odinEscape display contained /\\\([nrt\\'"]\|x\x\{2}\)/
|
||||
|
||||
syntax match odinFunction "\v<\w*>(\s*::\s*proc)@="
|
||||
syntax match odinFunctionDecl "\v<\w*>(\s*::\s*proc)@="
|
||||
syntax match odinFunctionCall "\v\w+\s*(\()@="
|
||||
|
||||
syntax match odinTagNote "@\<\w\+\>" display
|
||||
|
||||
@@ -133,8 +135,8 @@ highlight link odinExport Keyword
|
||||
highlight link odinForeign Keyword
|
||||
highlight link odinNoinit Keyword
|
||||
highlight link odinDo Keyword
|
||||
highlight link odinDefer Keyword
|
||||
|
||||
highlight link odinDefer Operator
|
||||
highlight link odinDynamic Operator
|
||||
highlight link odinMap Operator
|
||||
highlight link odinRange Operator
|
||||
@@ -159,7 +161,9 @@ highlight link odinUnion Structure
|
||||
highlight link odinBitField Structure
|
||||
highlight link odinBitSet Structure
|
||||
|
||||
highlight link odinFunction Function
|
||||
" :FunctionHighlighting
|
||||
highlight link odinFunctionDecl Function
|
||||
highlight link odinFunctionCall Function
|
||||
|
||||
highlight link odinMacro Macro
|
||||
highlight link odinIf Conditional
|
||||
|
||||
@@ -15,14 +15,20 @@ endif
|
||||
|
||||
" need %{vars}%
|
||||
" env: [[CAML_LD_LIBRARY_PATH = "%{lib}%/stublibs"]]
|
||||
syn iskeyword a-z,A-Z,-
|
||||
syn keyword opamKeyword1 author
|
||||
syn keyword opamKeyword1 authors
|
||||
syn keyword opamKeyword1 available
|
||||
syn keyword opamKeyword1 bug-reports
|
||||
syn keyword opamKeyword1 build
|
||||
syn keyword opamKeyword1 build-env
|
||||
syn keyword opamKeyword1 conflict-class
|
||||
syn keyword opamKeyword1 conflicts
|
||||
syn keyword opamKeyword1 depends
|
||||
syn keyword opamKeyword1 depexts
|
||||
syn keyword opamKeyword1 depopts
|
||||
syn keyword opamKeyword1 description
|
||||
syn keyword opamKeyword1 dev-repo
|
||||
syn keyword opamKeyword1 doc
|
||||
syn keyword opamKeyword1 extra-files
|
||||
syn keyword opamKeyword1 features
|
||||
@@ -34,8 +40,10 @@ syn keyword opamKeyword1 license
|
||||
syn keyword opamKeyword1 maintainer
|
||||
syn keyword opamKeyword1 messages
|
||||
syn keyword opamKeyword1 name
|
||||
syn keyword opamKeyword1 opam-version
|
||||
syn keyword opamKeyword1 patches
|
||||
syn keyword opamKeyword1 pin-depends
|
||||
syn keyword opamKeyword1 post-messages
|
||||
syn keyword opamKeyword1 remove
|
||||
syn keyword opamKeyword1 run-test
|
||||
syn keyword opamKeyword1 setenv
|
||||
@@ -44,19 +52,18 @@ syn keyword opamKeyword1 synopsis
|
||||
syn keyword opamKeyword1 syntax
|
||||
syn keyword opamKeyword1 tags
|
||||
syn keyword opamKeyword1 version
|
||||
syn match opamKeyword2 "\v(bug-reports|post-messages|opam-version|dev-repo|build)"
|
||||
|
||||
syn keyword opamTodo FIXME NOTE NOTES TODO XXX contained
|
||||
syn match opamComment "#.*$" contains=opamTodo,@Spell
|
||||
syn match opamOperator ">\|<\|=\|<=\|>="
|
||||
|
||||
syn region opamInterpolate start=/%{/ end=/}%/ contained
|
||||
syn region opamString start=/"/ end=/"/ contains=opamInterpolate
|
||||
syn region opamSeq start=/\[/ end=/\]/ contains=ALLBUT,opamKeyword1,opamKeyword2
|
||||
syn region opamExp start=/{/ end=/}/ contains=ALLBUT,opamKeyword1,opamKeyword2
|
||||
syn match opamUnclosedInterpolate "%{[^ "]*" contained
|
||||
syn match opamInterpolate "%{[^ "]\+}%" contained
|
||||
syn region opamString start=/"/ end=/"/ contains=opamInterpolate,OpamUnclosedInterpolate
|
||||
syn region opamSeq start=/\[/ end=/\]/ contains=ALLBUT,opamKeyword1
|
||||
syn region opamExp start=/{/ end=/}/ contains=ALLBUT,opamKeyword1
|
||||
|
||||
hi link opamKeyword1 Keyword
|
||||
hi link opamKeyword2 Keyword
|
||||
|
||||
hi link opamString String
|
||||
hi link opamExp Function
|
||||
@@ -64,6 +71,7 @@ hi link opamSeq Statement
|
||||
hi link opamOperator Operator
|
||||
hi link opamComment Comment
|
||||
hi link opamInterpolate Identifier
|
||||
hi link opamUnclosedInterpolate Error
|
||||
|
||||
let b:current_syntax = "opam"
|
||||
|
||||
|
||||
@@ -4,10 +4,11 @@ endif
|
||||
|
||||
" Comments
|
||||
syntax keyword pestTodo contained TODO FIXME XXX NOTE
|
||||
syntax match pestComment "\/\/.*$" contains=celTodo
|
||||
syntax match pestComment "\/\/.*$" contains=pestTodo
|
||||
syntax region pestComment matchgroup=pestCommentMultiline start="\/\*" end="\*\/" contains=pestTodo
|
||||
|
||||
" Rule names
|
||||
syntax match pestName "^[a-z_][a-z0-9_]*"
|
||||
syntax match pestName "[a-zA-Z_][a-zA-Z0-9_]*"
|
||||
|
||||
" String types
|
||||
syntax region pestString start=/"/ skip=/\\\\\|\\"/ end=/"/ oneline contained
|
||||
@@ -16,7 +17,8 @@ syntax region pestChar start=/'/ end=/'/ oneline contained
|
||||
|
||||
" Operators, modifiers, keywords
|
||||
syntax match pestModifier "\v[_@$!]"
|
||||
syntax match pestOperator "\v[~|*+?&!]" contained
|
||||
syntax match pestTilde "\~"
|
||||
syntax match pestOperator "\v[|*+?&!]" contained
|
||||
syntax keyword pestKeyword PUSH POP POP_ALL PEEK PEEK_ALL DROP contained
|
||||
syntax keyword pestSpecial WHITESPACE COMMENT ANY SOI EOI ASCII_DIGIT ASCII_NONZERO_DIGIT ASCII_BIN_DIGIT ASCII_OCT_DIGIT ASCII_HEX_DIGIT
|
||||
\ ASCII_ALPHA_LOWER ASCII_ALPHA_UPPER ASCII_ALPHA ASCII_ALPHANUMERIC ASCII NEWLINE
|
||||
@@ -117,16 +119,19 @@ syntax keyword pestForbidden abstract alignof as become box break const continue
|
||||
\ Self self sizeof static struct super trait true type typeof unsafe unsized use virtual where while yield
|
||||
|
||||
" Rule blocks
|
||||
syntax region pestBlock start=/{/ end=/}/ fold transparent contains=pestString,pestStringIcase,pestChar,pestOperator,pestKeyword,pestSpecial,pestGeneral,pestBinary,pestForbidden,pestComment,pestBlock
|
||||
syntax region pestBlock matchgroup=pestBraces start=/{/ end=/}/ fold transparent contains=pestString,pestStringIcase,pestChar,pestOperator,pestTilde,pestKeyword,pestSpecial,pestGeneral,pestBinary,pestForbidden,pestComment,pestBlock,pestName
|
||||
syntax region pestRule start=/^/ end=/ / fold transparent contains=pestName,pestForbidden,pestComment
|
||||
|
||||
highlight default link pestTodo Todo
|
||||
highlight default link pestComment Comment
|
||||
highlight default link pestCommentMultiline Comment
|
||||
highlight default link pestString String
|
||||
highlight default link pestStringIcase String
|
||||
highlight default link pestChar Character
|
||||
highlight default link pestName Identifier
|
||||
highlight default link pestModifier Operator
|
||||
highlight default link pestTilde Delimiter
|
||||
highlight default link pestBraces Delimiter
|
||||
highlight default link pestOperator Operator
|
||||
highlight default link pestKeyword Keyword
|
||||
highlight default link pestSpecial Type
|
||||
|
||||
@@ -21,15 +21,20 @@ let b:current_syntax = 'plantuml'
|
||||
syntax sync minlines=100
|
||||
|
||||
syntax match plantumlPreProc /\%(^@start\|^@end\)\%(board\|bpm\|creole\|cute\|def\|ditaa\|dot\|flow\|gantt\|git\|jcckit\|json\|latex\|math\|mindmap\|nwdiag\|project\|salt\|tree\|uml\|wbs\|wire\|yaml\)/
|
||||
syntax match plantumlPreProc /!\%(assert\|define\|definelong\|dump_memory\|else\|enddefinelong\|endfunction\|endif\|endprocedure\|endsub\|exit\|function\|if\|ifdef\|ifndef\|import\|include\|local\|log\|pragma\|procedure\|return\|startsub\|theme\|undef\|unquoted\)\s*.*/ contains=plantumlDir
|
||||
syntax match plantumlPreProc /function\|procedure\|endprocedure\|endfunction\|unquoted/
|
||||
syntax match plantumlPreProc /!\%(assert\|define\|definelong\|dump_memory\|else\|enddefinelong\|endif\|endsub\|exit\|if\|ifdef\|ifndef\|import\|include\|local\|log\|pragma\|return\|startsub\|theme\|undef\)\s*.*/ contains=plantumlDir
|
||||
syntax region plantumlDir start=/\s\+/ms=s+1 end=/$/ contained
|
||||
|
||||
" Procedure and function definitions
|
||||
syntax region plantumlParameters contained matchgroup=Function keepend start="(" end=")\s*$" contains=TOP
|
||||
syntax match plantumlFunction "\%(!\%(unquoted\s\+\)\?\%(procedure\|function\)\s*\)\@<=\$\?\w\+\s*(.*)" contains=plantumlParameters
|
||||
|
||||
" type
|
||||
" From 'java - jar plantuml.jar - language' results {{{
|
||||
syntax keyword plantumlTypeKeyword abstract actor agent annotation archimate artifact boundary card cloud
|
||||
syntax keyword plantumlTypeKeyword collections component control database diamond entity enum file folder frame
|
||||
syntax keyword plantumlTypeKeyword hexagon label node object package participant person queue rectangle stack state
|
||||
syntax keyword plantumlTypeKeyword storage usecase
|
||||
syntax keyword plantumlTypeKeyword storage usecase together
|
||||
" class and interface are defined as plantumlClassKeyword
|
||||
syntax keyword plantumlClassKeyword class interface
|
||||
"}}}
|
||||
@@ -44,7 +49,7 @@ syntax keyword plantumlKeyword bottom box break caption center circle color crea
|
||||
syntax keyword plantumlKeyword description destroy detach dotted down else elseif empty end endif endwhile
|
||||
syntax keyword plantumlKeyword false footbox footer fork group header hide hnote if is italic kill left legend
|
||||
syntax keyword plantumlKeyword link loop mainframe map members namespace newpage normal note of on opt order
|
||||
syntax keyword plantumlKeyword over package page par partition plain ref repeat return right rnote rotate show
|
||||
syntax keyword plantumlKeyword over page par partition plain ref repeat return right rnote rotate show
|
||||
syntax keyword plantumlKeyword skin skinparam split sprite start stereotype stop style then title top true up
|
||||
syntax keyword plantumlKeyword while
|
||||
|
||||
@@ -59,7 +64,8 @@ syntax keyword plantumlKeyword printscale ganttscale projectscale daily weekly m
|
||||
syntax keyword plantumlKeyword day days week weeks today then complete displays same row pauses
|
||||
|
||||
syntax keyword plantumlCommentTODO XXX TODO FIXME NOTE contained
|
||||
syntax match plantumlColor /#[0-9A-Fa-f]\{6\}\>/
|
||||
" PlantUML colors are 6 hexa digit long plus optionaly 2 more to code transparency
|
||||
syntax match plantumlColor /#\x\{6\}\%(\x\{2\}\)\?\>/
|
||||
syntax case ignore
|
||||
syntax keyword plantumlColor APPLICATION AliceBlue AntiqueWhite Aqua Aquamarine Azure BUSINESS Beige Bisque
|
||||
syntax keyword plantumlColor Black BlanchedAlmond Blue BlueViolet Brown BurlyWood CadetBlue Chartreuse
|
||||
@@ -133,7 +139,7 @@ syntax match plantumlTag /<\/\?[bi]>/
|
||||
syntax region plantumlTag start=/<\/\?\%(back\|color\|del\|font\|img\|s\|size\|strike\|u\|w\)/ end=/>/
|
||||
|
||||
" Labels with a colon
|
||||
syntax match plantumlColonLine /\S\@<=\s*\zs : .\+$/ contains=plantumlSpecialString
|
||||
syntax match plantumlColonLine /\S\@<=\s*:\s*\zs.\+$/ contains=plantumlSpecialString
|
||||
|
||||
" Stereotypes
|
||||
syntax match plantumlStereotype /<<[^-.]\+>>/ contains=plantumlSpecialString
|
||||
@@ -393,6 +399,14 @@ syntax keyword plantumlSkinparamKeyword usecaseActorStereotypeFontStyle usecaseA
|
||||
syntax keyword plantumlSkinparamKeyword usecaseArrowFontName usecaseArrowFontSize usecaseArrowFontStyle
|
||||
syntax case match
|
||||
|
||||
" Other style keywords not found in plantumlSkinparamKeyword
|
||||
" Some are not implemented (yet)
|
||||
" see https://plantuml.com/fr/style-evolution
|
||||
" TODO: put those keywords in a new "<style>" region
|
||||
syntax case ignore
|
||||
syntax keyword plantumlSkinparamKeyword Margin HorizontalAlignment DiagonalCorner ExportedName Image ImagePosition MinimumWidth WordWrap MaximumWidth
|
||||
syntax case match
|
||||
|
||||
" Builtin Function
|
||||
" https://plantuml.com/ja/preprocessing
|
||||
syntax match plantumlBuiltinFunction /%\%(chr\|darken\|date\|dec2hex\|dirpath\|feature\|false\|file_exists\|filename\|function_exists\|get_variable_value\|getenv\|hex2dec\|hsl_color\|intval\|is_dark\|is_light\|lighten\|loadJSON\|lower\|newline\|not\|lighten\|reverse_color\|reverse_hsluv_color\|set_variable_value\|size\|string\|strlen\|strpos\|substr\|true\|upper\|variable_exists\|version\)/
|
||||
@@ -436,6 +450,7 @@ highlight default link plantumlNoteMultiLine String
|
||||
highlight default link plantumlUsecaseActor String
|
||||
highlight default link plantumlStereotype Type
|
||||
highlight default link plantumlBuiltinFunction Function
|
||||
highlight default link plantumlFunction Function
|
||||
highlight default link plantumlGanttTask Type
|
||||
|
||||
let &cpoptions=s:cpo_orig
|
||||
|
||||
331
syntax/pony.vim
331
syntax/pony.vim
@@ -3,229 +3,182 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'pony', 'syntax/pony.vim')
|
||||
endif
|
||||
|
||||
" Vim syntax file
|
||||
" Language: Pony
|
||||
" Maintainer: Jak Wings
|
||||
" Language: Pony
|
||||
" Maintainer: You
|
||||
" Last Change: 2015 May 6
|
||||
" Original Author: David Leonard
|
||||
|
||||
if exists('b:current_syntax')
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
let s:cpo_save = &cpo
|
||||
set cpo&vim
|
||||
" For syntastic as the 'pony' filetype is not officially registered.
|
||||
if exists('g:syntastic_extra_filetypes')
|
||||
call add(g:syntastic_extra_filetypes, 'pony')
|
||||
else
|
||||
let g:syntastic_extra_filetypes = ['pony']
|
||||
endif
|
||||
|
||||
" TODO add markdown to triple-comments
|
||||
|
||||
syn case match
|
||||
|
||||
syn sync match ponySync grouphere NONE /\v^\s*%(actor|class|struct|primitive|trait|interface|new|be|fun|let|var|embed|use)>/
|
||||
" Sync at the beginning of classes, functions
|
||||
syn sync match ponySync grouphere NONE "^\s*\%(class\|fun\|be\|new\)\s\+[a-zA-Z_]"
|
||||
|
||||
syn match ponyErrSymbol /['^!$&\`]/
|
||||
hi def link ponyErrSymbol Error
|
||||
" Constants
|
||||
syn region ponyString start=+"+ skip=+\\"+ end=+"+ contains=ponyEscape
|
||||
syn region ponyTripleString start=+"""+ end=+"""+ contains=ponyEscape,@markdownBlock
|
||||
syn match ponyEscape contained "\\x\x\{2}"
|
||||
syn match ponyEscape contained "\\u\x\{4}"
|
||||
syn match ponyEscape contained "\\U\x\{6}"
|
||||
syn match ponyEscape contained "\\[\\abefnrtv\"'0]"
|
||||
|
||||
syn match ponyErrNumGroup /__\+/ contained
|
||||
hi def link ponyErrNumGroup Error
|
||||
|
||||
syn match ponyPeriodComma /,/ nextgroup=ponyEllipsis,ponyErrOperator skipwhite
|
||||
syn match ponyPeriodComma /\./ nextgroup=ponyTupleIndex,ponyErrOperator skipwhite
|
||||
syn match ponyPeriodComma /;/ nextgroup=ponyErrOperator skipwhite
|
||||
hi def link ponyPeriodComma Operator
|
||||
|
||||
syn match ponyBracket /[{[()\]}]/
|
||||
|
||||
syn match ponyErrNormal /\v_>|<%([^_a-z]|_[^a-z])|__+/ contained
|
||||
hi def link ponyErrNormal Error
|
||||
syn match ponyNormal /\v_?[_a-z]\w*'*/ contains=ponyErrNormal nextgroup=ponyGeneric skipwhite
|
||||
|
||||
syn match ponyInteger /\v%(\d+_*)+/ contains=ponyErrNumGroup
|
||||
syn match ponyErrIntDec /\v(0[xX])@<=[_.g-zG-Z]/
|
||||
syn match ponyErrIntHex /[.g-zG-Z]/ contained
|
||||
syn match ponyInteger /\v0[xX]%(\x+_*)+/ contains=ponyErrNumGroup nextgroup=ponyErrIntHex
|
||||
syn match ponyErrIntDec /\v(0[bB])@<=[_2-9a-zA-Z]/
|
||||
syn match ponyErrIntBin /[2-9.a-zA-Z]/ contained
|
||||
syn match ponyInteger /\v0[bB]%([01]+_*)+/ contains=ponyErrNumGroup nextgroup=ponyErrIntBin
|
||||
hi def link ponyErrIntDec Error
|
||||
hi def link ponyErrIntHex Error
|
||||
hi def link ponyErrIntBin Error
|
||||
hi def link ponyInteger Number
|
||||
|
||||
syn match ponyFloat /\v%(\d+_*)+[eE][-+]?%(\d+_*)+/ contains=ponyErrNumGroup
|
||||
syn match ponyFloat /\v%(\d+_*)+\.%(\d+_*)+%([eE][-+]?%(\d+_*)+)?/ contains=ponyErrNumGroup
|
||||
hi def link ponyFloat Float
|
||||
|
||||
syn match ponyErrUserVariable /\v_>|<%([^_a-z]|_[^a-z])|__+/ contained
|
||||
hi def link ponyErrUserVariable Error
|
||||
syn match ponyUserVariable /\v[_a-zA-Z]\w*'*/ contained contains=ponyErrUserVariable
|
||||
hi def link ponyUserVariable Identifier
|
||||
syn match ponyErrUserPackage /\<[^a-z]/ contained
|
||||
hi def link ponyErrUserPackage Error
|
||||
syn match ponyUserPackage /\v[_a-zA-Z]\w*/ contained contains=ponyErrUserPackage
|
||||
hi def link ponyUserPackage Identifier
|
||||
syn match ponyErrUserType /\v_>|\a@<=_|<%([^_A-Z]|_[^A-Z])/ contained
|
||||
hi def link ponyErrUserType Error
|
||||
syn match ponyUserType2 /\v[_a-zA-Z]\w*/ contained contains=ponyErrUserType nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyGeneric,ponyArgument skipwhite
|
||||
syn match ponyUserType /\v_?[A-Z]\w*/ contains=ponyErrUserType nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyGeneric,ponyArgument skipwhite
|
||||
syn match ponyErrUserMethod /\v_>|<%([^_a-z]|_[^a-z])|__+/ contained
|
||||
hi def link ponyErrUserMethod Error
|
||||
syn match ponyUserMethod /\v[_a-zA-Z]\w*/ contained contains=ponyErrUserMethod nextgroup=ponyGeneric,ponyArgument,ponyBracketT2 skipwhite
|
||||
hi def link ponyUserMethod Function
|
||||
syn match ponyForeignFunction /\v[_a-zA-Z]\w*/ contained nextgroup=ponyGeneric skipwhite
|
||||
hi def link ponyForeignFunction Macro
|
||||
syn match ponyErrTupleIndex /\v_0+>/ contained
|
||||
hi def link ponyErrTupleIndex Error
|
||||
syn match ponyTupleIndex /\v_\d+\w@!/ contained contains=ponyErrTupleIndex
|
||||
hi def link ponyTupleIndex Normal
|
||||
hi def link ponyString String
|
||||
hi def link ponyTripleString String
|
||||
hi def link ponyEscape Character
|
||||
|
||||
syn match ponyInt "\d\+"
|
||||
syn match ponyIntError "0[bx]"
|
||||
syn match ponyInt "0x\x\+"
|
||||
syn match ponyInt "0b[01]\+"
|
||||
syn match ponyCharError "'"
|
||||
syn match ponyChar "'[^\\']'"
|
||||
syn match ponyChar "'\\[\\abefnrtv\"'0]'" contains=ponyEscape
|
||||
syn match ponyChar "'\\x\x\{2}'" contains=ponyEscape
|
||||
syn match ponyChar "'\\u\x\{4}'" contains=ponyEscape
|
||||
syn match ponyChar "'\\U\x\{6}'" contains=ponyEscape
|
||||
syn keyword ponyBoolean true false
|
||||
syn match ponyReal "\d\+\%(\.\d\+\)\=[Ee][+-]\=\d\+"
|
||||
syn match ponyReal "\d\+\.\d\+\%([Ee][+-]\=\d\+\)\="
|
||||
|
||||
hi def link ponyInt Number
|
||||
hi def link ponyChar Number
|
||||
hi def link ponyBoolean Boolean
|
||||
hi def link ponyReal Float
|
||||
hi def link ponyCharError Error
|
||||
hi def link ponyIntError Error
|
||||
|
||||
syn region ponyBracketT1 matchgroup=ponyBracket start=/(/ end=/)/ contained contains=@ponyComments,@ponyKeyword,@ponyType,@ponyBracketT,@ponyTypeOperator,ponySymbol,ponyPeriodComma nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyArgument skipwhite
|
||||
syn region ponyBracketT2 matchgroup=ponyBracket start=/\[/ end=/\]/ contained contains=@ponyComments,@ponyKeyword,@ponyType,@ponyBracketT,@ponyTypeOperator,ponySymbol,ponyPeriodComma nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyArgument skipwhite
|
||||
syn region ponyBracketT3 matchgroup=ponyBracket start=/{/ end=/}/ contained contains=@ponyComments,@ponyKeyword,@ponyType,@ponyBracketT,@ponyTypeOperator,ponySymbol,ponyPeriodComma nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyArgument skipwhite
|
||||
syn cluster ponyBracketT contains=ponyBracketT\d
|
||||
" Identifiers
|
||||
|
||||
syn region ponyGeneric matchgroup=ponyBracketT2 start=/\[/ end=/\]/ contained contains=@ponyComments,@ponyKeyword,@ponyType,@ponyBracketT,@ponyTypeOperator,ponySymbol,ponyPeriodComma nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyArgument skipwhite
|
||||
syn match ponyId "\<\a[a-zA-Z0-9_']*" nextgroup=ponyCap,ponyCapMod
|
||||
syn match ponyPrivateId "\<_[a-zA-Z0-9_']\+"
|
||||
syn cluster PonyIdentifier contains=ponyId,ponyPrivateId
|
||||
"hi def link ponyId Identifier
|
||||
"hi def link ponyPrivateId Identifier
|
||||
|
||||
syn region ponyArgument matchgroup=ponyBracket start=/(/ end=/)/ contained contains=TOP nextgroup=ponyArgument skipwhite
|
||||
syn keyword ponyBuiltinClass Array ArrayKeys ArrayValues ArrayPairs
|
||||
syn keyword ponyBuiltinClass Env Pointer String StringValues
|
||||
hi def link ponyBuiltinClass Structure
|
||||
|
||||
syn match ponyTypeSuffix /[!^]/ contained nextgroup=ponyArgument,ponyKwOperatorT skipwhite
|
||||
hi def link ponyTypeSuffix StorageClass
|
||||
|
||||
syn match ponyTypeOperator1 /[&|]/ contained nextgroup=@ponyBracketT,@ponyKeyword,@ponyType skipwhite skipempty
|
||||
hi def link ponyTypeOperator1 Operator
|
||||
|
||||
syn match ponyTypeOperator2 /->\|<:/ contained nextgroup=@ponyBracketT,@ponyKeyword,@ponyType skipwhite skipempty
|
||||
hi def link ponyTypeOperator2 Operator
|
||||
|
||||
syn cluster ponyTypeOperator contains=ponyTypeOperator\d
|
||||
|
||||
syn match ponyErrOperator /[-.]>\|<:\|\%(==\|!=\|<<\|>>\|<=\|>=\|[+*/%<>]\)\~\?\|[~.,]/ contained nextgroup=ponyErrOperator skipwhite
|
||||
hi def link ponyErrOperator Error
|
||||
|
||||
syn match ponyObjectOperator /\%(==\|!=\|<<\|>>\|<=\|>=\|[+\-*/%<>]\)\~\?\|\~\|\.>/ nextgroup=ponyErrOperator skipwhite
|
||||
hi def link ponyObjectOperator Operator
|
||||
|
||||
syn keyword ponyKwOperatorT is contained nextgroup=@ponyBracketT,@ponyKeyword,@ponyType skipwhite skipempty
|
||||
hi def link ponyKwOperatorT Operator
|
||||
|
||||
syn keyword ponyKwOperator as nextgroup=@ponyBracketT,@ponyKeyword,@ponyType skipwhite skipempty
|
||||
syn keyword ponyKwOperator and or xor not is isnt consume addressof digestof
|
||||
hi def link ponyKwOperator Operator
|
||||
|
||||
syn match ponySymbol /=>\|[?#]/
|
||||
syn match ponySymbol /@/ nextgroup=ponyForeignFunction skipwhite skipempty
|
||||
syn match ponySymbol /:/ nextgroup=@ponyKeyword,@ponyType,@ponyBracketT skipwhite skipempty
|
||||
hi def link ponySymbol Special
|
||||
|
||||
syn match ponyEllipsis /\.\{3}/ contained containedin=ponyArgument
|
||||
hi def link ponyEllipsis Special
|
||||
|
||||
syn region ponyLambda matchgroup=ponyBracketLambda start=/{/ end=/}/ contains=ponyArgument,@ponyComments,@ponyKeyword,@ponyType,@ponyTypeOperator,ponySymbol,ponyPeriodComma,ponyLambdaBody nextgroup=ponyArgument skipwhite
|
||||
syn match ponyLambdaBody /=>\_.*}/me=e-1 contained contains=TOP
|
||||
hi def link ponyBracketLambda Special
|
||||
|
||||
" $scripts/gen_id.sh $packages/builtin
|
||||
syn keyword ponyBuiltinType AmbientAuth Any Array ArrayKeys ArrayPairs
|
||||
\ ArrayValues AsioEvent AsioEventID
|
||||
\ AsioEventNotify Bool ByteSeq ByteSeqIter
|
||||
\ Comparable Compare DisposableActor
|
||||
\ DoNotOptimise Env Equal Equatable F32 F64
|
||||
\ Float FloatingPoint Greater HasEq I128 I16 I32
|
||||
\ I64 I8 ILong ISize Int Integer Iterator Less
|
||||
\ MaybePointer None Number OutStream Platform
|
||||
\ Pointer ReadElement ReadSeq Real Seq Signed
|
||||
\ SourceLoc StdStream Stdin StdinNotify String
|
||||
\ StringBytes StringRunes Stringable U128 U16
|
||||
\ U32 U64 U8 ULong USize Unsigned
|
||||
\ nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyGeneric,ponyArgument skipwhite
|
||||
syn keyword ponyBuiltinType Number Signed Unsigned Float
|
||||
syn keyword ponyBuiltinType I8 I16 I32 I64 I128 U8 U16 U32 U64 U128 F32 F64
|
||||
syn keyword ponyBuiltinType EventID Align IntFormat NumberPrefix FloatFormat
|
||||
hi def link ponyBuiltinType Type
|
||||
|
||||
syn keyword ponyKwControl end if else do then elseif match while for in
|
||||
\ repeat until ifdef try with recover return
|
||||
\ break continue error compile_intrinsic
|
||||
\ compile_error iftype elseiftype
|
||||
hi def link ponyKwControl Keyword
|
||||
syn keyword ponyBuiltinIface Arithmetic Logical Bits Comparable Ordered
|
||||
syn keyword ponyBuiltinIface EventNotify Iterator ReadSeq StdinNotify Seq
|
||||
syn keyword ponyBuiltinIface Stringable Bytes BytesList Stream Any
|
||||
hi def link ponyBuiltinIface Type
|
||||
|
||||
syn keyword ponyCaseGuard if contained containedin=ponyMatchCase
|
||||
hi def link ponyCaseGuard Keyword
|
||||
syn region ponyMethodDecl matchgroup=ponyMethodKeyword start=+\<\%(fun\|be\|new\)\>+ end=+[[({]\@=+ contains=ponyCap,ponyMethod,@PonyComment
|
||||
syn keyword ponyMethodKeyword contained fun be new
|
||||
syn match ponyMethod contained "\<\a[a-zA-Z0-9_']*"
|
||||
syn match ponyMethod contained "\<_[a-zA-Z0-9_']\+"
|
||||
hi def link ponyMethod Function
|
||||
hi def link ponyMethodKeyword Keyword
|
||||
|
||||
syn region ponyMatchCase matchgroup=ponyKwBranchHead start=/|/ matchgroup=ponySymbol end=/=>/ contains=TOP
|
||||
hi def link ponyKwBranchHead Keyword
|
||||
syn region ponyVarDecl matchgroup=ponyVarKeyword start=+\<\%(var\|let\|embed\)\>+ end=+[:=]\@=+ contains=ponyVar,@PonyComment
|
||||
syn keyword ponyVarKeyword contained var let embed
|
||||
syn match ponyVar contained "\<\a[a-zA-Z0-9_']*"
|
||||
syn match ponyVar contained "\<_[a-zA-Z0-9_']\+"
|
||||
hi def link ponyVar Identifier
|
||||
hi def link ponyVarKeyword Keyword
|
||||
|
||||
syn keyword ponyKwAtom this nextgroup=ponyTypeOperator2 skipwhite skipempty
|
||||
syn keyword ponyKwAtom object __loc
|
||||
syn keyword ponyKwAtom lambda nextgroup=ponyArgument skipwhite
|
||||
hi def link ponyKwAtom Keyword
|
||||
" Operators and delimiters
|
||||
|
||||
syn keyword ponyKwField let var embed nextgroup=@ponyKeyword,ponyUserVariable skipwhite skipempty
|
||||
hi def link ponyKwField Keyword
|
||||
syn match ponyCapModError +[\^\!]+
|
||||
hi def link ponyCapModError Error
|
||||
|
||||
syn keyword ponyKwUse use nextgroup=ponyString,@ponyKeyword,ponyUserPackage skipwhite skipempty
|
||||
hi def link ponyKwUse Include
|
||||
syn match ponyQuestion +?+
|
||||
hi def link ponyQuestion StorageClass
|
||||
|
||||
syn keyword ponyKwWhere where
|
||||
hi def link ponyKwWhere Keyword
|
||||
syn match ponyAt +@+
|
||||
hi def link ponyAt Delimiter
|
||||
|
||||
syn keyword ponyKwTypedef type nextgroup=@ponyKeyword,@ponyType2 skipwhite skipempty
|
||||
hi def link ponyKwTypedef Typedef
|
||||
syn match ponyAtOpError +@[^ \-[("a-zA-Z_]+
|
||||
syn match ponyAtIdError +@\s\+[^"a-zA-Z_]+
|
||||
hi def link ponyAtIdError Error
|
||||
hi def link ponyAtOpError Error
|
||||
|
||||
syn match ponyKwCapability /\v#%(read|send|share|alias|any)>/ nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT skipwhite
|
||||
syn keyword ponyKwCapability ref val tag iso box trn nextgroup=ponyTypeSuffix,ponyTypeOperator2,ponyKwOperatorT,ponyArgument skipwhite
|
||||
hi def link ponyKwCapability StorageClass
|
||||
syn keyword ponyOp1 and or xor is isnt not consume
|
||||
syn match ponyOp2 +\([=!]=\|[<>]=\|<<\|>>\|@-\|[-+<>*/%&|]\)+
|
||||
hi def link ponyOp1 Operator
|
||||
hi def link ponyOp2 Operator
|
||||
|
||||
syn keyword ponyKwClass actor class struct primitive trait interface nextgroup=@ponyKeyword,@ponyType2 skipwhite skipempty
|
||||
hi def link ponyKwClass Structure
|
||||
" Keywords
|
||||
|
||||
syn keyword ponyKwFnCapability ref val tag iso box trn contained nextgroup=@ponyKeyword,ponyUserMethod skipwhite skipempty
|
||||
hi def link ponyKwFnCapability StorageClass
|
||||
syn keyword ponyKwFunction new be fun nextgroup=ponyKwFnCapability,@ponyKeyword,ponyUserMethod skipwhite skipempty
|
||||
hi def link ponyKwFunction Keyword
|
||||
syn keyword ponyUse use
|
||||
hi def link ponyUse Include
|
||||
|
||||
syn cluster ponyKeyword contains=ponyKw.*,ponyBoolean,ponyBuiltinType remove=ponyKwOperatorT,ponyKwFnCapability,ponyKwBranchHead
|
||||
syn cluster ponyType contains=ponyBuiltinType,ponyUserType,ponyNormal
|
||||
syn cluster ponyType2 contains=ponyBuiltinType,ponyUserType2
|
||||
syn cluster ponyComments contains=ponyNestedComment,ponyComment
|
||||
syn keyword ponyStatement return break continue
|
||||
syn keyword ponyKeyword error
|
||||
syn keyword ponyConditional if then else elseif match
|
||||
syn keyword ponyKeyword do end
|
||||
syn keyword ponyKeyword in
|
||||
syn keyword ponyRepeat while repeat until for
|
||||
syn keyword ponyKeyword with
|
||||
syn keyword ponyTry try recover
|
||||
syn keyword ponyKeyword this box
|
||||
syn keyword ponyKeyword as where
|
||||
hi def link ponyStatement Statement
|
||||
hi def link ponyConditional Conditional
|
||||
hi def link ponyRepeat Repeat
|
||||
hi def link ponyKeyword Keyword
|
||||
hi def link ponyTry Exception
|
||||
|
||||
syn match ponyErrEscape /\\\_.\?\_s*/ contained
|
||||
hi def link ponyErrEscape Error
|
||||
syn match ponyEscapeSQuote /\\'/ contained
|
||||
hi def link ponyEscapeSQuote SpecialChar
|
||||
syn match ponyEscapeDQuote /\\"/ contained
|
||||
hi def link ponyEscapeDQuote SpecialChar
|
||||
syn match ponyEscape /\\[abefnrtv\\0]/ contained
|
||||
syn match ponyEscape /\v\\x\x{2}/ contained
|
||||
syn match ponyEscape /\v\\u\x{4}/ contained
|
||||
syn match ponyEscape /\v\\U\x{6}/ contained
|
||||
hi def link ponyEscape SpecialChar
|
||||
syn keyword ponyTypedef type
|
||||
syn keyword ponyStructure interface trait primitive class actor
|
||||
hi def link ponyTypedef Typedef
|
||||
hi def link ponyStructure Structure
|
||||
|
||||
syn region ponyCharacter matchgroup=ponyCharacterX start=/\w\@<!'/ skip=/\\./ end=/'/ contains=ponyEscapeSQuote,ponyEscape,ponyErrEscape
|
||||
hi def link ponyCharacter Character
|
||||
syn keyword ponyCap iso trn ref val box tag nextgroup=ponyCapMod
|
||||
syn match ponyCapMod contained +[\^\!]+
|
||||
hi def link ponyCap StorageClass
|
||||
hi def link ponyCapMod StorageClass
|
||||
|
||||
syn region ponyString matchgroup=ponyStringX start=/"/ skip=/\\./ end=/"/ contains=ponyEscapeDQuote,ponyEscape,ponyErrEscape
|
||||
hi def link ponyString String
|
||||
syn region ponyDocumentString matchgroup=ponyDocumentStringX start=/"\ze""/ end=/"""*\zs"/
|
||||
hi def link ponyDocumentString String
|
||||
syn keyword ponySpecial compiler_intrinsic
|
||||
hi def link ponySpecial Special
|
||||
|
||||
syn keyword ponyCommentShit XXX contained
|
||||
hi def link ponyCommentShit Underlined
|
||||
syn keyword ponyCommentDamn FIXME contained
|
||||
hi def link ponyCommentDamn Error
|
||||
syn keyword ponyCommentTodo TODO contained
|
||||
hi def link ponyCommentTodo Todo
|
||||
syn cluster ponyCommentNote contains=ponyCommentTodo,ponyCommentDamn,ponyCommentShit
|
||||
syn keyword ponyAny _
|
||||
hi def link ponyAny Special
|
||||
|
||||
syn match ponyComment @//.*$@ contains=@ponyCommentNote,ponyCommentX
|
||||
hi def link ponyComment Comment
|
||||
syn region ponyNestedComment matchgroup=ponyNestedCommentX start=@/\ze\*@ end=@\/\@<!\*\zs/@ contains=ponyNestedComment,@ponyCommentNote keepend extend fold
|
||||
" Parentheses
|
||||
|
||||
syn match ponyParenError +[()]+
|
||||
syn region ponyParen transparent start=+(+ end=+)+ contains=TOP,ponyParenError
|
||||
syn match ponyArrayError +[\[\]]+
|
||||
syn region ponyArray transparent start=+\[+ end=+]+ contains=TOP,ponyArrayError
|
||||
syn match ponyConstError +[{}]+
|
||||
syn region ponyConst transparent start=+{+ end=+}+ contains=TOP,ponyConstError
|
||||
|
||||
hi def link ponyParenError Error
|
||||
hi def link ponyArrayError Error
|
||||
hi def link ponyConstError Error
|
||||
|
||||
" Methods
|
||||
|
||||
syn match ponyIntroducer +=>+
|
||||
hi def link ponyIntroducer Delimiter
|
||||
|
||||
" Comments
|
||||
syn region ponyLineComment start=+//+ end=+$+ contains=ponyTodo keepend
|
||||
syn region ponyNestedComment start=+/\*+ end=+\*/+ contains=ponyTodo,ponyNestedComment
|
||||
syn cluster ponyComment contains=ponyLineComment,ponyNestedComment
|
||||
syn keyword ponyTodo contained TODO FIXME XXX
|
||||
|
||||
hi def link ponyLineComment Comment
|
||||
hi def link ponyNestedComment Comment
|
||||
hi def link ponyTodo Todo
|
||||
|
||||
" for indent check
|
||||
syn match ponyCommentX @/\ze/.*$@ contained transparent
|
||||
hi def link ponyNestedCommentX Comment
|
||||
hi def link ponyCharacterX Character
|
||||
hi def link ponyStringX String
|
||||
hi def link ponyDocumentStringX String
|
||||
|
||||
|
||||
let &cpo = s:cpo_save
|
||||
unlet s:cpo_save
|
||||
|
||||
let b:current_syntax = 'pony'
|
||||
let b:current_syntax = "pony"
|
||||
|
||||
58
syntax/prisma.vim
Normal file
58
syntax/prisma.vim
Normal file
@@ -0,0 +1,58 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'prisma', 'syntax/prisma.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
if exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
syn case match
|
||||
|
||||
" Comment
|
||||
syn match prismaComment "\v//.*$"
|
||||
" Directive
|
||||
syn match prismaDirective /\<@@\=\h\w*/ nextgroup=prismaFunctionParans
|
||||
" Ugly hack right now, probably this is not needed after refactoring
|
||||
syn match prismaPartialDirective /@@\=\h\w*/ nextgroup=prismaFunctionParans
|
||||
syn region prismaFunctionParans matchgroup=prismaParans start=/(/ end=/)/ contained contains=prismaString,prismaFunctionArgs,prismaFunction,prismaList
|
||||
syn match prismaFunction /\v\h\w*/ contained nextgroup=prismaFunctionParans
|
||||
syn match prismaFunctionArgs /\v\h\w*:/ contained containedin=prismaFunctionParans nextgroup=prismaString
|
||||
syn region prismaTypeAliasDeclaration matchgroup=prismaTypeAliasDeclaration start=/\vtype\s+/ end=/\v$/ contains=prismaValue,prismaDirective,prismaComment,prismaOperator
|
||||
|
||||
|
||||
syn region prismaString start=/\v"/ skip=/\v\\./ end=/\v"/
|
||||
" Model Declaration
|
||||
syn region prismaModelDeclaration matchgroup=prismaModel start=/\vmodel\s+\h\w*\s*\{/ end=/}/ contains=prismaComment,prismaOperator,prismaString,prismaFieldRegion,prismaDirective transparent
|
||||
syn match prismaField /\<\h\w*\>/ contained containedin=prismaFieldRegion nextgroup=prismaType skipwhite
|
||||
syn match prismaType /\<\h\w*\>/ contained containedin=prismaModelDeclaration nextgroup=prismaDirective skipwhite
|
||||
syn region prismaFieldRegion start=/\v^\s*/ms=e+1 end=/\v\s/me=s-1 contains=prismaField,prismaComment contained transparent containedin=prismaModelDeclaration skipwhite
|
||||
syn match prismaMultiFieldDirective /^\s*@/ contained containedin=prismaModelDeclaration nextgroup=prismaPartialDirective
|
||||
|
||||
syn region prismaNonModelDeclaration matchgroup=prismaModel start=/\v((datasource)=(generator)=(enum)=)+\s+\h\w*\s*\{/ end=/}/ contains=prismaString,prismaList,prismaValueDeclarationRegion,prismaOperator transparent
|
||||
syn match prismaValue /\<\h\w*\>/ contained containedin=prismaValueDeclarationRegion,prismaTypeAliasDeclaration nextgroup=prismaOperator skipwhite
|
||||
syn region prismaValueDeclarationRegion start=/\v^\s*/ms=e+1 end=/\v\s*/me=s-1 contains=prismaValueDeclaration contained transparent containedin=prismaNonModelDeclaration skipwhite
|
||||
|
||||
syn match prismaOperator "?" display
|
||||
syn match prismaOperator "\[\]" display
|
||||
syn match prismaOperator /\v\=/ display
|
||||
syn region prismaList matchgroup=prismaList start="\[" end="]" contains=ALLBUT,prismaDirective,prismaModelDeclaration,prismaNonModelDeclaration
|
||||
|
||||
|
||||
hi def link prismaList Delimiter
|
||||
hi def link prismaParans Delimiter
|
||||
hi def link prismaDirective PreProc
|
||||
hi def link prismaOperator Operator
|
||||
hi def link prismaMultiFieldDirective PreProc
|
||||
hi def link prismaField Keyword
|
||||
hi def link prismaType Type
|
||||
hi def link prismaModel Delimiter
|
||||
hi def link prismaString String
|
||||
hi def link prismaFunctionArgs Identifier
|
||||
hi def link prismaFunction Function
|
||||
hi def link prismaPartialDirective PreProc
|
||||
hi def link prismaValue Identifier
|
||||
hi def link prismaModel Delimiter
|
||||
hi def link prismaComment Comment
|
||||
hi def link prismaTypeAliasDeclaration Keyword
|
||||
|
||||
let b:current_syntax = "prisma"
|
||||
@@ -48,7 +48,7 @@ syn match ps1Repeat /\<foreach\>/ nextgroup=ps1Block skipwhite
|
||||
syn match ps1Keyword /\<while\>/ nextgroup=ps1Block skipwhite
|
||||
syn match ps1Keyword /\<where\>/ nextgroup=ps1Block skipwhite
|
||||
|
||||
syn keyword ps1Exception begin process end exit inlinescript parallel sequence
|
||||
syn keyword ps1Exception begin process end clean exit inlinescript parallel sequence
|
||||
syn keyword ps1Keyword try catch finally throw
|
||||
syn keyword ps1Keyword return filter in trap param data dynamicparam
|
||||
syn keyword ps1Constant $true $false $null
|
||||
@@ -116,12 +116,12 @@ syn match ps1Operator /\(^\|\s\)\@<=\. \@=/
|
||||
|
||||
" Regular Strings
|
||||
" These aren't precisely correct and could use some work
|
||||
syn region ps1String start=/"/ skip=/`"/ end=/"/ contains=@ps1StringSpecial,@Spell
|
||||
syn region ps1String start=/'/ skip=/''/ end=/'/
|
||||
syn region ps1String start=/["\u201c-\u201e]/ skip=/`["\u201c-\u201e]/ end=/["\u201c-\u201e]/ contains=@ps1StringSpecial,@Spell
|
||||
syn region ps1String start=/['\u2018-\u201b]/ end=/['\u2018-\u201b]/
|
||||
|
||||
" Here-Strings
|
||||
syn region ps1String start=/@"$/ end=/^"@/ contains=@ps1StringSpecial,@Spell
|
||||
syn region ps1String start=/@'$/ end=/^'@/
|
||||
syn region ps1String start=/@["\u201c-\u201e]$/ end=/^["\u201c-\u201e]@/ contains=@ps1StringSpecial,@Spell
|
||||
syn region ps1String start=/@['\u2018-\u201b]$/ end=/^['\u2018-\u201b]@/
|
||||
|
||||
" Interpolation
|
||||
syn match ps1Escape /`./
|
||||
@@ -144,7 +144,7 @@ syn match ps1BuiltIn "$\%(match\(es\)\?\|myinvocation\|host\|lastexitcode\)\>"
|
||||
syn match ps1BuiltIn "$\%(ofs\|shellid\|stacktrace\)\>"
|
||||
|
||||
" Named Switch
|
||||
syn match ps1Label /\s-\w\+/
|
||||
syn match ps1Label /\s-\h\w*/
|
||||
|
||||
" Folding blocks
|
||||
if !exists('g:ps1_nofold_blocks')
|
||||
|
||||
@@ -47,7 +47,7 @@ syn match qmlCharacter "'\\.'"
|
||||
syn match qmlNumber "-\=\<\d\+L\=\>\|0[xX][0-9a-fA-F]\+\>"
|
||||
syn region qmlRegexpString start=+/[^/*]+me=e-1 skip=+\\\\\|\\/+ end=+/[gi]\{0,2\}\s*$+ end=+/[gi]\{0,2\}\s*[;.,)\]}]+me=e-1 contains=@htmlPreproc oneline
|
||||
syn match qmlObjectLiteralType "[A-Za-z][_A-Za-z0-9]*\s*\({\)\@="
|
||||
syn region qmlTernaryColon start="?" end=":" contains=@qmlExpr,qmlBraces,qmlParens
|
||||
syn region qmlTernaryColon start="?" end=":" contains=@qmlExpr,qmlBraces,qmlParens,qmlLineComment
|
||||
syn match qmlBindingProperty "\<[A-Za-z][_A-Za-z.0-9]*\s*:"
|
||||
syn match qmlNullishCoalescing "??"
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'requirements', 'syntax/requir
|
||||
endif
|
||||
|
||||
" the Requirements File Format syntax support for Vim
|
||||
" Version: 1.7.1
|
||||
" Version: 1.8.0
|
||||
" Author: raimon <raimon49@hotmail.com>
|
||||
" License: MIT LICENSE
|
||||
" The MIT License (MIT)
|
||||
@@ -34,6 +34,12 @@ endif
|
||||
|
||||
syn case match
|
||||
|
||||
" https://pip.pypa.io/en/stable/reference/requirements-file-format/
|
||||
" https://pip.pypa.io/en/stable/reference/inspect-report/#example
|
||||
syn keyword requirementsKeyword implementation_name implementation_version os_name platform_machine platform_release platform_system platform_version python_full_version platform_python_implementation python_version sys_platform contained
|
||||
syn region requirementsSubst matchgroup=requirementsSubstDelim start="\V${" end="\V}"
|
||||
syn region requirementsString matchgroup=requirementsStringDelim start=`'` skip=`\\'` end=`'`
|
||||
syn region requirementsString matchgroup=requirementsStringDelim start=`"` skip=`\\"` end=`"`
|
||||
syn match requirementsVersion "\v\d+[a-zA-Z0-9\.\-\*]*"
|
||||
syn region requirementsComment start="[ \t]*#" end="$"
|
||||
syn match requirementsCommandOption "\v^\[?--?[a-zA-Z\-]*\]?"
|
||||
@@ -42,8 +48,13 @@ syn match requirementsPackageName "\v^([a-zA-Z0-9][a-zA-Z0-9\-_\.]*[a-zA-Z0-9])"
|
||||
syn match requirementsExtras "\v\[\S+\]"
|
||||
syn match requirementsVersionControls "\v(git\+?|hg\+|svn\+|bzr\+).*://.\S+"
|
||||
syn match requirementsURLs "\v(\@\s)?(https?|ftp|gopher)://?[^\s/$.?#].\S*"
|
||||
syn match requirementsEnvironmentMarkers "\v;\s[^#]+"
|
||||
syn match requirementsEnvironmentMarkers "\v;\s[^#]+" contains=requirementsKeyword,requirementsVersionSpecifiers,requirementsString
|
||||
|
||||
hi def link requirementsKeyword Keyword
|
||||
hi def link requirementsSubstDelim Delimiter
|
||||
hi def link requirementsSubst PreProc
|
||||
hi def link requirementsStringDelim Delimiter
|
||||
hi def link requirementsString String
|
||||
hi def link requirementsVersion Number
|
||||
hi def link requirementsComment Comment
|
||||
hi def link requirementsCommandOption Special
|
||||
|
||||
@@ -6,7 +6,6 @@ endif
|
||||
" Language: Ruby
|
||||
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
||||
" URL: https://github.com/vim-ruby/vim-ruby
|
||||
" Release Coordinator: Doug Kearns <dougkearns@gmail.com>
|
||||
" ----------------------------------------------------------------------------
|
||||
"
|
||||
" Previous Maintainer: Mirko Nasato
|
||||
@@ -438,8 +437,8 @@ syn match rubySharpBang "\%^#!.*" display
|
||||
syn keyword rubyTodo FIXME NOTE TODO OPTIMIZE HACK REVIEW XXX todo contained
|
||||
syn match rubyEncoding "[[:alnum:]-_]\+" contained display
|
||||
syn match rubyMagicComment "\c\%<3l#\s*\zs\%(coding\|encoding\):" contained nextgroup=rubyEncoding skipwhite
|
||||
syn match rubyMagicComment "\c\%<10l#\s*\zs\%(frozen_string_literal\|warn_indent\|warn_past_scope\):" contained nextgroup=rubyBoolean skipwhite
|
||||
syn match rubyMagicComment "\c\%<10l#\s*\zs\%(shareable_constant_value\):" contained nextgroup=rubyEncoding skipwhite
|
||||
syn match rubyMagicComment "\c\%<10l#\s*\zs\%(frozen[-_]string[-_]literal\|warn[-_]indent\|warn[-_]past[-_]scope\):" contained nextgroup=rubyBoolean skipwhite
|
||||
syn match rubyMagicComment "\c\%<10l#\s*\zs\%(shareable[-_]constant[-_]value\):" contained nextgroup=rubyEncoding skipwhite
|
||||
syn match rubyComment "#.*" contains=@rubyCommentSpecial,rubySpaceError,@Spell
|
||||
|
||||
syn cluster rubyCommentSpecial contains=rubySharpBang,rubyTodo,rubyMagicComment
|
||||
|
||||
@@ -74,7 +74,7 @@ syn match slimInterpolationEscape "\\\@<!\%(\\\\\)*\\\%(\\\ze#{\|#\ze{\)"
|
||||
syn region slimPlainFilter matchgroup=slimFilter start="^\z(\s*\)\%(rdoc\|textile\|markdown\|wiki\):\s*$" end="^\%(\z1 \| *$\)\@!"
|
||||
syn region slimJavascriptFilter matchgroup=slimFilter start="^\z(\s*\)javascript:\s*$" end="^\%(\z1 \| *$\)\@!" contains=@htmlJavaScript,slimInterpolation keepend
|
||||
syn region slimCoffeeFilter matchgroup=slimFilter start="^\z(\s*\)coffee:\s*$" end="^\%(\z1 \| *$\)\@!" contains=@coffeeAll,slimInterpolation keepend
|
||||
syn region slimCSSFilter matchgroup=slimFilter start="^\z(\s*\)css:\s*$" end="^\%(\z1 \| *$\)\@!" contains=@htmlCss,slimInterpolation keepend
|
||||
syn region slimCSSFilter matchgroup=slimFilter start="^\z(\s*\)\%(css\|scss\):\s*$" end="^\%(\z1 \| *$\)\@!" contains=@htmlCss,slimInterpolation keepend
|
||||
syn region slimSassFilter matchgroup=slimFilter start="^\z(\s*\)sass:\s*$" end="^\%(\z1 \| *$\)\@!" contains=@hamlSassTop
|
||||
syn region slimRubyFilter matchgroup=slimFilter start="^\z(\s*\)ruby:\s*$" end="^\%(\z1 \| *$\)\@!" contains=@slimRubyTop keepend
|
||||
|
||||
|
||||
@@ -188,7 +188,9 @@ hi def link solEmitEvent Special
|
||||
" Errors
|
||||
syn match solError /\<error\>/ nextgroup=solErrorName,solFuncParams skipwhite
|
||||
syn match solErrorName /\<[a-zA-Z_][0-9a-zA-Z_]*/ nextgroup=solFuncParam contained skipwhite
|
||||
syn region solErrorParam start='(' end=')' contains=solComma,solValueType,other contained skipwhite skipempty
|
||||
|
||||
hi def link solError Define
|
||||
hi def link solErrorName Function
|
||||
|
||||
" Constants
|
||||
@@ -323,6 +325,8 @@ syn match solNatspecTag /@author\>/ contained
|
||||
syn match solNatspecTag /@notice\>/ contained
|
||||
syn match solNatspecTag /@param\>/ contained
|
||||
syn match solNatspecTag /@return\>/ contained
|
||||
syn match solNatspecTag /@inheritdoc\>/ contained
|
||||
syn match solNatspecTag /@custom:[a-z][a-z-]*/ contained
|
||||
syn match solNatspecParam /\(@param\s*\)\@<=\<[a-zA-Z_][0-9a-zA-Z_]*/
|
||||
syn region solNatspecBlock start=/\/\/\// end=/$/ contains=solTodo,solNatspecTag,solNatspecParam,@Spell
|
||||
syn region solNatspecBlock start=/\/\*\{2}/ end=/\*\// contains=solTodo,solNatspecTag,solNatspecParam,@Spell
|
||||
|
||||
@@ -68,6 +68,9 @@ syn match cssValueAngle "[-+]\=\d\+\(\.\d*\)\=\(deg\|grad\|rad\|turn\)" containe
|
||||
syn match cssValueTime "+\=\d\+\(\.\d*\)\=\(ms\|s\)" contained
|
||||
syn match cssValueFrequency "+\=\d\+\(\.\d*\)\=\(Hz\|kHz\)" contained
|
||||
|
||||
" CSS Generic Property Names
|
||||
syn match cssProp /justify-content/ contained
|
||||
syn match cssProp /align-items/ contained
|
||||
|
||||
" Properties http://www.w3.org/community/webed/wiki/CSS/Properties
|
||||
" background http://www.w3.org/TR/css3-background/
|
||||
@@ -137,7 +140,7 @@ syn keyword cssColorVal slategray slategrey snow springgreen steelblue tan conta
|
||||
syn keyword cssColorVal teal thistle tomato turquoise violet wheat contained
|
||||
syn keyword cssColorVal whitesmoke yellow yellowgreen contained
|
||||
syn match cssColorVal "\<white\>" contained
|
||||
syn keyword cssColorProp color opaticy contained
|
||||
syn keyword cssColorProp color opacity contained
|
||||
syn match cssColorProp /color-profile/ contained
|
||||
|
||||
" Box
|
||||
@@ -274,6 +277,7 @@ if version >= 508 || !exists("did_css_syn_inits")
|
||||
HiLink cssComment Comment
|
||||
HiLink cssTagName Statement
|
||||
HiLink cssSelector Function
|
||||
HiLink cssProp StorageClass
|
||||
HiLink cssBackgroundProp StorageClass
|
||||
HiLink cssTableProp StorageClass
|
||||
HiLink cssBorderProp StorageClass
|
||||
@@ -326,7 +330,7 @@ syn case ignore
|
||||
|
||||
syn cluster stylusCssSelectors contains=cssTagName,cssSelector,cssPseudo
|
||||
syn cluster stylusCssValues contains=cssValueLength,cssValueInteger,cssValueNumber,cssValueAngle,cssValueTime,cssValueFrequency,cssColorVal,cssCommonVal,cssFontVal,cssListVal,cssTextVal,cssVisualVal,cssBorderVal,cssBackgroundVal,cssFuncVal,cssAdvancedVal
|
||||
syn cluster stylusCssProperties contains=cssBackgroundProp,cssTableProp,cssBorderProp,cssFontProp,cssColorProp,cssBoxProp,cssTextProp,cssListProp,cssVisualProp,cssAdvancedProp,cssCommonProp,cssSpecialProp
|
||||
syn cluster stylusCssProperties contains=cssProp,cssBackgroundProp,cssTableProp,cssBorderProp,cssFontProp,cssColorProp,cssBoxProp,cssTextProp,cssListProp,cssVisualProp,cssAdvancedProp,cssCommonProp,cssSpecialProp
|
||||
|
||||
syn match stylusVariable "$\?[[:alnum:]_-]\+"
|
||||
syn match stylusVariableAssignment "\%([[:alnum:]_-]\+\s*\)\@<==" nextgroup=stylusCssAttribute,stylusVariable skipwhite
|
||||
|
||||
@@ -40,13 +40,13 @@ syntax region svelteExpression
|
||||
\ start="{"
|
||||
\ end="}\(}\|;\)\@!"
|
||||
|
||||
" Multiple lines expressions are supposed to end with '}}'
|
||||
" Multiple lines expressions are supposed to end with '}}' or ')}'
|
||||
syntax region svelteExpression
|
||||
\ containedin=svelteValue,htmlValue,htmlAttr
|
||||
\ contains=@simpleJavascriptExpression
|
||||
\ matchgroup=svelteBrace
|
||||
\ start="{"
|
||||
\ end="\(}\)\@<=}"
|
||||
\ end="\(}\)\@<=}\|\()\)\@<=}"
|
||||
|
||||
syntax region svelteExpression
|
||||
\ containedin=htmlSvelteTemplate,svelteValue,htmlString,htmlArg,htmlTag,htmlAttr,htmlValue,htmlAttr
|
||||
@@ -82,7 +82,9 @@ syntax region svelteBlockEnd
|
||||
syntax keyword svelteBlockKeyword if else each await then catch as
|
||||
|
||||
syntax cluster simpleJavascriptExpression
|
||||
\ contains=javaScriptStringS,javaScriptStringD,javaScriptTemplateString,javascriptNumber,javaScriptOperator
|
||||
\contains=\CjavaScript.*
|
||||
silent! syntax cluster simpleJavascriptExpression
|
||||
\contains=@typescriptExpression,typescriptProp
|
||||
|
||||
" Redefine JavaScript syntax
|
||||
syntax region javaScriptStringS
|
||||
@@ -96,13 +98,6 @@ syntax region javaScriptTemplateExpression
|
||||
\ matchgroup=Type
|
||||
\ start=+${+ end=+}+ keepend contained
|
||||
|
||||
syntax match javaScriptNumber '\v<-?\d+L?>|0[xX][0-9a-fA-F]+>' contained
|
||||
syntax match javaScriptOperator '[-!|&+<>=%*~^]' contained
|
||||
syntax match javaScriptOperator '\v(*)@<!/(/|*)@!' contained
|
||||
syntax keyword javaScriptOperator contained
|
||||
\ delete instanceof typeof void new in of const let var
|
||||
\ return function
|
||||
|
||||
highlight default link svelteAttr htmlTag
|
||||
if s:highlight_svelte_attr
|
||||
highlight default link svelteKey Type
|
||||
|
||||
@@ -81,9 +81,6 @@ endfunction
|
||||
" syntax. It defines group htmlJavaScript and htmlCss.
|
||||
call s:LoadSyntax('@HTMLSyntax', 'html')
|
||||
|
||||
" Load svelte-html syntax
|
||||
syntax include syntax/svelte-html.vim
|
||||
|
||||
" Avoid overload
|
||||
if !hlexists('cssTagName')
|
||||
call s:LoadSyntax('@htmlCss', 'css')
|
||||
@@ -129,6 +126,14 @@ if s:use_typescript
|
||||
endif
|
||||
"}}}
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" Load Svelte specific html syntax {{{
|
||||
"
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
syntax include syntax/svelte-html.vim
|
||||
"}}}
|
||||
|
||||
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
|
||||
"
|
||||
" Syntax highlight {{{
|
||||
@@ -143,8 +148,9 @@ syntax region htmlSvelteTemplate fold
|
||||
" Start tag across multiple lines or Empty tag across multiple lines
|
||||
syntax region htmlSvelteTemplate fold
|
||||
\ start=+<[-:a-zA-Z0-9]\+[^>]*$+
|
||||
\ end=+^\(<\/[-:a-zA-Z0-9]\+>\)\|^\([^<]*\/>\)+
|
||||
\ end=+^\(<\/[-:a-zA-Z0-9]\+>\|\(\S[^<]*\)\?\/>\)+
|
||||
\ keepend contains=@HTMLSyntax
|
||||
|
||||
" Tag in one line
|
||||
syntax match htmlSvelteTemplate fold
|
||||
\ +<[-:a-zA-Z0-9]\+[^>]*>.*</[-:a-zA-Z0-9]\+>+
|
||||
@@ -284,5 +290,6 @@ syntax region typescriptTemplate
|
||||
syntax match htmlArg '\v<data(-[.a-z0-9]+)+>' containedin=@HTMLSyntax
|
||||
"}}}
|
||||
|
||||
syntax sync fromstart
|
||||
let b:current_syntax = 'svelte'
|
||||
" vim: fdm=marker
|
||||
|
||||
@@ -6,8 +6,8 @@ endif
|
||||
" Language: sway config file
|
||||
" Original Author: Mohamed Boughaba <mohamed dot bgb at gmail dot com>
|
||||
" Maintainer: James Eapen <jamespeapen at gmail dot com>
|
||||
" Version: 0.11.6
|
||||
" Last Change: 2020-10-07
|
||||
" Version: 0.13.0
|
||||
" Last Change: 2023-08-26
|
||||
|
||||
" References:
|
||||
" http://i3wm.org/docs/userguide.html#configuring
|
||||
@@ -57,6 +57,9 @@ syn match swayConfigVariable /\$\w\+\(\(-\w\+\)\+\)\?\(\s\|+\)\?/ contains=swayC
|
||||
syn keyword swayConfigInitializeKeyword set contained
|
||||
syn match swayConfigInitialize /^\s*set\s\+.*$/ contains=swayConfigVariable,swayConfigInitializeKeyword,swayConfigColor,swayConfigString
|
||||
|
||||
" yes no
|
||||
syn keyword swayConfigYesNoType yes no contained
|
||||
|
||||
" Gaps
|
||||
syn keyword swayConfigGapStyleKeyword inner outer horizontal vertical top right bottom left current all set plus minus toggle up down contained
|
||||
syn match swayConfigGapStyle /^\s*\(gaps\)\s\+\(inner\|outer\|horizontal\|vertical\|left\|top\|right\|bottom\)\(\s\+\(current\|all\)\)\?\(\s\+\(set\|plus\|minus\|toggle\)\)\?\(\s\+\(-\?\d\+\|\$.*\)\)$/ contains=swayConfigGapStyleKeyword,swayConfigNumber,swayConfigVariable
|
||||
@@ -140,6 +143,10 @@ syn match swayConfigExec /^\s*exec\(_always\)\?\s\+.*$/ contains=swayConfigExecK
|
||||
syn keyword swayConfigInputKeyword input contained
|
||||
syn match swayConfigInput /^\s*input\s\+.*$/ contains=swayConfigInputKeyword
|
||||
|
||||
" Seat config
|
||||
syn keyword swayConfigSeatKeyword seat contained
|
||||
syn match swayConfigSeat /^\s*seat\s\+.*$/ contains=swayConfigSeatKeyword
|
||||
|
||||
" Automatically putting workspaces on specific screens
|
||||
syn keyword swayConfigWorkspaceKeyword workspace contained
|
||||
syn keyword swayConfigOutputKeyword output contained
|
||||
@@ -167,8 +174,8 @@ syn match swayConfigInterprocess /^\s*ipc-socket\s\+.*$/ contains=swayConfigInte
|
||||
|
||||
" Mouse warping
|
||||
syn keyword swayConfigMouseWarpingKeyword mouse_warping contained
|
||||
syn keyword swayConfigMouseWarpingType output none contained
|
||||
syn match swayConfigMouseWarping /^\s*mouse_warping\s\+\(output\|none\)\s\?$/ contains=swayConfigMouseWarpingKeyword,swayConfigMouseWarpingType
|
||||
syn keyword swayConfigMouseWarpingType output none container contained
|
||||
syn match swayConfigMouseWarping /^\s*mouse_warping\s\+\(output\|container\|none\)\s\?$/ contains=swayConfigMouseWarpingKeyword,swayConfigMouseWarpingType
|
||||
|
||||
" Focus follows mouse
|
||||
syn keyword swayConfigFocusFollowsMouseKeyword focus_follows_mouse contained
|
||||
@@ -181,22 +188,22 @@ syn keyword swayConfigPopuponFullscreenType smart ignore leave_fullscreen contai
|
||||
syn match swayConfigPopupOnFullscreen /^\s*popup_during_fullscreen\s\+\w\+\s\?$/ contains=swayConfigPopupOnFullscreenKeyword,swayConfigPopupOnFullscreenType
|
||||
|
||||
" Focus wrapping
|
||||
syn keyword swayConfigFocusWrappingKeyword force_focus_wrapping focus_wrapping contained
|
||||
syn keyword swayConfigFocusWrappingType yes no contained
|
||||
syn match swayConfigFocusWrapping /^\s*\(force_\)\?focus_wrapping\s\+\(yes\|no\)\s\?$/ contains=swayConfigFocusWrappingType,swayConfigFocusWrappingKeyword
|
||||
syn keyword swayConfigFocusWrappingKeyword focus_wrapping contained
|
||||
syn keyword swayConfigFocusWrappingType yes no force workspace contained
|
||||
syn match swayConfigFocusWrapping /^\s*focus_wrapping\s\+\(yes\|no\|force\|workspace\)\s\?$/ contains=swayConfigFocusWrappingType,swayConfigFocusWrappingKeyword
|
||||
|
||||
" Forcing Xinerama
|
||||
syn keyword swayConfigForceXineramaKeyword force_xinerama contained
|
||||
syn match swayConfigForceXinerama /^\s*force_xinerama\s\+\(yes\|no\)\s\?$/ contains=swayConfigFocusWrappingType,swayConfigForceXineramaKeyword
|
||||
syn match swayConfigForceXinerama /^\s*force_xinerama\s\+\(yes\|no\)\s\?$/ contains=swayConfigYesNoType,swayConfigForceXineramaKeyword
|
||||
|
||||
" Automatic back-and-forth when switching to the current workspace
|
||||
syn keyword swayConfigAutomaticSwitchKeyword workspace_auto_back_and_forth contained
|
||||
syn match swayConfigAutomaticSwitch /^\s*workspace_auto_back_and_forth\s\+\(yes\|no\)\s\?$/ contains=swayConfigFocusWrappingType,swayConfigAutomaticSwitchKeyword
|
||||
syn match swayConfigAutomaticSwitch /^\s*workspace_auto_back_and_forth\s\+\(yes\|no\)\s\?$/ contains=swayConfigYesNoType,swayConfigAutomaticSwitchKeyword
|
||||
|
||||
" Delay urgency hint
|
||||
syn keyword swayConfigTimeUnit ms contained
|
||||
syn keyword swayConfigDelayUrgencyKeyword force_display_urgency_hint contained
|
||||
syn match swayConfigDelayUrgency /^\s*force_display_urgency_hint\s\+\d\+\s\+ms\s\?$/ contains=swayConfigFocusWrappingType,swayConfigDelayUrgencyKeyword,swayConfigNumber,swayConfigTimeUnit
|
||||
syn match swayConfigDelayUrgency /^\s*force_display_urgency_hint\s\+\d\+\s\+ms\s\?$/ contains=swayConfigDelayUrgencyKeyword,swayConfigNumber,swayConfigTimeUnit
|
||||
|
||||
" Focus on window activation
|
||||
syn keyword swayConfigFocusOnActivationKeyword focus_on_window_activation contained
|
||||
@@ -205,11 +212,11 @@ syn match swayConfigFocusOnActivation /^\s*focus_on_window_activation\s\+\(smart
|
||||
|
||||
" Automatic back-and-forth when switching to the current workspace
|
||||
syn keyword swayConfigDrawingMarksKeyword show_marks contained
|
||||
syn match swayConfigDrawingMarks /^\s*show_marks\s\+\(yes\|no\)\s\?$/ contains=swayConfigFocusWrappingType,swayConfigDrawingMarksKeyword
|
||||
syn match swayConfigDrawingMarks /^\s*show_marks\s\+\(yes\|no\)\s\?$/ contains=swayConfigYesNoType,swayConfigDrawingMarksKeyword
|
||||
|
||||
" Group mode/bar
|
||||
syn keyword swayConfigBlockKeyword set bar colors i3bar_command status_command position hidden_state modifier id position background statusline tray_output tray_padding separator separator_symbol workspace_buttons strip_workspace_numbers binding_mode_indicator focused_workspace active_workspace inactive_workspace urgent_workspace binding_mode contained
|
||||
syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=swayConfigBlockKeyword,swayConfigString,swayConfigAction,swayConfigBind,swayConfigComment,swayConfigFont,swayConfigFocusWrappingType,swayConfigColor,swayConfigVariable,swayConfigInputKeyword,swayConfigOutputKeyword transparent keepend extend
|
||||
syn region swayConfigBlock start=+.*s\?{$+ end=+^}$+ contains=swayConfigBlockKeyword,swayConfigString,swayConfigAction,swayConfigBind,swayConfigComment,swayConfigFont,swayConfigFocusWrappingType,swayConfigColor,swayConfigVariable,swayConfigInputKeyword,swayConfigSeatKeyword,swayConfigOutputKeyword transparent keepend extend
|
||||
|
||||
" Line continuation
|
||||
syn region swayConfigLineCont start=/^.*\\$/ end=/^[^\\]*$/ contains=swayConfigBlockKeyword,swayConfigString,swayConfigAction,swayConfigBind,swayConfigComment,swayConfigFont,swayConfigFocusWrappingType,swayConfigColor,swayConfigVariable,swayConfigExecKeyword transparent keepend extend
|
||||
@@ -222,6 +229,10 @@ syn match swayConfigFile /^\s\?include\s\+.*$/ contains=swayConfigInclude
|
||||
syn keyword swayConfigXwaylandKeyword xwayland contained
|
||||
syn match swayConfigXwaylandModifier /^\s*xwayland\s\+\(enable\|disable\|force\)\s\?$/ contains=swayConfigXwaylandKeyword
|
||||
|
||||
" Titlebar padding
|
||||
syn keyword swayConfigTitlebarPaddingKeyword titlebar_padding contained
|
||||
syn match swayConfigTitlebarPadding /^\s*titlebar_padding\s\+\d\+\(\s\+\d\+\)\?\s\?$/ contains=swayConfigTitlebarPaddingKeyword,swayConfigNumber
|
||||
|
||||
" Define the highlighting.
|
||||
let b:current_syntax = "swayconfig"
|
||||
hi! def link swayConfigError Error
|
||||
@@ -244,8 +255,10 @@ hi! def link swayConfigAction Type
|
||||
hi! def link swayConfigCommand Type
|
||||
hi! def link swayConfigOutputKeyword Type
|
||||
hi! def link swayConfigInputKeyword Type
|
||||
hi! def link swayConfigSeatKeyword Type
|
||||
hi! def link swayConfigWindowCommandSpecial Type
|
||||
hi! def link swayConfigFocusWrappingType Type
|
||||
hi! def link swayConfigYesNoType Type
|
||||
hi! def link swayConfigUnitOr Type
|
||||
hi! def link swayConfigClientColorKeyword Type
|
||||
hi! def link swayConfigFloating Type
|
||||
@@ -311,4 +324,5 @@ hi! def link swayConfigFocusKeyword Type
|
||||
hi! def link swayConfigFocusType Identifier
|
||||
hi! def link swayConfigXwaylandKeyword Identifier
|
||||
hi! def link swayConfigXwaylandModifier Type
|
||||
|
||||
hi! def link swayConfigTitlebarPaddingKeyword Identifier
|
||||
hi! def link swayConfigTitlebarPadding Type
|
||||
|
||||
@@ -107,23 +107,29 @@ syntax keyword swiftAvailabilityArg renamed unavailable introduced deprecated ob
|
||||
" Keywords {{{
|
||||
syntax keyword swiftKeywords
|
||||
\ actor
|
||||
\ any
|
||||
\ associatedtype
|
||||
\ associativity
|
||||
\ async
|
||||
\ atexit
|
||||
\ await
|
||||
\ borrowing
|
||||
\ break
|
||||
\ case
|
||||
\ catch
|
||||
\ class
|
||||
\ consume
|
||||
\ consuming
|
||||
\ continue
|
||||
\ convenience
|
||||
\ default
|
||||
\ defer
|
||||
\ deinit
|
||||
\ didSet
|
||||
\ discard
|
||||
\ do
|
||||
\ dynamic
|
||||
\ each
|
||||
\ else
|
||||
\ extension
|
||||
\ fallthrough
|
||||
@@ -143,6 +149,7 @@ syntax keyword swiftKeywords
|
||||
\ isolated
|
||||
\ lazy
|
||||
\ let
|
||||
\ macro
|
||||
\ mutating
|
||||
\ nil
|
||||
\ nonisolated
|
||||
@@ -151,6 +158,7 @@ syntax keyword swiftKeywords
|
||||
\ operator
|
||||
\ optional
|
||||
\ override
|
||||
\ package
|
||||
\ postfix
|
||||
\ precedence
|
||||
\ precedencegroup
|
||||
@@ -192,12 +200,20 @@ syntax match swiftMultiwordKeywords "indirect enum"
|
||||
syntax region swiftEscapedReservedWord start="`" end="`" oneline
|
||||
|
||||
syntax keyword swiftAttributes
|
||||
\ @_alignment
|
||||
\ @_alwaysEmitConformanceMetadata
|
||||
\ @_alwaysEmitIntoClient
|
||||
\ @_backDeploy
|
||||
\ @_cdecl
|
||||
\ @_disfavoredOverload
|
||||
\ @_dynamicReplacement
|
||||
\ @_exported
|
||||
\ @_implementationOnly
|
||||
\ @_silgen_name
|
||||
\ @_spi
|
||||
\ @AppStorage
|
||||
\ @assignment
|
||||
\ @attached
|
||||
\ @autoclosure
|
||||
\ @available
|
||||
\ @Binding
|
||||
@@ -210,6 +226,7 @@ syntax keyword swiftAttributes
|
||||
\ @FetchRequest
|
||||
\ @FocusedBinding
|
||||
\ @FocusedValue
|
||||
\ @freestanding
|
||||
\ @frozen
|
||||
\ @GestureState
|
||||
\ @IBAction
|
||||
@@ -217,6 +234,7 @@ syntax keyword swiftAttributes
|
||||
\ @IBInspectable
|
||||
\ @IBOutlet
|
||||
\ @inlinable
|
||||
\ @inline
|
||||
\ @main
|
||||
\ @MainActor
|
||||
\ @Namespace
|
||||
@@ -228,11 +246,13 @@ syntax keyword swiftAttributes
|
||||
\ @NSCopying
|
||||
\ @NSManaged
|
||||
\ @objc
|
||||
\ @objcMembers
|
||||
\ @ObservedObject
|
||||
\ @preconcurrency
|
||||
\ @propertyWrapper
|
||||
\ @Published
|
||||
\ @resultBuilder
|
||||
\ @retroactive
|
||||
\ @ScaledMetric
|
||||
\ @SceneStorage
|
||||
\ @Sendable
|
||||
@@ -241,7 +261,9 @@ syntax keyword swiftAttributes
|
||||
\ @testable
|
||||
\ @UIApplicationDelegateAdaptor
|
||||
\ @UIApplicationMain
|
||||
\ @unchecked
|
||||
\ @usableFromInline
|
||||
\ @ViewBuilder
|
||||
|
||||
syntax keyword swiftConditionStatement
|
||||
\ #available
|
||||
@@ -285,6 +307,7 @@ syntax keyword swiftPreprocessor
|
||||
\ #selector
|
||||
\ #warning
|
||||
\ #error
|
||||
\ #externalMacro
|
||||
|
||||
|
||||
" Comment patterns
|
||||
|
||||
@@ -3,7 +3,7 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'tmux', 'syntax/tmux.vim')
|
||||
endif
|
||||
|
||||
" Language: tmux(1) configuration file
|
||||
" Version: 3.3a (git-7b8ececd)
|
||||
" Version: 3.4 (git-171004df)
|
||||
" URL: https://github.com/ericpruitt/tmux.vim/
|
||||
" Maintainer: Eric Pruitt <eric.pruitt@gmail.com>
|
||||
" License: 2-Clause BSD (http://opensource.org/licenses/BSD-2-Clause)
|
||||
@@ -32,7 +32,7 @@ syn match tmuxKey /\(C-\|M-\|\^\)\+\S\+/ display
|
||||
syn match tmuxNumber /\<\d\+\>/ display
|
||||
syn match tmuxFlags /\s-\a\+/ display
|
||||
syn match tmuxVariableExpansion /\$\({[A-Za-z_]\w*}\|[A-Za-z_]\w*\)/ display
|
||||
syn match tmuxControl /\(^\|\s\)%\(if\|elif\|else\|endif\)\($\|\s\)/ display
|
||||
syn match tmuxControl /\(^\|\s\)%\(if\|elif\|else\|endif\|hidden\)\($\|\s\)/ display
|
||||
syn match tmuxEscape /\\\(u\x\{4\}\|U\x\{8\}\|\o\{3\}\|[\\ernt$]\)/ display
|
||||
|
||||
" Missing closing bracket.
|
||||
@@ -103,11 +103,11 @@ syn keyword tmuxOptions
|
||||
\ after-set-environment after-set-hook after-set-option after-show-environment
|
||||
\ after-show-messages after-show-options after-split-window after-unbind-key
|
||||
\ aggressive-resize alert-activity alert-bell alert-silence allow-passthrough
|
||||
\ allow-rename alternate-screen assume-paste-time automatic-rename
|
||||
\ automatic-rename-format backspace base-index bell-action buffer-limit
|
||||
\ client-active client-attached client-detached client-focus-in
|
||||
\ allow-rename allow-set-title alternate-screen assume-paste-time
|
||||
\ automatic-rename automatic-rename-format backspace base-index bell-action
|
||||
\ buffer-limit client-active client-attached client-detached client-focus-in
|
||||
\ client-focus-out client-resized client-session-changed clock-mode-color
|
||||
\ clock-mode-colour clock-mode-style command-alias copy-command
|
||||
\ clock-mode-colour clock-mode-style command-alias command-error copy-command
|
||||
\ copy-mode-current-match-style copy-mode-mark-style copy-mode-match-style
|
||||
\ cursor-color cursor-colour cursor-style default-command default-shell
|
||||
\ default-size default-terminal destroy-unattached detach-on-destroy
|
||||
@@ -115,8 +115,9 @@ syn keyword tmuxOptions
|
||||
\ display-panes-colour display-panes-time display-time editor escape-time
|
||||
\ exit-empty exit-unattached extended-keys fill-character focus-events
|
||||
\ history-file history-limit key-table lock-after-time lock-command
|
||||
\ main-pane-height main-pane-width message-command-style message-limit
|
||||
\ message-style mode-keys mode-style monitor-activity monitor-bell
|
||||
\ main-pane-height main-pane-width menu-border-lines menu-border-style
|
||||
\ menu-selected-style menu-style message-command-style message-limit
|
||||
\ message-line message-style mode-keys mode-style monitor-activity monitor-bell
|
||||
\ monitor-silence mouse other-pane-height other-pane-width
|
||||
\ pane-active-border-style pane-base-index pane-border-format
|
||||
\ pane-border-indicators pane-border-lines pane-border-status pane-border-style
|
||||
@@ -167,9 +168,9 @@ syn keyword tmuxCommands
|
||||
syn keyword tmuxEnums
|
||||
\ absolute-centre all always any arrows bar blinking-bar blinking-block
|
||||
\ blinking-underline block both bottom centre color colour current default
|
||||
\ double emacs external failed heavy largest latest left manual no-detached
|
||||
\ none number off on other padded right rounded simple single smallest top
|
||||
\ underline vi
|
||||
\ double emacs external failed heavy keep-group keep-last largest latest left
|
||||
\ manual next no-detached none number off on other padded previous right
|
||||
\ rounded simple single smallest top underline vi
|
||||
|
||||
let &cpo = s:original_cpo
|
||||
unlet! s:original_cpo s:bg s:i
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/class.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/class.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/cluster.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/cluster.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
"Block VariableStatement EmptyStatement ExpressionStatement IfStatement IterationStatement ContinueStatement BreakStatement ReturnStatement WithStatement LabelledStatement SwitchStatement ThrowStatement TryStatement DebuggerStatement
|
||||
syntax cluster typescriptStatement
|
||||
\ contains=typescriptBlock,typescriptVariable,
|
||||
\ contains=typescriptBlock,typescriptVariable,typescriptUsing,
|
||||
\ @typescriptTopExpression,typescriptAssign,
|
||||
\ typescriptConditional,typescriptRepeat,typescriptBranch,
|
||||
\ typescriptLabel,typescriptStatementKeyword,
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/decorator.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/decorator.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/doc.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/doc.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/function.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/function.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -7,7 +7,7 @@ syntax keyword typescriptAsyncFuncKeyword async
|
||||
\ skipwhite
|
||||
|
||||
syntax keyword typescriptAsyncFuncKeyword await
|
||||
\ nextgroup=@typescriptValue
|
||||
\ nextgroup=@typescriptValue,typescriptUsing
|
||||
\ skipwhite
|
||||
|
||||
exec 'syntax keyword typescriptFuncKeyword '.(exists('g:typescript_conceal_function') ? 'conceal cchar='.g:typescript_conceal_function : '').' function nextgroup=typescriptAsyncFunc,typescriptFuncName,@typescriptCallSignature skipwhite skipempty'
|
||||
@@ -46,7 +46,7 @@ syntax match typescriptArrowFuncArg contained /\K\k*/
|
||||
syntax region typescriptReturnAnnotation contained start=/:/ end=/{/me=e-1 contains=@typescriptType nextgroup=typescriptBlock
|
||||
|
||||
|
||||
syntax region typescriptFuncImpl contained start=/function\>/ end=/{/me=e-1
|
||||
syntax region typescriptFuncImpl contained start=/function\>/ end=/{\|;\|\n/me=e-1
|
||||
\ contains=typescriptFuncKeyword
|
||||
\ nextgroup=typescriptBlock
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/identifiers.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/identifiers.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/keyword.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/keyword.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -29,6 +29,10 @@ syntax keyword typescriptVariable const
|
||||
\ nextgroup=typescriptEnum,@typescriptVariableDeclarations
|
||||
\ skipwhite skipempty
|
||||
|
||||
syntax keyword typescriptUsing using
|
||||
\ nextgroup=@typescriptVariableDeclarations
|
||||
\ skipwhite skipempty
|
||||
|
||||
syntax region typescriptEnum matchgroup=typescriptEnumKeyword start=/enum / end=/\ze{/
|
||||
\ nextgroup=typescriptBlock
|
||||
\ skipwhite
|
||||
@@ -60,7 +64,8 @@ syntax keyword typescriptStatementKeyword with
|
||||
syntax keyword typescriptStatementKeyword yield skipwhite nextgroup=@typescriptValue containedin=typescriptBlock
|
||||
|
||||
syntax keyword typescriptTry try
|
||||
syntax keyword typescriptExceptions catch throw finally
|
||||
syntax keyword typescriptExceptions throw finally
|
||||
syntax keyword typescriptExceptions catch nextgroup=typescriptCall skipwhite skipempty oneline
|
||||
syntax keyword typescriptDebugger debugger
|
||||
|
||||
syntax keyword typescriptAsyncFor await nextgroup=typescriptLoopParen skipwhite skipempty contained
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/literal.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/literal.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/members.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/members.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -20,6 +20,7 @@ syntax cluster typescriptPropertyMemberDeclaration contains=
|
||||
\ typescriptClassStatic,
|
||||
\ typescriptAccessibilityModifier,
|
||||
\ typescriptReadonlyModifier,
|
||||
\ typescriptAutoAccessor,
|
||||
\ typescriptMethodAccessor,
|
||||
\ @typescriptMembers
|
||||
" \ typescriptMemberVariableDeclaration
|
||||
@@ -38,6 +39,8 @@ syntax keyword typescriptAccessibilityModifier public private protected containe
|
||||
|
||||
syntax keyword typescriptReadonlyModifier readonly override contained
|
||||
|
||||
syntax keyword typescriptAutoAccessor accessor contained
|
||||
|
||||
syntax region typescriptStringMember contained
|
||||
\ start=/\z(["']\)/ skip=/\\\\\|\\\z1\|\\\n/ end=/\z1/
|
||||
\ nextgroup=@memberNextGroup
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/object.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/object.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/patch.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/patch.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/reserved.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/reserved.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/symbols.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/symbols.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/basic/type.vim')
|
||||
if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/ts-common/type.vim')
|
||||
finish
|
||||
endif
|
||||
|
||||
@@ -111,7 +111,8 @@ syntax match tsxEqual +=+ display contained
|
||||
|
||||
" <tag id="sample">
|
||||
" s~~~~~~e
|
||||
syntax region tsxString contained start=+["']+ end=+["']+ contains=tsxEntity,@Spell display
|
||||
syntax region tsxString contained start=+"+ skip=+\\"+ end=+"+ contains=tsxEntity,@Spell display
|
||||
syntax region tsxString contained start=+'+ skip=+\\'+ end=+'+ contains=tsxEntity,@Spell display
|
||||
|
||||
" <tag key={this.props.key}>
|
||||
" s~~~~~~~~~~~~~~e
|
||||
@@ -143,4 +144,4 @@ highlight def link tsxCloseString Identifier
|
||||
let b:current_syntax = "typescriptreact"
|
||||
if main_syntax == 'typescriptreact'
|
||||
unlet main_syntax
|
||||
endif
|
||||
endif
|
||||
|
||||
@@ -21,7 +21,7 @@ endif
|
||||
" u_allow_hash_operator - Don't highlight seemingly incorrect C
|
||||
" preprocessor directives but assume them to be
|
||||
" operators
|
||||
"
|
||||
" 2023 Jan 6: Update for current syntax (dt)
|
||||
" 2018 Aug 23: Adapt Haskell highlighting to Unison, cleanup.
|
||||
" 2004 Feb 19: Added C preprocessor directive handling, corrected eol comments
|
||||
" cleaned away literate unison support (should be entirely in
|
||||
@@ -38,20 +38,12 @@ elseif exists("b:current_syntax")
|
||||
finish
|
||||
endif
|
||||
|
||||
" (Qualified) identifiers (no default highlighting)
|
||||
syn match ConId "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=\<[A-Z][a-zA-Z0-9_']*\>"
|
||||
syn match VarId "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=\<[a-z][a-zA-Z0-9_']*\>"
|
||||
syntax include @markdown $VIMRUNTIME/syntax/markdown.vim
|
||||
|
||||
" Infix operators--most punctuation characters and any (qualified) identifier
|
||||
" enclosed in `backquotes`. An operator starting with : is a constructor,
|
||||
" others are variables (e.g. functions).
|
||||
syn match uVarSym "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[-!#$%&\*\+/<=>\?@\\^|~.][-!#$%&\*\+/<=>\?@\\^|~:.]*"
|
||||
syn match uConSym "\(\<[A-Z][a-zA-Z0-9_']*\.\)\=:[-!#$%&\*\+./<=>\?@\\^|~:]*"
|
||||
syn match uVarSym "`\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[a-z][a-zA-Z0-9_']*`"
|
||||
syn match uConSym "`\(\<[A-Z][a-zA-Z0-9_']*\.\)\=[A-Z][a-zA-Z0-9_']*`"
|
||||
syn cluster markdownLikeDocs contains=markdownBold,markdownItalic,markdownLinkText,markdownListMarker,markdownOrderedListMarker,markdownH1,markdownH2,markdownH3,markdownH4,markdownH5,markdownH6
|
||||
|
||||
" Reserved symbols--cannot be overloaded.
|
||||
syn match uDelimiter "(\|)\|\[\|\]\|,\|_\|{\|}"
|
||||
syn match uOperator "[-!#$%&\*\+/<=>\?@\\^|~]"
|
||||
syn match uDelimiter "[\[\](){},.]"
|
||||
|
||||
" Strings and constants
|
||||
syn match uSpecialChar contained "\\\([0-9]\+\|o[0-7]\+\|x[0-9a-fA-F]\+\|[\"\\'&\\abfnrtv]\|^[A-Z^_\[\\\]]\)"
|
||||
@@ -66,45 +58,42 @@ syn match uFloat "\<[0-9]\+\.[0-9]\+\([eE][-+]\=[0-9]\+\)\=\>"
|
||||
" Keyword definitions. These must be patterns instead of keywords
|
||||
" because otherwise they would match as keywords at the start of a
|
||||
" "literate" comment (see lu.vim).
|
||||
syn match uModule "\<module\>"
|
||||
syn match uModule "\<namespace\>"
|
||||
syn match uImport "\<use\>"
|
||||
syn match uInfix "\<\(infix\|infixl\|infixr\)\>"
|
||||
syn match uTypedef "\<\(∀\|forall\)\>"
|
||||
syn match uStatement "\<\(unique\|ability\|type\|where\|match\|cases\|;\|let\|with\|handle\)\>"
|
||||
syn match uTypedef "\<\(unique\|structural\|∀\|forall\)\>"
|
||||
syn match uStatement "\<\(ability\|do\|type\|where\|match\|cases\|;\|let\|with\|handle\)\>"
|
||||
syn match uConditional "\<\(if\|else\|then\)\>"
|
||||
|
||||
" Not real keywords, but close.
|
||||
if exists("u_highlight_boolean")
|
||||
" Boolean constants from the standard prelude.
|
||||
syn match uBoolean "\<\(true\|false\)\>"
|
||||
endif
|
||||
if exists("u_highlight_types")
|
||||
" Primitive types from the standard prelude and libraries.
|
||||
syn match uType "\<\(Float\|Nat\|Int\|Boolean\|Remote\|Text\)\>"
|
||||
endif
|
||||
if exists("u_highlight_more_types")
|
||||
" Types from the standard prelude libraries.
|
||||
syn match uType "\<\(Optional\|Either\|Sequence\|Effect\)\>"
|
||||
syn match uMaybe "\<None\>"
|
||||
syn match uExitCode "\<\(ExitSuccess\)\>"
|
||||
syn match uOrdering "\<\(GT\|LT\|EQ\)\>"
|
||||
endif
|
||||
if exists("u_highlight_debug")
|
||||
" Debugging functions from the standard prelude.
|
||||
syn match uDebug "\<\(undefined\|error\|trace\)\>"
|
||||
endif
|
||||
syn match uBoolean "\<\(true\|false\)\>"
|
||||
|
||||
syn match uType "\<\C[A-Z][0-9A-Za-z_'!]*\>"
|
||||
syn match uName "\<\C[a-z_][0-9A-Za-z_'!]*\>"
|
||||
|
||||
" Comments
|
||||
syn match uLineComment "---*\([^-!#$%&\*\+./<=>\?@\\^|~].*\)\?$"
|
||||
syn region uBlockComment start="{-" end="-}" contains=uBlockComment
|
||||
syn region uPragma start="{-#" end="#-}"
|
||||
syn region uBelowFold start="^---" skip="." end="." contains=uBelowFold
|
||||
syn region uPragma start="{-#" end="#-}"
|
||||
syn region uBelowFold start="^---" skip="." end="." contains=uBelowFold
|
||||
|
||||
" Docs
|
||||
syn region uDocBlock start="\[:" end=":]" contains=uLink,uDocDirective
|
||||
syn match uLink contained "@\([A-Z][a-zA-Z0-9_']*\.\)\=\<[a-z][a-zA-Z0-9_'.]*\>"
|
||||
syn match uDocDirective contained "@\[\([A-Z][a-zA-Z0-9_']*\.\)\=\<[a-z][a-zA-Z0-9_'.]*\>] \(\<[A-Z][a-zA-Z0-9_']*\.\)\=\<[a-z][a-zA-Z0-9_'.]*\>"
|
||||
syn region uDocBlock matchgroup=unisonDoc start="{{" end="}}" contains=uDocTypecheck,uDocQuasiquote,uDocDirective,uDocCode,uDocCodeInline,uDocCodeRaw,uDocMono,@markdownLikeDocs
|
||||
syn region uDocQuasiquote contained matchgroup=unisonDocQuote start="{{" end= "}}" contains=TOP
|
||||
syn region uDocCode contained matchgroup=unisonDocCode start="^\s*```\s*$" end="^\s*```\s*$" contains=TOP
|
||||
syn region uDocTypecheck contained matchgroup=unisonDocCode start="^\s*@typecheck\s*```\s*$" end="^\s*```\s*$" contains=TOP
|
||||
syn region uDocCodeRaw contained matchgroup=unisonDocCode start="^\s*```\s*raw\s*$" end="^\s*```\s*$" contains=NoSyntax
|
||||
syn region uDocCodeInline contained matchgroup=unisonDocCode start="`\@<!``" end="`\@<!``" contains=TOP
|
||||
syn match uDocMono "''[^']*''"
|
||||
syn region uDocDirective contained matchgroup=unisonDocDirective start="\(@\([a-zA-Z0-9_']*\)\)\?{{\@!" end="}" contains=TOP
|
||||
|
||||
syn match uDebug "\<\(todo\|bug\|Debug.trace\)\>"
|
||||
|
||||
" things like
|
||||
" > my_func 1 3
|
||||
" test> Function.tap.tests.t1 = check let
|
||||
" use Nat == +
|
||||
" ( 99, 100 ) === (withInitialValue 0 do
|
||||
" : : :
|
||||
syn match uWatch "^[A-Za-z]*>"
|
||||
|
||||
" Define the default highlighting.
|
||||
" For version 5.7 and earlier: only when not done already
|
||||
@@ -116,40 +105,41 @@ if version >= 508 || !exists("did_u_syntax_inits")
|
||||
else
|
||||
command -nargs=+ HiLink hi def link <args>
|
||||
endif
|
||||
|
||||
HiLink uWatch Debug
|
||||
HiLink uDocMono Delimiter
|
||||
HiLink unisonDocDirective Import
|
||||
HiLink unisonDocQuote Delimiter
|
||||
HiLink unisonDocCode Delimiter
|
||||
HiLink unisonDoc String
|
||||
HiLink uBelowFold Comment
|
||||
HiLink uBlockComment Comment
|
||||
HiLink uBoolean Boolean
|
||||
HiLink uCharacter Character
|
||||
HiLink uComment Comment
|
||||
HiLink uConditional Conditional
|
||||
HiLink uConditional Conditional
|
||||
HiLink uDebug Debug
|
||||
HiLink uDelimiter Delimiter
|
||||
HiLink uDocBlock String
|
||||
HiLink uDocDirective Import
|
||||
HiLink uDocIncluded Import
|
||||
HiLink uFloat Float
|
||||
HiLink uImport Include
|
||||
HiLink uLineComment Comment
|
||||
HiLink uLink Type
|
||||
HiLink uName Identifier
|
||||
HiLink uNumber Number
|
||||
HiLink uOperator Operator
|
||||
HiLink uPragma SpecialComment
|
||||
HiLink uSpecialChar SpecialChar
|
||||
HiLink uSpecialCharError Error
|
||||
HiLink uStatement Statement
|
||||
HiLink uString String
|
||||
HiLink uType Type
|
||||
HiLink uTypedef Typedef
|
||||
|
||||
HiLink uImport Include
|
||||
HiLink uInfix PreProc
|
||||
HiLink uStatement Statement
|
||||
HiLink uConditional Conditional
|
||||
HiLink uSpecialChar SpecialChar
|
||||
HiLink uTypedef Typedef
|
||||
HiLink uVarSym uOperator
|
||||
HiLink uConSym uOperator
|
||||
HiLink uOperator Operator
|
||||
HiLink uDelimiter Delimiter
|
||||
HiLink uSpecialCharError Error
|
||||
HiLink uString String
|
||||
HiLink uCharacter Character
|
||||
HiLink uNumber Number
|
||||
HiLink uFloat Float
|
||||
HiLink uConditional Conditional
|
||||
HiLink uLiterateComment uComment
|
||||
HiLink uBlockComment uComment
|
||||
HiLink uLineComment uComment
|
||||
HiLink uComment Comment
|
||||
HiLink uBelowFold Comment
|
||||
HiLink uDocBlock String
|
||||
HiLink uLink uType
|
||||
HiLink uDocDirective uImport
|
||||
HiLink uPragma SpecialComment
|
||||
HiLink uBoolean Boolean
|
||||
HiLink uType Type
|
||||
HiLink uMaybe uEnumConst
|
||||
HiLink uOrdering uEnumConst
|
||||
HiLink uEnumConst Constant
|
||||
HiLink uDebug Debug
|
||||
|
||||
delcommand HiLink
|
||||
delcommand HiLink
|
||||
endif
|
||||
|
||||
|
||||
|
||||
@@ -71,5 +71,4 @@ syntax keyword typescriptDOMStyle contained transitionTimingFunction unicodeBidi
|
||||
syntax keyword typescriptDOMStyle contained userSelect userZoom verticalAlign visibility
|
||||
syntax keyword typescriptDOMStyle contained whiteSpace width willChange wordBreak
|
||||
syntax keyword typescriptDOMStyle contained wordSpacing wordWrap writingMode zIndex
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStyle Keyword
|
||||
endif
|
||||
hi def link typescriptDOMStyle Keyword
|
||||
|
||||
@@ -15,8 +15,7 @@ syntax keyword typescriptDOMDocProp contained nodePrincipal ononline pointerLock
|
||||
syntax keyword typescriptDOMDocProp contained popupNode preferredStyleSheetSet selectedStyleSheetSet
|
||||
syntax keyword typescriptDOMDocProp contained styleSheetSets textContent tooltipNode
|
||||
syntax cluster props add=typescriptDOMDocProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMDocProp Keyword
|
||||
endif
|
||||
hi def link typescriptDOMDocProp Keyword
|
||||
syntax keyword typescriptDOMDocMethod contained caretPositionFromPoint close createNodeIterator nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMDocMethod contained createRange createTreeWalker elementFromPoint nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMDocMethod contained getElementsByName adoptNode createAttribute nextgroup=typescriptFuncCallArg
|
||||
@@ -32,5 +31,4 @@ syntax keyword typescriptDOMDocMethod contained hasFocus importNode loadOverlay
|
||||
syntax keyword typescriptDOMDocMethod contained queryCommandSupported querySelector nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMDocMethod contained querySelectorAll write writeln nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptDOMDocMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMDocMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMDocMethod Keyword
|
||||
|
||||
@@ -9,8 +9,7 @@ syntax keyword typescriptDOMElemAttrs contained oncopy oncut onpaste onwheel scr
|
||||
syntax keyword typescriptDOMElemAttrs contained scrollLeft scrollTop scrollWidth tagName
|
||||
syntax keyword typescriptDOMElemAttrs contained classList className name outerHTML
|
||||
syntax keyword typescriptDOMElemAttrs contained style
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMElemAttrs Keyword
|
||||
endif
|
||||
hi def link typescriptDOMElemAttrs Keyword
|
||||
syntax keyword typescriptDOMElemFuncs contained getAttributeNS getAttributeNode getAttributeNodeNS
|
||||
syntax keyword typescriptDOMElemFuncs contained getBoundingClientRect getClientRects
|
||||
syntax keyword typescriptDOMElemFuncs contained getElementsByClassName getElementsByTagName
|
||||
@@ -23,5 +22,4 @@ syntax keyword typescriptDOMElemFuncs contained requestPointerLock scrollIntoVie
|
||||
syntax keyword typescriptDOMElemFuncs contained setAttribute setAttributeNS setAttributeNode
|
||||
syntax keyword typescriptDOMElemFuncs contained setAttributeNodeNS setCapture supports
|
||||
syntax keyword typescriptDOMElemFuncs contained getAttribute
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMElemFuncs Keyword
|
||||
endif
|
||||
hi def link typescriptDOMElemFuncs Keyword
|
||||
|
||||
@@ -5,8 +5,7 @@ endif
|
||||
syntax keyword typescriptDOMEventTargetMethod contained addEventListener removeEventListener nextgroup=typescriptEventFuncCallArg
|
||||
syntax keyword typescriptDOMEventTargetMethod contained dispatchEvent waitUntil nextgroup=typescriptEventFuncCallArg
|
||||
syntax cluster props add=typescriptDOMEventTargetMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMEventTargetMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMEventTargetMethod Keyword
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AnimationEvent
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName AudioProcessingEvent
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName BeforeInputEvent
|
||||
@@ -52,16 +51,13 @@ syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName Trans
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UIEvent
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName UserProximityEvent
|
||||
syntax keyword typescriptDOMEventCons containedin=typescriptIdentifierName WheelEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMEventCons Structure
|
||||
endif
|
||||
hi def link typescriptDOMEventCons Structure
|
||||
syntax keyword typescriptDOMEventProp contained bubbles cancelable currentTarget defaultPrevented
|
||||
syntax keyword typescriptDOMEventProp contained eventPhase target timeStamp type isTrusted
|
||||
syntax keyword typescriptDOMEventProp contained isReload
|
||||
syntax cluster props add=typescriptDOMEventProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMEventProp Keyword
|
||||
endif
|
||||
hi def link typescriptDOMEventProp Keyword
|
||||
syntax keyword typescriptDOMEventMethod contained initEvent preventDefault stopImmediatePropagation nextgroup=typescriptEventFuncCallArg
|
||||
syntax keyword typescriptDOMEventMethod contained stopPropagation respondWith default nextgroup=typescriptEventFuncCallArg
|
||||
syntax cluster props add=typescriptDOMEventMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMEventMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMEventMethod Keyword
|
||||
|
||||
@@ -5,9 +5,7 @@ endif
|
||||
syntax keyword typescriptDOMFormProp contained acceptCharset action elements encoding
|
||||
syntax keyword typescriptDOMFormProp contained enctype length method name target
|
||||
syntax cluster props add=typescriptDOMFormProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMFormProp Keyword
|
||||
endif
|
||||
hi def link typescriptDOMFormProp Keyword
|
||||
syntax keyword typescriptDOMFormMethod contained reportValidity reset submit nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptDOMFormMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMFormMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMFormMethod Keyword
|
||||
|
||||
@@ -8,8 +8,7 @@ syntax keyword typescriptDOMNodeProp contained nextSibling nodeName nodePrincipa
|
||||
syntax keyword typescriptDOMNodeProp contained nodeType nodeValue ownerDocument parentElement
|
||||
syntax keyword typescriptDOMNodeProp contained parentNode prefix previousSibling textContent
|
||||
syntax cluster props add=typescriptDOMNodeProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeProp Keyword
|
||||
endif
|
||||
hi def link typescriptDOMNodeProp Keyword
|
||||
syntax keyword typescriptDOMNodeMethod contained appendChild cloneNode compareDocumentPosition nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMNodeMethod contained getUserData hasAttributes hasChildNodes nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMNodeMethod contained insertBefore isDefaultNamespace isEqualNode nextgroup=typescriptFuncCallArg
|
||||
@@ -18,12 +17,10 @@ syntax keyword typescriptDOMNodeMethod contained lookupPrefix normalize removeCh
|
||||
syntax keyword typescriptDOMNodeMethod contained replaceChild setUserData nextgroup=typescriptFuncCallArg
|
||||
syntax match typescriptDOMNodeMethod contained /contains/
|
||||
syntax cluster props add=typescriptDOMNodeMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMNodeMethod Keyword
|
||||
syntax keyword typescriptDOMNodeType contained ELEMENT_NODE ATTRIBUTE_NODE TEXT_NODE
|
||||
syntax keyword typescriptDOMNodeType contained CDATA_SECTION_NODEN_NODE ENTITY_REFERENCE_NODE
|
||||
syntax keyword typescriptDOMNodeType contained ENTITY_NODE PROCESSING_INSTRUCTION_NODEN_NODE
|
||||
syntax keyword typescriptDOMNodeType contained COMMENT_NODE DOCUMENT_NODE DOCUMENT_TYPE_NODE
|
||||
syntax keyword typescriptDOMNodeType contained DOCUMENT_FRAGMENT_NODE NOTATION_NODE
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMNodeType Keyword
|
||||
endif
|
||||
hi def link typescriptDOMNodeType Keyword
|
||||
|
||||
@@ -3,14 +3,11 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/yats/dom
|
||||
endif
|
||||
|
||||
syntax keyword typescriptDOMStorage contained sessionStorage localStorage
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStorage Keyword
|
||||
endif
|
||||
hi def link typescriptDOMStorage Keyword
|
||||
syntax keyword typescriptDOMStorageProp contained length
|
||||
syntax cluster props add=typescriptDOMStorageProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStorageProp Keyword
|
||||
endif
|
||||
hi def link typescriptDOMStorageProp Keyword
|
||||
syntax keyword typescriptDOMStorageMethod contained getItem key setItem removeItem nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDOMStorageMethod contained clear nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptDOMStorageMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMStorageMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDOMStorageMethod Keyword
|
||||
|
||||
@@ -6,5 +6,4 @@ syntax keyword typescriptGlobal containedin=typescriptIdentifierName Intl
|
||||
syntax keyword typescriptIntlMethod contained Collator DateTimeFormat NumberFormat nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptIntlMethod contained PluralRules nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptIntlMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptIntlMethod Keyword
|
||||
endif
|
||||
hi def link typescriptIntlMethod Keyword
|
||||
|
||||
@@ -5,8 +5,7 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Array nextgroup=typescriptGlobalArrayDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalArrayDot /\./ contained nextgroup=typescriptArrayStaticMethod,typescriptProp
|
||||
syntax keyword typescriptArrayStaticMethod contained from isArray of nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptArrayStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptArrayStaticMethod Keyword
|
||||
syntax keyword typescriptArrayMethod contained concat copyWithin entries every fill nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptArrayMethod contained filter find findIndex flat flatMap forEach nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptArrayMethod contained includes indexOf join keys lastIndexOf map nextgroup=typescriptFuncCallArg
|
||||
@@ -14,5 +13,4 @@ syntax keyword typescriptArrayMethod contained pop push reduce reduceRight rever
|
||||
syntax keyword typescriptArrayMethod contained shift slice some sort splice toLocaleString nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptArrayMethod contained toSource toString unshift values nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptArrayMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptArrayMethod Keyword
|
||||
endif
|
||||
hi def link typescriptArrayMethod Keyword
|
||||
|
||||
@@ -5,8 +5,7 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Date nextgroup=typescriptGlobalDateDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalDateDot /\./ contained nextgroup=typescriptDateStaticMethod,typescriptProp
|
||||
syntax keyword typescriptDateStaticMethod contained UTC now parse nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDateStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDateStaticMethod Keyword
|
||||
syntax keyword typescriptDateMethod contained getDate getDay getFullYear getHours nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDateMethod contained getMilliseconds getMinutes getMonth nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDateMethod contained getSeconds getTime getTimezoneOffset nextgroup=typescriptFuncCallArg
|
||||
@@ -22,5 +21,4 @@ syntax keyword typescriptDateMethod contained toLocaleFormat toLocaleString toLo
|
||||
syntax keyword typescriptDateMethod contained toSource toString toTimeString toUTCString nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptDateMethod contained valueOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptDateMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDateMethod Keyword
|
||||
endif
|
||||
hi def link typescriptDateMethod Keyword
|
||||
|
||||
@@ -5,5 +5,4 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function
|
||||
syntax keyword typescriptFunctionMethod contained apply bind call nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFunctionMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFunctionMethod Keyword
|
||||
endif
|
||||
hi def link typescriptFunctionMethod Keyword
|
||||
|
||||
@@ -5,5 +5,4 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName JSON nextgroup=typescriptGlobalJSONDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalJSONDot /\./ contained nextgroup=typescriptJSONStaticMethod,typescriptProp
|
||||
syntax keyword typescriptJSONStaticMethod contained parse stringify nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptJSONStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptJSONStaticMethod Keyword
|
||||
|
||||
@@ -5,10 +5,8 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Map WeakMap
|
||||
syntax keyword typescriptES6MapProp contained size
|
||||
syntax cluster props add=typescriptES6MapProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6MapProp Keyword
|
||||
endif
|
||||
hi def link typescriptES6MapProp Keyword
|
||||
syntax keyword typescriptES6MapMethod contained clear delete entries forEach get has nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptES6MapMethod contained keys set values nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptES6MapMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6MapMethod Keyword
|
||||
endif
|
||||
hi def link typescriptES6MapMethod Keyword
|
||||
|
||||
@@ -6,13 +6,11 @@ syntax keyword typescriptGlobal containedin=typescriptIdentifierName Math nextgr
|
||||
syntax match typescriptGlobalMathDot /\./ contained nextgroup=typescriptMathStaticProp,typescriptMathStaticMethod,typescriptProp
|
||||
syntax keyword typescriptMathStaticProp contained E LN10 LN2 LOG10E LOG2E PI SQRT1_2
|
||||
syntax keyword typescriptMathStaticProp contained SQRT2
|
||||
if exists("did_typescript_hilink") | HiLink typescriptMathStaticProp Keyword
|
||||
endif
|
||||
hi def link typescriptMathStaticProp Keyword
|
||||
syntax keyword typescriptMathStaticMethod contained abs acos acosh asin asinh atan nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptMathStaticMethod contained atan2 atanh cbrt ceil clz32 cos nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptMathStaticMethod contained cosh exp expm1 floor fround hypot nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptMathStaticMethod contained imul log log10 log1p log2 max nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptMathStaticMethod contained min pow random round sign sin nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptMathStaticMethod contained sinh sqrt tan tanh trunc nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptMathStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptMathStaticMethod Keyword
|
||||
|
||||
@@ -7,14 +7,11 @@ syntax match typescriptGlobalNumberDot /\./ contained nextgroup=typescriptNumb
|
||||
syntax keyword typescriptNumberStaticProp contained EPSILON MAX_SAFE_INTEGER MAX_VALUE
|
||||
syntax keyword typescriptNumberStaticProp contained MIN_SAFE_INTEGER MIN_VALUE NEGATIVE_INFINITY
|
||||
syntax keyword typescriptNumberStaticProp contained NaN POSITIVE_INFINITY
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNumberStaticProp Keyword
|
||||
endif
|
||||
hi def link typescriptNumberStaticProp Keyword
|
||||
syntax keyword typescriptNumberStaticMethod contained isFinite isInteger isNaN isSafeInteger nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptNumberStaticMethod contained parseFloat parseInt nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNumberStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptNumberStaticMethod Keyword
|
||||
syntax keyword typescriptNumberMethod contained toExponential toFixed toLocaleString nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptNumberMethod contained toPrecision toSource toString valueOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptNumberMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNumberMethod Keyword
|
||||
endif
|
||||
hi def link typescriptNumberMethod Keyword
|
||||
|
||||
@@ -10,12 +10,10 @@ syntax keyword typescriptObjectStaticMethod contained getOwnPropertyDescriptor g
|
||||
syntax keyword typescriptObjectStaticMethod contained getOwnPropertySymbols getPrototypeOf nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptObjectStaticMethod contained is isExtensible isFrozen isSealed nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptObjectStaticMethod contained keys preventExtensions values nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptObjectStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptObjectStaticMethod Keyword
|
||||
syntax keyword typescriptObjectMethod contained getOwnPropertyDescriptors hasOwnProperty nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptObjectMethod contained isPrototypeOf propertyIsEnumerable nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptObjectMethod contained toLocaleString toString valueOf seal nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptObjectMethod contained setPrototypeOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptObjectMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptObjectMethod Keyword
|
||||
endif
|
||||
hi def link typescriptObjectMethod Keyword
|
||||
|
||||
@@ -5,9 +5,7 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Promise nextgroup=typescriptGlobalPromiseDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalPromiseDot /\./ contained nextgroup=typescriptPromiseStaticMethod,typescriptProp
|
||||
syntax keyword typescriptPromiseStaticMethod contained all allSettled any race reject resolve nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptPromiseStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptPromiseStaticMethod Keyword
|
||||
syntax keyword typescriptPromiseMethod contained then catch finally nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptPromiseMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptPromiseMethod Keyword
|
||||
endif
|
||||
hi def link typescriptPromiseMethod Keyword
|
||||
|
||||
@@ -7,5 +7,4 @@ syntax keyword typescriptProxyAPI contained getOwnPropertyDescriptor getOwnPrope
|
||||
syntax keyword typescriptProxyAPI contained defineProperty deleteProperty freeze seal
|
||||
syntax keyword typescriptProxyAPI contained preventExtensions has hasOwn get set enumerate
|
||||
syntax keyword typescriptProxyAPI contained iterate ownKeys apply construct
|
||||
if exists("did_typescript_hilink") | HiLink typescriptProxyAPI Keyword
|
||||
endif
|
||||
hi def link typescriptProxyAPI Keyword
|
||||
|
||||
@@ -8,5 +8,4 @@ syntax keyword typescriptReflectMethod contained enumerate get getOwnPropertyDes
|
||||
syntax keyword typescriptReflectMethod contained getPrototypeOf has isExtensible ownKeys nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptReflectMethod contained preventExtensions set setPrototypeOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptReflectMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptReflectMethod Keyword
|
||||
endif
|
||||
hi def link typescriptReflectMethod Keyword
|
||||
|
||||
@@ -5,13 +5,10 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RegExp nextgroup=typescriptGlobalRegExpDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalRegExpDot /\./ contained nextgroup=typescriptRegExpStaticProp,typescriptProp
|
||||
syntax keyword typescriptRegExpStaticProp contained lastIndex
|
||||
if exists("did_typescript_hilink") | HiLink typescriptRegExpStaticProp Keyword
|
||||
endif
|
||||
hi def link typescriptRegExpStaticProp Keyword
|
||||
syntax keyword typescriptRegExpProp contained dotAll global ignoreCase multiline source sticky
|
||||
syntax cluster props add=typescriptRegExpProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptRegExpProp Keyword
|
||||
endif
|
||||
hi def link typescriptRegExpProp Keyword
|
||||
syntax keyword typescriptRegExpMethod contained exec test nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptRegExpMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptRegExpMethod Keyword
|
||||
endif
|
||||
hi def link typescriptRegExpMethod Keyword
|
||||
|
||||
@@ -5,10 +5,8 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Set WeakSet
|
||||
syntax keyword typescriptES6SetProp contained size
|
||||
syntax cluster props add=typescriptES6SetProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6SetProp Keyword
|
||||
endif
|
||||
hi def link typescriptES6SetProp Keyword
|
||||
syntax keyword typescriptES6SetMethod contained add clear delete entries forEach has nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptES6SetMethod contained values nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptES6SetMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptES6SetMethod Keyword
|
||||
endif
|
||||
hi def link typescriptES6SetMethod Keyword
|
||||
|
||||
@@ -5,8 +5,7 @@ endif
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName String nextgroup=typescriptGlobalStringDot,typescriptFuncCallArg
|
||||
syntax match typescriptGlobalStringDot /\./ contained nextgroup=typescriptStringStaticMethod,typescriptProp
|
||||
syntax keyword typescriptStringStaticMethod contained fromCharCode fromCodePoint raw nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptStringStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptStringStaticMethod Keyword
|
||||
syntax keyword typescriptStringMethod contained anchor charAt charCodeAt codePointAt nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptStringMethod contained concat endsWith includes indexOf lastIndexOf nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptStringMethod contained link localeCompare match matchAll normalize nextgroup=typescriptFuncCallArg
|
||||
@@ -16,5 +15,4 @@ syntax keyword typescriptStringMethod contained toLocaleLowerCase toLocaleUpperC
|
||||
syntax keyword typescriptStringMethod contained toLowerCase toString toUpperCase trim nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptStringMethod contained trimEnd trimStart valueOf nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptStringMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptStringMethod Keyword
|
||||
endif
|
||||
hi def link typescriptStringMethod Keyword
|
||||
|
||||
@@ -8,8 +8,6 @@ syntax keyword typescriptSymbolStaticProp contained description length iterator
|
||||
syntax keyword typescriptSymbolStaticProp contained search split hasInstance isConcatSpreadable
|
||||
syntax keyword typescriptSymbolStaticProp contained unscopables species toPrimitive
|
||||
syntax keyword typescriptSymbolStaticProp contained toStringTag
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticProp Keyword
|
||||
endif
|
||||
hi def link typescriptSymbolStaticProp Keyword
|
||||
syntax keyword typescriptSymbolStaticMethod contained for keyFor nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSymbolStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptSymbolStaticMethod Keyword
|
||||
|
||||
@@ -6,56 +6,46 @@ syntax keyword typescriptAnimationEvent contained animationend animationiteratio
|
||||
syntax keyword typescriptAnimationEvent contained animationstart beginEvent endEvent
|
||||
syntax keyword typescriptAnimationEvent contained repeatEvent
|
||||
syntax cluster events add=typescriptAnimationEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptAnimationEvent Title
|
||||
endif
|
||||
hi def link typescriptAnimationEvent Title
|
||||
syntax keyword typescriptCSSEvent contained CssRuleViewRefreshed CssRuleViewChanged
|
||||
syntax keyword typescriptCSSEvent contained CssRuleViewCSSLinkClicked transitionend
|
||||
syntax cluster events add=typescriptCSSEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptCSSEvent Title
|
||||
endif
|
||||
hi def link typescriptCSSEvent Title
|
||||
syntax keyword typescriptDatabaseEvent contained blocked complete error success upgradeneeded
|
||||
syntax keyword typescriptDatabaseEvent contained versionchange
|
||||
syntax cluster events add=typescriptDatabaseEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDatabaseEvent Title
|
||||
endif
|
||||
hi def link typescriptDatabaseEvent Title
|
||||
syntax keyword typescriptDocumentEvent contained DOMLinkAdded DOMLinkRemoved DOMMetaAdded
|
||||
syntax keyword typescriptDocumentEvent contained DOMMetaRemoved DOMWillOpenModalDialog
|
||||
syntax keyword typescriptDocumentEvent contained DOMModalDialogClosed unload
|
||||
syntax cluster events add=typescriptDocumentEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDocumentEvent Title
|
||||
endif
|
||||
hi def link typescriptDocumentEvent Title
|
||||
syntax keyword typescriptDOMMutationEvent contained DOMAttributeNameChanged DOMAttrModified
|
||||
syntax keyword typescriptDOMMutationEvent contained DOMCharacterDataModified DOMContentLoaded
|
||||
syntax keyword typescriptDOMMutationEvent contained DOMElementNameChanged DOMNodeInserted
|
||||
syntax keyword typescriptDOMMutationEvent contained DOMNodeInsertedIntoDocument DOMNodeRemoved
|
||||
syntax keyword typescriptDOMMutationEvent contained DOMNodeRemovedFromDocument DOMSubtreeModified
|
||||
syntax cluster events add=typescriptDOMMutationEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDOMMutationEvent Title
|
||||
endif
|
||||
hi def link typescriptDOMMutationEvent Title
|
||||
syntax keyword typescriptDragEvent contained drag dragdrop dragend dragenter dragexit
|
||||
syntax keyword typescriptDragEvent contained draggesture dragleave dragover dragstart
|
||||
syntax keyword typescriptDragEvent contained drop
|
||||
syntax cluster events add=typescriptDragEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptDragEvent Title
|
||||
endif
|
||||
hi def link typescriptDragEvent Title
|
||||
syntax keyword typescriptElementEvent contained invalid overflow underflow DOMAutoComplete
|
||||
syntax keyword typescriptElementEvent contained command commandupdate
|
||||
syntax cluster events add=typescriptElementEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptElementEvent Title
|
||||
endif
|
||||
hi def link typescriptElementEvent Title
|
||||
syntax keyword typescriptFocusEvent contained blur change DOMFocusIn DOMFocusOut focus
|
||||
syntax keyword typescriptFocusEvent contained focusin focusout
|
||||
syntax cluster events add=typescriptFocusEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFocusEvent Title
|
||||
endif
|
||||
hi def link typescriptFocusEvent Title
|
||||
syntax keyword typescriptFormEvent contained reset submit
|
||||
syntax cluster events add=typescriptFormEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFormEvent Title
|
||||
endif
|
||||
hi def link typescriptFormEvent Title
|
||||
syntax keyword typescriptFrameEvent contained DOMFrameContentLoaded
|
||||
syntax cluster events add=typescriptFrameEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFrameEvent Title
|
||||
endif
|
||||
hi def link typescriptFrameEvent Title
|
||||
syntax keyword typescriptInputDeviceEvent contained click contextmenu DOMMouseScroll
|
||||
syntax keyword typescriptInputDeviceEvent contained dblclick gamepadconnected gamepaddisconnected
|
||||
syntax keyword typescriptInputDeviceEvent contained keydown keypress keyup MozGamepadButtonDown
|
||||
@@ -65,8 +55,7 @@ syntax keyword typescriptInputDeviceEvent contained mouseover mouseup mousewheel
|
||||
syntax keyword typescriptInputDeviceEvent contained pointerlockchange pointerlockerror
|
||||
syntax keyword typescriptInputDeviceEvent contained wheel
|
||||
syntax cluster events add=typescriptInputDeviceEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptInputDeviceEvent Title
|
||||
endif
|
||||
hi def link typescriptInputDeviceEvent Title
|
||||
syntax keyword typescriptMediaEvent contained audioprocess canplay canplaythrough
|
||||
syntax keyword typescriptMediaEvent contained durationchange emptied ended ended loadeddata
|
||||
syntax keyword typescriptMediaEvent contained loadedmetadata MozAudioAvailable pause
|
||||
@@ -74,90 +63,70 @@ syntax keyword typescriptMediaEvent contained play playing ratechange seeked see
|
||||
syntax keyword typescriptMediaEvent contained stalled suspend timeupdate volumechange
|
||||
syntax keyword typescriptMediaEvent contained waiting complete
|
||||
syntax cluster events add=typescriptMediaEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptMediaEvent Title
|
||||
endif
|
||||
hi def link typescriptMediaEvent Title
|
||||
syntax keyword typescriptMenuEvent contained DOMMenuItemActive DOMMenuItemInactive
|
||||
syntax cluster events add=typescriptMenuEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptMenuEvent Title
|
||||
endif
|
||||
hi def link typescriptMenuEvent Title
|
||||
syntax keyword typescriptNetworkEvent contained datachange dataerror disabled enabled
|
||||
syntax keyword typescriptNetworkEvent contained offline online statuschange connectionInfoUpdate
|
||||
syntax cluster events add=typescriptNetworkEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNetworkEvent Title
|
||||
endif
|
||||
hi def link typescriptNetworkEvent Title
|
||||
syntax keyword typescriptProgressEvent contained abort error load loadend loadstart
|
||||
syntax keyword typescriptProgressEvent contained progress timeout uploadprogress
|
||||
syntax cluster events add=typescriptProgressEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptProgressEvent Title
|
||||
endif
|
||||
hi def link typescriptProgressEvent Title
|
||||
syntax keyword typescriptResourceEvent contained cached error load
|
||||
syntax cluster events add=typescriptResourceEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptResourceEvent Title
|
||||
endif
|
||||
hi def link typescriptResourceEvent Title
|
||||
syntax keyword typescriptScriptEvent contained afterscriptexecute beforescriptexecute
|
||||
syntax cluster events add=typescriptScriptEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptScriptEvent Title
|
||||
endif
|
||||
hi def link typescriptScriptEvent Title
|
||||
syntax keyword typescriptSensorEvent contained compassneedscalibration devicelight
|
||||
syntax keyword typescriptSensorEvent contained devicemotion deviceorientation deviceproximity
|
||||
syntax keyword typescriptSensorEvent contained orientationchange userproximity
|
||||
syntax cluster events add=typescriptSensorEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSensorEvent Title
|
||||
endif
|
||||
hi def link typescriptSensorEvent Title
|
||||
syntax keyword typescriptSessionHistoryEvent contained pagehide pageshow popstate
|
||||
syntax cluster events add=typescriptSessionHistoryEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSessionHistoryEvent Title
|
||||
endif
|
||||
hi def link typescriptSessionHistoryEvent Title
|
||||
syntax keyword typescriptStorageEvent contained change storage
|
||||
syntax cluster events add=typescriptStorageEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptStorageEvent Title
|
||||
endif
|
||||
hi def link typescriptStorageEvent Title
|
||||
syntax keyword typescriptSVGEvent contained SVGAbort SVGError SVGLoad SVGResize SVGScroll
|
||||
syntax keyword typescriptSVGEvent contained SVGUnload SVGZoom
|
||||
syntax cluster events add=typescriptSVGEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptSVGEvent Title
|
||||
endif
|
||||
hi def link typescriptSVGEvent Title
|
||||
syntax keyword typescriptTabEvent contained visibilitychange
|
||||
syntax cluster events add=typescriptTabEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptTabEvent Title
|
||||
endif
|
||||
hi def link typescriptTabEvent Title
|
||||
syntax keyword typescriptTextEvent contained compositionend compositionstart compositionupdate
|
||||
syntax keyword typescriptTextEvent contained copy cut paste select text
|
||||
syntax cluster events add=typescriptTextEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptTextEvent Title
|
||||
endif
|
||||
hi def link typescriptTextEvent Title
|
||||
syntax keyword typescriptTouchEvent contained touchcancel touchend touchenter touchleave
|
||||
syntax keyword typescriptTouchEvent contained touchmove touchstart
|
||||
syntax cluster events add=typescriptTouchEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptTouchEvent Title
|
||||
endif
|
||||
hi def link typescriptTouchEvent Title
|
||||
syntax keyword typescriptUpdateEvent contained checking downloading error noupdate
|
||||
syntax keyword typescriptUpdateEvent contained obsolete updateready
|
||||
syntax cluster events add=typescriptUpdateEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptUpdateEvent Title
|
||||
endif
|
||||
hi def link typescriptUpdateEvent Title
|
||||
syntax keyword typescriptValueChangeEvent contained hashchange input readystatechange
|
||||
syntax cluster events add=typescriptValueChangeEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptValueChangeEvent Title
|
||||
endif
|
||||
hi def link typescriptValueChangeEvent Title
|
||||
syntax keyword typescriptViewEvent contained fullscreen fullscreenchange fullscreenerror
|
||||
syntax keyword typescriptViewEvent contained resize scroll
|
||||
syntax cluster events add=typescriptViewEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptViewEvent Title
|
||||
endif
|
||||
hi def link typescriptViewEvent Title
|
||||
syntax keyword typescriptWebsocketEvent contained close error message open
|
||||
syntax cluster events add=typescriptWebsocketEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptWebsocketEvent Title
|
||||
endif
|
||||
hi def link typescriptWebsocketEvent Title
|
||||
syntax keyword typescriptWindowEvent contained DOMWindowCreated DOMWindowClose DOMTitleChanged
|
||||
syntax cluster events add=typescriptWindowEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptWindowEvent Title
|
||||
endif
|
||||
hi def link typescriptWindowEvent Title
|
||||
syntax keyword typescriptUncategorizedEvent contained beforeunload message open show
|
||||
syntax cluster events add=typescriptUncategorizedEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptUncategorizedEvent Title
|
||||
endif
|
||||
hi def link typescriptUncategorizedEvent Title
|
||||
syntax keyword typescriptServiceWorkerEvent contained install activate fetch
|
||||
syntax cluster events add=typescriptServiceWorkerEvent
|
||||
if exists("did_typescript_hilink") | HiLink typescriptServiceWorkerEvent Title
|
||||
endif
|
||||
hi def link typescriptServiceWorkerEvent Title
|
||||
|
||||
@@ -9,5 +9,4 @@ syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setTime
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearTimeout
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName setInterval
|
||||
syntax keyword typescriptNodeGlobal containedin=typescriptIdentifierName clearInterval
|
||||
if exists("did_typescript_hilink") | HiLink typescriptNodeGlobal Structure
|
||||
endif
|
||||
hi def link typescriptNodeGlobal Structure
|
||||
|
||||
@@ -2,26 +2,25 @@ if polyglot#init#is_disabled(expand('<sfile>:p'), 'typescript', 'syntax/yats/typ
|
||||
finish
|
||||
endif
|
||||
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName SyntaxError TypeError
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName URIError Date
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float32Array
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float64Array
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int16Array Int32Array
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int8Array Uint16Array
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint32Array Uint8Array
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint8ClampedArray
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ParallelArray
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ArrayBuffer DataView
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Iterator Generator
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect Proxy
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Function Boolean nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Error EvalError nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName InternalError nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName RangeError ReferenceError nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName StopIteration nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName SyntaxError TypeError nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName URIError Date nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float32Array nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Float64Array nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int16Array Int32Array nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Int8Array Uint16Array nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint32Array Uint8Array nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Uint8ClampedArray nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ParallelArray nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName ArrayBuffer DataView nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Iterator Generator nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName Reflect Proxy nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobal containedin=typescriptIdentifierName arguments
|
||||
if exists("did_typescript_hilink") | HiLink typescriptGlobal Structure
|
||||
endif
|
||||
hi def link typescriptGlobal Structure
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName eval uneval nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isFinite nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName isNaN parseFloat nextgroup=typescriptFuncCallArg
|
||||
@@ -31,5 +30,4 @@ syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName decod
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURI nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptGlobalMethod containedin=typescriptIdentifierName encodeURIComponent nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptGlobalMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptGlobalMethod Structure
|
||||
endif
|
||||
hi def link typescriptGlobalMethod Structure
|
||||
|
||||
@@ -11,31 +11,24 @@ syntax keyword typescriptGlobal containedin=typescriptIdentifierName URLUtils
|
||||
syntax keyword typescriptFileMethod contained readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptFileMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFileMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFileMethod Keyword
|
||||
endif
|
||||
hi def link typescriptFileMethod Keyword
|
||||
syntax keyword typescriptFileReaderProp contained error readyState result
|
||||
syntax cluster props add=typescriptFileReaderProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFileReaderProp Keyword
|
||||
endif
|
||||
hi def link typescriptFileReaderProp Keyword
|
||||
syntax keyword typescriptFileReaderMethod contained abort readAsArrayBuffer readAsBinaryString nextgroup=typescriptFuncCallArg
|
||||
syntax keyword typescriptFileReaderMethod contained readAsDataURL readAsText nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFileReaderMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFileReaderMethod Keyword
|
||||
endif
|
||||
hi def link typescriptFileReaderMethod Keyword
|
||||
syntax keyword typescriptFileListMethod contained item nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptFileListMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptFileListMethod Keyword
|
||||
endif
|
||||
hi def link typescriptFileListMethod Keyword
|
||||
syntax keyword typescriptBlobMethod contained append getBlob getFile nextgroup=typescriptFuncCallArg
|
||||
syntax cluster props add=typescriptBlobMethod
|
||||
if exists("did_typescript_hilink") | HiLink typescriptBlobMethod Keyword
|
||||
endif
|
||||
hi def link typescriptBlobMethod Keyword
|
||||
syntax keyword typescriptURLUtilsProp contained hash host hostname href origin password
|
||||
syntax keyword typescriptURLUtilsProp contained pathname port protocol search searchParams
|
||||
syntax keyword typescriptURLUtilsProp contained username
|
||||
syntax cluster props add=typescriptURLUtilsProp
|
||||
if exists("did_typescript_hilink") | HiLink typescriptURLUtilsProp Keyword
|
||||
endif
|
||||
hi def link typescriptURLUtilsProp Keyword
|
||||
syntax keyword typescriptURLStaticMethod contained createObjectURL revokeObjectURL nextgroup=typescriptFuncCallArg
|
||||
if exists("did_typescript_hilink") | HiLink typescriptURLStaticMethod Keyword
|
||||
endif
|
||||
hi def link typescriptURLStaticMethod Keyword
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user