From 415ef07721c009d73ff4ec2c2e98ec368bc5c2fc Mon Sep 17 00:00:00 2001 From: Arctic Ice Studio Date: Wed, 9 Jun 2021 21:28:26 +0200 Subject: [PATCH] Support for `php.vim` plugin (#263) This is a follow up for arcticicestudio/nord-vim#218 [1] which added highlighting groups for the bundled PHP syntax, but the groups are actually defined by the StanAngeloff/php.vim [2] plugin. Therefore the added highlighting calls will be moved to a plugin section. Additionally, the `phpClassExtends` and `phpClassImplements` groups have been added to improve the highlighting for classes that implement or extended interfaces/classes. The `phpUseClass` has also been added to improve the highlighting for imports. [1]: https://github.com/arcticicestudio/nord-vim/pull/218 [2]: https://github.com/StanAngeloff/php.vim Related to GH-218 Closes GH-262 Co-authored-by: Sven Greb --- colors/nord.vim | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/colors/nord.vim b/colors/nord.vim index 02792876..fbc61398 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -540,12 +540,9 @@ hi! link markdownHeadingDelimiter Keyword call s:hi("perlPackageDecl", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("phpClasses", s:nord7_gui, "", s:nord7_term, "", "", "") -call s:hi("phpClass", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("phpDocTags", s:nord7_gui, "", s:nord7_term, "", "", "") hi! link phpDocCustomTags phpDocTags hi! link phpMemberSelector Keyword -hi! link phpMethod Function -hi! link phpFunction Function call s:hi("podCmdText", s:nord7_gui, "", s:nord7_term, "", "", "") call s:hi("podVerbatimLine", s:nord4_gui, "", "NONE", "", "", "") @@ -825,6 +822,15 @@ hi! link mkdLinkDefTarget mkdURL hi! link mkdLinkTitle mkdInlineURL hi! link mkdDelimiter Keyword +" PHP +" > StanAngeloff/php.vim +call s:hi("phpClass", s:nord7_gui, "", s:nord7_term, "", "", "") +call s:hi("phpClassImplements", s:nord7_gui, "", s:nord7_term, "", s:bold, "") +hi! link phpClassExtends phpClass +hi! link phpFunction Function +hi! link phpMethod Function +hi! link phpUseClass phpClass + " Vimwiki " > vimwiki/vimwiki if !exists("g:vimwiki_hl_headers") || g:vimwiki_hl_headers == 0