From 10121607523d127eb9def0bb8033b79f508bcf30 Mon Sep 17 00:00:00 2001 From: Michael Chris Lopez Date: Mon, 6 Sep 2021 12:33:15 +0800 Subject: [PATCH] add lightspeed support --- README.md | 1 + colors/zenbones.vim | 15 +++++++++++++++ lua/zenbones/init.lua | 13 +++++++++++++ 3 files changed, 29 insertions(+) diff --git a/README.md b/README.md index 8d33a24..df326b1 100644 --- a/README.md +++ b/README.md @@ -134,6 +134,7 @@ currently supported. - [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim) - [Telescope](https://github.com/nvim-telescope/telescope.nvim) - [Sneak](https://github.com/justinmk/vim-sneak) +- [Lightspeed](https://github.com/ggandor/lightspeed.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 63af658..63eb33d 100644 --- a/colors/zenbones.vim +++ b/colors/zenbones.vim @@ -79,6 +79,14 @@ 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 highlight Italic guifg=NONE guibg=NONE guisp=NONE gui=italic +highlight LightspeedGreyWash guifg=#948985 guibg=NONE guisp=NONE gui=NONE +highlight LightspeedLabel guifg=#88507D guibg=NONE guisp=NONE gui=bold,underline +highlight LightspeedLabelDistant guifg=#3B8992 guibg=NONE guisp=NONE gui=bold,underline +highlight LightspeedLabelDistantOverlapped guifg=#3B8992 guibg=NONE guisp=NONE gui=underline +highlight LightspeedLabelOverlapped guifg=#88507D guibg=NONE guisp=NONE gui=underline +highlight LightspeedOneCharMatch guifg=#F0EDEC guibg=#88507D guisp=NONE gui=bold +highlight LightspeedPendingChangeOpArea guifg=#88507D guibg=NONE guisp=NONE gui=NONE +highlight LightspeedShortcut guifg=#F0EDEC guibg=#88507D guisp=NONE gui=bold,underline highlight LineNr guifg=#9C8E87 guibg=NONE guisp=NONE gui=NONE highlight LspDiagnosticsDefaultHint guifg=#88507D guibg=NONE guisp=NONE gui=NONE highlight LspDiagnosticsDefaultInformation guifg=#286486 guibg=NONE guisp=NONE gui=NONE @@ -145,6 +153,9 @@ highlight! link ErrorMsg Error highlight! link GitGutterAdd GitSignsAdd highlight! link GitGutterChange GitSignsChange highlight! link GitGutterDelete GitSignsDelete +highlight! link LightspeedMaskedChar Conceal +highlight! link LightspeedPendingOpArea SneakLabel +highlight! link LightspeedUnlabeledMatch Bold highlight! link LspCodeLens LineNr highlight! link LspDiagnosticsDefaultError Error highlight! link LspDiagnosticsDefaultWarning WarningMsg @@ -171,4 +182,8 @@ highlight! link TelescopeBorder FloatBorder highlight! link TelescopeSelection CursorLine highlight! link TermCursor Cursor highlight! link TermCursorNC lCursor +highlight! link WhichKey Statement +highlight! link WhichKeyGroup Special +highlight! link WhichKeySeparator LineNr +highlight! link WhichKeyValue Constant highlight! link Whitespace NonText diff --git a/lua/zenbones/init.lua b/lua/zenbones/init.lua index 6f599c1..b60667c 100644 --- a/lua/zenbones/init.lua +++ b/lua/zenbones/init.lua @@ -279,6 +279,19 @@ local theme = lush(function() SneakLabel { WildMenu }, SneakLabelMask { bg = c.blossom, fg = c.blossom }, + LightspeedLabel { fg = c.blossom, gui = "bold,underline" }, + LightspeedLabelOverlapped { fg = c.blossom, gui = "underline" }, + LightspeedLabelDistant { fg = c.sky, gui = "bold,underline" }, + LightspeedLabelDistantOverlapped { fg = c.sky, gui = "underline" }, + LightspeedShortcut { SneakLabel, gui = "bold,underline" }, + LightspeedOneCharMatch { SneakLabel, gui = "bold" }, + LightspeedMaskedChar { Conceal }, + LightspeedUnlabeledMatch { Bold }, + LightspeedPendingOpArea { SneakLabel }, + LightspeedPendingChangeOpArea { fg = c.blossom }, + LightspeedGreyWash { fg = Comment.fg }, + + BufferCurrent { TabLineSel }, BufferVisible { fg = StatusLineNC.fg }, BufferVisibleSign { fg = StatusLineNC.fg },