-
-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: add lir.nvim and lir-git-status.nvim integration (#705)
* add appropriate types * add lir.nvim (lir-git-status.nvim) integration * add integration info to vimdocs * add info to README * chore: format --------- Co-authored-by: mrtnvgr <[email protected]> Co-authored-by: Vollow <[email protected]>
- Loading branch information
1 parent
e1268d1
commit d3907de
Showing
4 changed files
with
54 additions
and
0 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
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,26 @@ | ||
local M = {} | ||
|
||
function M.get() | ||
return vim.tbl_deep_extend("force", {}, { | ||
LirFloatNormal = { fg = C.text, bg = O.transparent_background and C.none or C.mantle }, | ||
LirFloatBorder = { | ||
fg = O.transparent_background and C.surface1 or C.base, | ||
bg = O.transparent_background and C.none or C.base, | ||
}, | ||
LirFloatCursorLine = { link = "CursorLine" }, | ||
LirDir = { fg = C.blue }, | ||
LirSymLink = { fg = C.pink }, | ||
LirEmptyDirText = { fg = C.blue }, | ||
LirFloatCurdirWindowNormal = { fg = C.text }, | ||
LirFloatCurdirWindowDirName = { fg = C.lavender, style = { "bold" } }, | ||
}, ((O.integrations.lir and O.integrations.lir.git_status) and { | ||
LirGitStatusBracket = { fg = C.overlay0 }, | ||
LirGitStatusIndex = { fg = C.blue }, | ||
LirGitStatusWorktree = { fg = C.yellow }, | ||
LirGitStatusUnmerged = { fg = C.red }, | ||
LirGitStatusUntracked = { fg = C.subtext0 }, | ||
LirGitStatusIgnored = { fg = C.subtext0 }, | ||
}) or {}) | ||
end | ||
|
||
return M |
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