diff options
author | Yeri Pratama <arifyeripratama@gmail.com> | 2020-08-13 16:21:12 +0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-13 11:21:12 +0200 |
commit | b3c46c8793f1f774a22011e70f9019decc4462ed (patch) | |
tree | 621e0b30191ec11086168dd7d229587b7fc701b3 /colors | |
parent | 8a9754ce6c3451c541fa165144c164b0d92ae45e (diff) | |
download | nord-vim-b3c46c8793f1f774a22011e70f9019decc4462ed.tar.gz |
Support highlighting for PHP classes and functions/methods (#218)
Before classes and functions used the default foreground color which made it hard to distinguish them from variables and syntactic characters like braces. The new style now matches other ports and highlighting engines and makes it easy to identify these elements with Nord's authentic appearance.
Closes GH-218
Diffstat (limited to 'colors')
-rwxr-xr-x | colors/nord.vim | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/colors/nord.vim b/colors/nord.vim index 8a2b033..f684dd5 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -469,9 +469,12 @@ 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", "", "", "") |