From ca90789a4936cc3a88f099e3b89b30be0818a382 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Mon, 6 Sep 2021 12:56:58 +0800 Subject: [PATCH] add hop support --- README.md | 1 + colors/zenbones.vim | 4 ++++ lua/zenbones/init.lua | 4 ++++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index df326b1..4e268fd 100644 --- a/README.md +++ b/README.md @@ -135,6 +135,7 @@ currently supported. - [Telescope](https://github.com/nvim-telescope/telescope.nvim) - [Sneak](https://github.com/justinmk/vim-sneak) - [Lightspeed](https://github.com/ggandor/lightspeed.nvim) +- [Hop](https://github.com/phaazon/hop.nvim) - [Lualine](https://github.com/hoob3rt/lualine.nvim) - [BarBar](https://github.com/romgrk/barbar.nvim) - [CoC](https://github.com/neoclide/coc.nvim) diff --git a/colors/zenbones.vim b/colors/zenbones.vim index 63eb33d..8aa01b8 100644 --- a/colors/zenbones.vim +++ b/colors/zenbones.vim @@ -75,6 +75,7 @@ highlight Function guifg=#2C363C guibg=NONE guisp=NONE gui=NONE highlight GitSignsAdd guifg=#617437 guibg=NONE guisp=NONE gui=NONE highlight GitSignsChange guifg=#286486 guibg=NONE guisp=NONE gui=NONE highlight GitSignsDelete guifg=#A8334C guibg=NONE guisp=NONE gui=NONE +highlight HopNextKey2 guifg=#286486 guibg=NONE guisp=NONE gui=NONE highlight Identifier guifg=#44525B guibg=NONE guisp=NONE gui=NONE highlight IncSearch guifg=#F0EDEC guibg=#88507D guisp=NONE gui=bold highlight IndentBlanklineChar guifg=#D4CDCA guibg=NONE guisp=NONE gui=NONE @@ -153,6 +154,9 @@ highlight! link ErrorMsg Error highlight! link GitGutterAdd GitSignsAdd highlight! link GitGutterChange GitSignsChange highlight! link GitGutterDelete GitSignsDelete +highlight! link HopNextKey LightspeedLabel +highlight! link HopNextKey1 LightspeedLabelDistant +highlight! link HopUnmatched LightspeedGreyWash highlight! link LightspeedMaskedChar Conceal highlight! link LightspeedPendingOpArea SneakLabel highlight! link LightspeedUnlabeledMatch Bold diff --git a/lua/zenbones/init.lua b/lua/zenbones/init.lua index b60667c..c6ab02f 100644 --- a/lua/zenbones/init.lua +++ b/lua/zenbones/init.lua @@ -291,6 +291,10 @@ local theme = lush(function() LightspeedPendingChangeOpArea { fg = c.blossom }, LightspeedGreyWash { fg = Comment.fg }, + HopNextKey { LightspeedLabel }, + HopNextKey1 { LightspeedLabelDistant }, + HopNextKey2 { fg = c.water }, + HopUnmatched { LightspeedGreyWash } , BufferCurrent { TabLineSel }, BufferVisible { fg = StatusLineNC.fg },