mirror of
https://github.com/sheerun/vim-polyglot.git
synced 2025-11-09 12:03:53 -05:00
Update
This commit is contained in:
@@ -30,13 +30,13 @@ syntax keyword dartOperator new is as in
|
|||||||
syntax match dartOperator "+=\=\|-=\=\|*=\=\|/=\=\|%=\=\|\~/=\=\|<<=\=\|>>=\=\|[<>]=\=\|===\=\|\!==\=\|&=\=\|\^=\=\||=\=\|||\|&&\|\[\]=\=\|=>\|!\|\~\|?\|:"
|
syntax match dartOperator "+=\=\|-=\=\|*=\=\|/=\=\|%=\=\|\~/=\=\|<<=\=\|>>=\=\|[<>]=\=\|===\=\|\!==\=\|&=\=\|\^=\=\||=\=\|||\|&&\|\[\]=\=\|=>\|!\|\~\|?\|:"
|
||||||
syntax keyword dartCoreType void var dynamic
|
syntax keyword dartCoreType void var dynamic
|
||||||
syntax keyword dartStatement return
|
syntax keyword dartStatement return
|
||||||
syntax keyword dartStorageClass static abstract final const factory
|
syntax keyword dartStorageClass static abstract final const factory late
|
||||||
syntax keyword dartExceptions throw rethrow try on catch finally
|
syntax keyword dartExceptions throw rethrow try on catch finally
|
||||||
syntax keyword dartAssert assert
|
syntax keyword dartAssert assert
|
||||||
syntax keyword dartClassDecl extends with implements
|
syntax keyword dartClassDecl extends with implements
|
||||||
syntax keyword dartBranch break continue nextgroup=dartUserLabelRef skipwhite
|
syntax keyword dartBranch break continue nextgroup=dartUserLabelRef skipwhite
|
||||||
syntax keyword dartKeyword get set operator call external async await
|
syntax keyword dartKeyword get set operator call external async await
|
||||||
\ yield sync native covariant
|
\ yield sync native covariant required
|
||||||
syntax match dartUserLabelRef "\k\+" contained
|
syntax match dartUserLabelRef "\k\+" contained
|
||||||
|
|
||||||
syntax region dartLabelRegion transparent matchgroup=dartLabel start="\<case\>" matchgroup=NONE end=":"
|
syntax region dartLabelRegion transparent matchgroup=dartLabel start="\<case\>" matchgroup=NONE end=":"
|
||||||
|
|||||||
@@ -124,7 +124,7 @@ syntax region juliaCurBraBlock matchgroup=juliaParDelim start="{" end="}" cont
|
|||||||
|
|
||||||
" This is really ugly. It would be better to mask most keywords when a dot is
|
" This is really ugly. It would be better to mask most keywords when a dot is
|
||||||
" found, introducing some kind of dot-environment
|
" found, introducing some kind of dot-environment
|
||||||
let s:nodot = '\%(\.\)\@'.s:d(1).'1<!'
|
let s:nodot = '\%(\.\)\@'.s:d(1).'<!'
|
||||||
|
|
||||||
exec 'syntax match juliaKeyword display "'.s:nodot.'\<\%(return\|local\|global\|import\%(all\)\?\|export\|using\|const\|where\)\>"'
|
exec 'syntax match juliaKeyword display "'.s:nodot.'\<\%(return\|local\|global\|import\%(all\)\?\|export\|using\|const\|where\)\>"'
|
||||||
syntax match juliaInfixKeyword display "\%(=\s*\)\@<!\<\%(in\|isa\)\>\S\@!\%(\s*=\)\@!"
|
syntax match juliaInfixKeyword display "\%(=\s*\)\@<!\<\%(in\|isa\)\>\S\@!\%(\s*=\)\@!"
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ let b:current_syntax = "zig"
|
|||||||
|
|
||||||
syn keyword zigStorage const var extern packed export pub noalias inline noinline comptime callconv volatile allowzero align linksection threadlocal
|
syn keyword zigStorage const var extern packed export pub noalias inline noinline comptime callconv volatile allowzero align linksection threadlocal
|
||||||
syn keyword zigStructure struct enum union error
|
syn keyword zigStructure struct enum union error
|
||||||
syn keyword zigStatement break return continue asm defer errdefer unreachable try catch async noasync await suspend resume
|
syn keyword zigStatement break return continue asm defer errdefer unreachable try catch async nosuspend await suspend resume
|
||||||
syn keyword zigConditional if else switch and or orelse
|
syn keyword zigConditional if else switch and or orelse
|
||||||
syn keyword zigRepeat while for
|
syn keyword zigRepeat while for
|
||||||
|
|
||||||
|
|||||||
@@ -14,7 +14,7 @@ syn region zirCommentLine start=";" end="$" contains=zirTodo,@Spell
|
|||||||
|
|
||||||
syn region zirBlock start="{" end="}" transparent fold
|
syn region zirBlock start="{" end="}" transparent fold
|
||||||
|
|
||||||
syn keyword zirKeyword primitive fntype int str as ptrtoint fieldptr deref asm unreachable export ref
|
syn keyword zirKeyword primitive fntype int str as ptrtoint fieldptr deref asm unreachable export ref fn
|
||||||
|
|
||||||
syn keyword zirTodo contained TODO
|
syn keyword zirTodo contained TODO
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user