mirror of
https://github.com/fenetikm/falcon.git
synced 2024-10-05 19:38:47 +03:00
Compare commits
2 Commits
2b4137274b
...
64994ef0f6
Author | SHA1 | Date | |
---|---|---|---|
|
64994ef0f6 | ||
|
0210e4924a |
@ -5,30 +5,35 @@ local gitsigns = require('falcon.plugins.common.gitsigns')
|
||||
local styles = require('falcon.styles')
|
||||
local diff = require('falcon.extras.common.diff')
|
||||
|
||||
-- see https://github.com/NeogitOrg/neogit/blob/master/lua/neogit/lib/hl.lua
|
||||
local p = lush(function()
|
||||
return {
|
||||
NeogitSectionHeader {modern.Keyword},
|
||||
NeogitUnmergedInto {NeogitSectionHeader},
|
||||
NeogitBranch {modern.Normal},
|
||||
NeogitBranchHead {},
|
||||
NeogitRemote {modern.Normal},
|
||||
NeogitTagName {modern.Normal},
|
||||
NeogitTagDistance {modern.Comment},
|
||||
NeogitHunkHeader {modern.Comment},
|
||||
NeogitHunkHeaderHighlight {modern.Comment},
|
||||
NeogitChangeModified {gitsigns.GitSignsChange},
|
||||
NeogitChangeBothModified {NeogitChangeModified},
|
||||
NeogitChangeUpdated {NeogitChangeModified},
|
||||
NeogitChangeAdded {gitsigns.GitSignsAdd},
|
||||
NeogitChangeCopied {NeogitChangeAdded},
|
||||
NeogitChangeRenamed {NeogitChangeAdded},
|
||||
NeogitChangeNewFile {NeogitChangeAdded},
|
||||
NeogitChangeDeleted {gitsigns.GitSignsDelete},
|
||||
NeogitDiffDelete {diff.diffRemoved},
|
||||
NeogitDiffAdd {diff.diffAdded},
|
||||
NeogitDiffDeleteHighlight {diff.diffRemoved},
|
||||
NeogitDiffAddHighlight {diff.diffAdded},
|
||||
}
|
||||
return {
|
||||
NeogitSectionHeader {modern.Keyword},
|
||||
NeogitUnmergedInto {NeogitSectionHeader},
|
||||
NeogitBranch {modern.Normal},
|
||||
NeogitBranchHead {modern.Normal},
|
||||
NeogitRemote {modern.Normal},
|
||||
NeogitTagName {modern.Normal},
|
||||
NeogitTagDistance {modern.Comment},
|
||||
NeogitHunkHeader {modern.Comment},
|
||||
NeogitHunkHeaderHighlight {modern.Comment},
|
||||
NeogitChangeModified {gitsigns.GitSignsChange},
|
||||
NeogitChangeBothModified {NeogitChangeModified},
|
||||
NeogitChangeUpdated {NeogitChangeModified},
|
||||
NeogitChangeAdded {gitsigns.GitSignsAdd},
|
||||
NeogitChangeCopied {NeogitChangeAdded},
|
||||
NeogitChangeRenamed {NeogitChangeAdded},
|
||||
NeogitChangeNewFile {NeogitChangeAdded},
|
||||
NeogitChangeDeleted {gitsigns.GitSignsDelete},
|
||||
NeogitDiffDelete {diff.diffRemoved},
|
||||
NeogitDiffAdd {diff.diffAdded},
|
||||
NeogitDiffDeleteHighlight {diff.diffRemoved},
|
||||
NeogitDiffAddHighlight {diff.diffAdded},
|
||||
NeogitCommitViewHeader {modern.Keyword},
|
||||
NeogitFilePath {modern.Normal},
|
||||
NeogitDiffHeader {modern.Normal, gui = styles.bold},
|
||||
NeogitDiffHeaderHighlight {modern.MatchParen, gui = styles.bold},
|
||||
}
|
||||
end)
|
||||
|
||||
return p
|
||||
|
Loading…
Reference in New Issue
Block a user