diff options
author | Arctic Ice Studio <development@arcticicestudio.com> | 2021-06-09 21:28:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-09 21:28:26 +0200 |
commit | 07452c71285219f296191941687531858a2f06c4 (patch) | |
tree | 94a6ad9de6a1fd55d2a6c91e46b2cd28901d046e | |
parent | e5a54c7f0928de8b89bc00eea4dfeeb179f546e4 (diff) | |
download | nord-vim-07452c71285219f296191941687531858a2f06c4.tar.gz |
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 <development@svengreb.de>
-rwxr-xr-x | colors/nord.vim | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/colors/nord.vim b/colors/nord.vim index 634ff67..2450ef7 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -470,12 +470,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", "", "", "") @@ -755,6 +752,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 |