-
-
Notifications
You must be signed in to change notification settings - Fork 265
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(diffview): add diffview integrations (#700)
* feat: add diffview integrations * chore: fix docs Documentation should have same value as in `init.lua` defaults :) * refactor: remove linked highlight --------- Co-authored-by: mrtnvgr <[email protected]>
- Loading branch information
Showing
5 changed files
with
61 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,41 @@ | ||
local M = {} | ||
|
||
function M.get() | ||
return { | ||
DiffviewDim1 = { link = "Comment" }, | ||
DiffviewPrimary = { fg = C.blue }, | ||
DiffviewSecondary = { fg = C.green }, | ||
DiffviewNormal = { fg = C.text, bg = O.transparent_background and C.none or C.mantle }, | ||
DiffviewWinSeparator = { | ||
fg = O.transparent_background and C.surface1 or C.base, | ||
bg = O.transparent_background and C.none or C.base, | ||
}, | ||
DiffviewFilePanelTitle = { fg = C.blue, style = { "bold" } }, | ||
DiffviewFilePanelCounter = { fg = C.text }, | ||
DiffviewFilePanelRootPath = { fg = C.lavender, style = { "bold" } }, | ||
DiffviewFilePanelFileName = { fg = C.text }, | ||
DiffviewFilePanelSelected = { fg = C.yellow }, | ||
DiffviewFilePanelPath = { link = "Comment" }, | ||
DiffviewFilePanelInsertions = { fg = C.green }, | ||
DiffviewFilePanelDeletions = { fg = C.red }, | ||
DiffviewFilePanelConflicts = { fg = C.yellow }, | ||
DiffviewFolderName = { fg = C.blue, style = { "bold" } }, | ||
DiffviewFolderSign = { fg = C.blue }, | ||
DiffviewHash = { fg = C.flamingo }, | ||
DiffviewReference = { fg = C.blue, style = { "bold" } }, | ||
DiffviewReflogSelector = { fg = C.pink }, | ||
DiffviewStatusAdded = { fg = C.green }, | ||
DiffviewStatusUntracked = { fg = C.green }, | ||
DiffviewStatusModified = { fg = C.yellow }, | ||
DiffviewStatusRenamed = { fg = C.yellow }, | ||
DiffviewStatusCopied = { fg = C.yellow }, | ||
DiffviewStatusTypeChange = { fg = C.yellow }, | ||
DiffviewStatusUnmerged = { fg = C.yellow }, | ||
DiffviewStatusUnknown = { fg = C.red }, | ||
DiffviewStatusDeleted = { fg = C.red }, | ||
DiffviewStatusBroken = { fg = C.red }, | ||
DiffviewStatusIgnored = { fg = C.overlay0 }, | ||
} | ||
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
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