From 334f9718633cd710381ee385765874f7e9f34db3 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Tue, 7 Jul 2020 11:58:07 -0400 Subject: [PATCH 1/3] Add Dart highlighting support Implements #226. --- colors/onedark.vim | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/colors/onedark.vim b/colors/onedark.vim index b45539d..0bbbea0 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -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 }) From ed76f2570e54c00cb9f0d7b397c59d95d8722531 Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Sat, 18 Jul 2020 00:10:37 -0400 Subject: [PATCH 2/3] Fix a typo. --- colors/onedark.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/colors/onedark.vim b/colors/onedark.vim index 0bbbea0..b04a26d 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -303,7 +303,7 @@ 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("dartSdkClass", { "fg": s:cyan }) call s:h("dartStorageClass", { "fg": s:dark_red }) highlight link dartExceptions Exception highlight link dartStatement Statement From 425443f2da417d6a6c76f42c72dabafb5288924e Mon Sep 17 00:00:00 2001 From: Josh Dick Date: Wed, 22 Jul 2020 00:47:21 -0400 Subject: [PATCH 3/3] Remove custom Dart highlight group --- colors/onedark.vim | 1 - 1 file changed, 1 deletion(-) diff --git a/colors/onedark.vim b/colors/onedark.vim index b04a26d..f205ef2 100644 --- a/colors/onedark.vim +++ b/colors/onedark.vim @@ -302,7 +302,6 @@ 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("dartSdkClass", { "fg": s:cyan }) call s:h("dartStorageClass", { "fg": s:dark_red }) highlight link dartExceptions Exception