-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add support for lazy plugin manager
- Loading branch information
Showing
4 changed files
with
92 additions
and
43 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
-- Annotations {{{ | ||
---@class HighlightOpt | ||
---@field style string | ||
---@field link? string if defined, everything else is ignored | ||
---@field guifg string | ||
---@field guibg string | ||
---@field guisp string | ||
---@field ctermfg string | ||
---@field ctermbg string | ||
|
||
---@class Quick | ||
---@field command fun(name: string, command: string|function, opts?: table) Creates a command from provided specifics. | ||
---@field normal fun(mode: string, motion: string, special: boolean?) Executes a command in normal mode. | ||
---@field selection_contents fun(): string Returns the contents of the visually selected region. | ||
---@field buffer_command fun(name: string, command: string|function, opts?: table) Creates a command from provided specifics on current buffer. | ||
---@field call_and_centre fun(fn: fun()) Pushes the current location to the jumplist and calls the fn callback, then centres the cursor. | ||
---@field cmd_and_centre fun(cmd: string) Pushes the current location to the jumplist and calls the cmd, then centres the cursor. | ||
---@field highlight fun(group: string, opt: HighlightOpt) --Create a highlight group. | ||
|
||
---@class ListItem | ||
---@field bufnr number | ||
---@field lnum number | ||
---@field col number | ||
---@field text string | ||
-- }}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters