diff options
author | Johan <meck@users.noreply.github.com> | 2020-07-05 15:53:01 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-05 15:53:01 +0200 |
commit | 7a52f66cfc1a59a786ffaf967a6966131487ab6e (patch) | |
tree | 6e6e12fb17eea6b33fb5fc5cc1f1088704304500 /colors/nord.vim | |
parent | 1bd44ade46f3fa414c86bd5688f0977677bbb769 (diff) | |
download | nord-vim-7a52f66cfc1a59a786ffaf967a6966131487ab6e.tar.gz |
Add support for vim-clap (#178)
Added basic support for vim-clap [1], a modern and performant generic finder and dispatcher for Vim and NeoVim.
[1]: https://github.com/liuchengxu/vim-clap
GH-178
Co-authored-by: Arctic Ice Studio <development@arcticicestudio.com>
Co-authored-by: Sven Greb <development@svengreb.de>
Diffstat (limited to 'colors/nord.vim')
-rwxr-xr-x | colors/nord.vim | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/colors/nord.vim b/colors/nord.vim index f3dc4c4..8a52920 100755 --- a/colors/nord.vim +++ b/colors/nord.vim @@ -573,7 +573,6 @@ call s:hi("LSPDiagnosticsError" , s:nord11_gui, "", s:nord11_term, "", "", "") call s:hi("LSPDiagnosticsInformation" , s:nord8_gui, "", s:nord8_term, "", "", "") call s:hi("LSPDiagnosticsHint" , s:nord10_gui, "", s:nord10_term, "", "", "") - " GitGutter " > airblade/vim-gitgutter call s:hi("GitGutterAdd", s:nord14_gui, "", s:nord14_term, "", "", "") @@ -609,6 +608,36 @@ hi! link NERDTreeHelp Comment hi! link CtrlPMatch Keyword hi! link CtrlPBufferHid Normal +" vim-clap +" > liuchengxu/vim-clap +call s:hi("ClapDir", s:nord4_gui, "", "", "", "", "") +call s:hi("ClapDisplay", s:nord4_gui, s:nord1_gui, "", s:nord1_term, "", "") +call s:hi("ClapFile", s:nord4_gui, "", "", "NONE", "", "") +call s:hi("ClapMatches", s:nord8_gui, "", s:nord8_term, "", "", "") +call s:hi("ClapNoMatchesFound", s:nord13_gui, "", s:nord13_term, "", "", "") +call s:hi("ClapSelected", s:nord7_gui, "", s:nord7_term, "", s:bold, "") +call s:hi("ClapSelectedSign", s:nord9_gui, "", s:nord9_term, "", "", "") + +let s:clap_matches = [ + \ [s:nord8_gui, s:nord8_term] , + \ [s:nord9_gui, s:nord9_term] , + \ [s:nord10_gui, s:nord10_term] , + \ ] +for s:nord_clap_match_i in range(1,12) + let clap_match_color = s:clap_matches[s:nord_clap_match_i % len(s:clap_matches) - 1] + call s:hi("ClapMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "") + call s:hi("ClapFuzzyMatches" . s:nord_clap_match_i, clap_match_color[0], "", clap_match_color[1], "", "", "") +endfor +unlet s:nord_clap_match_i + +hi! link ClapCurrentSelection PmenuSel +hi! link ClapCurrentSelectionSign ClapSelectedSign +hi! link ClapInput Pmenu +hi! link ClapPreview Pmenu +hi! link ClapProviderAbout ClapDisplay +hi! link ClapProviderColon Type +hi! link ClapProviderId Type + " vim-plug " > junegunn/vim-plug call s:hi("plugDeleted", s:nord11_gui, "", "", s:nord11_term, "", "") |