Skip to content

Commit

Permalink
Add Dart highlighting support
Browse files Browse the repository at this point in the history
Implements #226.
  • Loading branch information
joshdick committed Jul 7, 2020
1 parent 78d4b02 commit 334f971
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions colors/onedark.vim
Original file line number Diff line number Diff line change
Expand Up @@ -297,6 +297,18 @@ call s:h("cssSelectorOp", { "fg": s:purple })
call s:h("cssSelectorOp2", { "fg": s:purple })
call s:h("cssTagName", { "fg": s:red })

" Dart
call s:h("dartTypeDef", { "fg": s:red })
call s:h("dartClassDecl", { "fg": s:red })
call s:h("dartInterpolation", { "fg": s:blue })
highlight link dartLibrary Include
call s:h("dartCoreClasses", { "fg": s:cyan })
call s:h("dartSdkClas", { "fg": s:cyan })
call s:h("dartStorageClass", { "fg": s:dark_red })
highlight link dartExceptions Exception
highlight link dartStatement Statement
call s:h("dartConstant", { "fg": s:dark_yellow })

" Fish Shell
call s:h("fishKeyword", { "fg": s:purple })
call s:h("fishConditional", { "fg": s:purple })
Expand Down

0 comments on commit 334f971

Please sign in to comment.