feat!: support leap (drop lightspeed) (#94)
This commit is contained in:
committed by
GitHub
parent
30d9598356
commit
d8a93c2566
@@ -95,7 +95,7 @@ currently supported.
|
|||||||
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
|
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
|
||||||
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
|
- [Telescope](https://github.com/nvim-telescope/telescope.nvim)
|
||||||
- [Sneak](https://github.com/justinmk/vim-sneak)
|
- [Sneak](https://github.com/justinmk/vim-sneak)
|
||||||
- [Lightspeed](https://github.com/ggandor/lightspeed.nvim)
|
- [Leap](https://github.com/ggandor/leap.nvim)
|
||||||
- [Hop](https://github.com/phaazon/hop.nvim)
|
- [Hop](https://github.com/phaazon/hop.nvim)
|
||||||
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
|
- [Lualine](https://github.com/hoob3rt/lualine.nvim)
|
||||||
- [Lightline](https://github.com/itchyny/lightline.vim)
|
- [Lightline](https://github.com/itchyny/lightline.vim)
|
||||||
|
|||||||
@@ -307,22 +307,15 @@ local function generate(p, opt)
|
|||||||
SneakLabel { WildMenu },
|
SneakLabel { WildMenu },
|
||||||
SneakLabelMask { bg = p.blossom, fg = p.blossom },
|
SneakLabelMask { bg = p.blossom, fg = p.blossom },
|
||||||
|
|
||||||
LightspeedLabel { fg = p.blossom, gui = "bold,underline" },
|
LeapMatch { gui = "bold,underline,nocombine" },
|
||||||
LightspeedLabelOverlapped { fg = p.blossom, gui = "underline" },
|
LeapLabelPrimary { Search , gui = "bold,nocombine" },
|
||||||
LightspeedLabelDistant { fg = p.sky, gui = "bold,underline" },
|
LeapLabelSecondary { DiffText, gui = "bold,nocombine" },
|
||||||
LightspeedLabelDistantOverlapped { fg = p.sky, gui = "underline" },
|
LeapLabelSelected { IncSearch },
|
||||||
LightspeedShortcut { SneakLabel, gui = "bold,underline" },
|
|
||||||
LightspeedOneCharMatch { SneakLabel, gui = "bold" },
|
|
||||||
LightspeedMaskedChar { Conceal },
|
|
||||||
LightspeedUnlabeledMatch { Bold },
|
|
||||||
LightspeedPendingOpArea { SneakLabel },
|
|
||||||
LightspeedPendingChangeOpArea { fg = p.blossom },
|
|
||||||
LightspeedGreyWash { fg = Comment.fg },
|
|
||||||
|
|
||||||
HopNextKey { LightspeedLabel },
|
HopNextKey { fg = p.blossom, gui = "bold,underline" },
|
||||||
HopNextKey1 { LightspeedLabelDistant },
|
HopNextKey1 { fg = p.sky, gui = "bold,underline" },
|
||||||
HopNextKey2 { fg = p.water },
|
HopNextKey2 { fg = p.water },
|
||||||
HopUnmatched { LightspeedGreyWash } ,
|
HopUnmatched { fg = Comment.fg },
|
||||||
|
|
||||||
BufferCurrent { TabLineSel },
|
BufferCurrent { TabLineSel },
|
||||||
BufferVisible { fg = StatusLineNC.fg },
|
BufferVisible { fg = StatusLineNC.fg },
|
||||||
|
|||||||
@@ -68,7 +68,7 @@ local function generate(p, opt)
|
|||||||
LineNr { fg = p1.bg.da(opt.darken_line_nr or 33), bg = opt.solid_line_nr and p1.bg.da(4) or "NONE" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
LineNr { fg = p1.bg.da(opt.darken_line_nr or 33), bg = opt.solid_line_nr and p1.bg.da(4) or "NONE" }, -- Line number for ":number" and ":#" commands, and when 'number' or 'relativenumber' option is set.
|
||||||
SignColumn { LineNr }, -- column where |signs| are displayed
|
SignColumn { LineNr }, -- column where |signs| are displayed
|
||||||
FoldColumn { LineNr, gui = "bold" }, -- 'foldcolumn'
|
FoldColumn { LineNr, gui = "bold" }, -- 'foldcolumn'
|
||||||
Folded { bg = p1.bg.da(16), fg = p1.bg.da(64) }, -- line used for closed folds
|
Folded { bg = not opt.transparent_background and p1.bg.da(16) or "NONE", fg = p1.bg.da(64) }, -- line used for closed folds
|
||||||
CursorLineNr { LineNr, fg = p.fg, gui = "bold" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
CursorLineNr { LineNr, fg = p.fg, gui = "bold" }, -- Like LineNr when 'cursorline' or 'relativenumber' is set for the cursor line.
|
||||||
|
|
||||||
-- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ")
|
-- ModeMsg { }, -- 'showmode' message (e.g., "-- INSERT -- ")
|
||||||
@@ -307,22 +307,15 @@ local function generate(p, opt)
|
|||||||
SneakLabel { WildMenu },
|
SneakLabel { WildMenu },
|
||||||
SneakLabelMask { bg = p.blossom, fg = p.blossom },
|
SneakLabelMask { bg = p.blossom, fg = p.blossom },
|
||||||
|
|
||||||
LightspeedLabel { fg = p.blossom, gui = "bold,underline" },
|
LeapMatch { gui = "bold,underline,nocombine" },
|
||||||
LightspeedLabelOverlapped { fg = p.blossom, gui = "underline" },
|
LeapLabelPrimary { Search , gui = "bold,nocombine" },
|
||||||
LightspeedLabelDistant { fg = p.sky, gui = "bold,underline" },
|
LeapLabelSecondary { DiffText, gui = "bold,nocombine" },
|
||||||
LightspeedLabelDistantOverlapped { fg = p.sky, gui = "underline" },
|
LeapLabelSelected { IncSearch },
|
||||||
LightspeedShortcut { SneakLabel, gui = "bold,underline" },
|
|
||||||
LightspeedOneCharMatch { SneakLabel, gui = "bold" },
|
|
||||||
LightspeedMaskedChar { Conceal },
|
|
||||||
LightspeedUnlabeledMatch { Bold },
|
|
||||||
LightspeedPendingOpArea { SneakLabel },
|
|
||||||
LightspeedPendingChangeOpArea { fg = p.blossom },
|
|
||||||
LightspeedGreyWash { fg = Comment.fg },
|
|
||||||
|
|
||||||
HopNextKey { LightspeedLabel },
|
HopNextKey { fg = p.blossom, gui = "bold,underline" },
|
||||||
HopNextKey1 { LightspeedLabelDistant },
|
HopNextKey1 { fg = p.sky, gui = "bold,underline" },
|
||||||
HopNextKey2 { fg = p.water },
|
HopNextKey2 { fg = p.water },
|
||||||
HopUnmatched { LightspeedGreyWash } ,
|
HopUnmatched { fg = Comment.fg },
|
||||||
|
|
||||||
BufferCurrent { TabLineSel },
|
BufferCurrent { TabLineSel },
|
||||||
BufferVisible { fg = StatusLineNC.fg },
|
BufferVisible { fg = StatusLineNC.fg },
|
||||||
|
|||||||
Reference in New Issue
Block a user