mirror of
https://github.com/nordtheme/vim.git
synced 2026-09-10 07:36:23 -04:00
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>
This commit is contained in:
parent
776a02a89e
commit
5d58f9b598
|
|
@ -608,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, "", "")
|
||||
|
|
|
|||
Loading…
Reference in a new issue