Merge pull request #197 from zenbones-theme/improve-diff
fix: improve diff
This commit is contained in:
13
README.md
13
README.md
@@ -27,15 +27,18 @@ or try the [built-in collection](#usage).
|
||||
|
||||
## Installation
|
||||
|
||||
Example installation using packer:
|
||||
Example installation using lazy.nvim:
|
||||
|
||||
```lua
|
||||
use {
|
||||
{
|
||||
"zenbones-theme/zenbones.nvim",
|
||||
-- Optionally install Lush. Allows for more configuration or extending the colorscheme
|
||||
-- If you don't want to install lush, make sure to set g:zenbones_compat = 1
|
||||
-- In Vim, compat mode is turned on as Lush only works in Neovim.
|
||||
requires = "rktjmp/lush.nvim"
|
||||
dependencies = "rktjmp/lush.nvim",
|
||||
lazy = false,
|
||||
priority = 1000,
|
||||
opts = {},
|
||||
}
|
||||
```
|
||||
|
||||
@@ -140,5 +143,5 @@ There are more similar
|
||||
|
||||
## Git mirrors
|
||||
|
||||
- [Gitlab](https://gitlab.com/mcchris/zenbones.nvim)
|
||||
- [Codeberg](https://codeberg.org/mcchris/zenbones.nvim)
|
||||
- [Gitlab](https://gitlab.com/mcchris/zenbones.nvim)
|
||||
- [Codeberg](https://codeberg.org/mcchris/zenbones.nvim)
|
||||
|
||||
@@ -298,9 +298,9 @@ local function generate(p, opt)
|
||||
sym "@markup.list.checked" { sym "@markup.list" },
|
||||
sym "@markup.list.unchecked" { sym "@markup.list" },
|
||||
|
||||
sym "@diff.plus" { fg = p.leaf },
|
||||
sym "@diff.minus" { fg = p.rose },
|
||||
sym "@diff.delta" { fg = p.water },
|
||||
sym "@diff.plus" { DiffAdd },
|
||||
sym "@diff.minus" { DiffDelete },
|
||||
sym "@diff.delta" { DiffChange },
|
||||
|
||||
sym "@tag" { Special },
|
||||
sym "@tag.attribute" { sym "@property" },
|
||||
@@ -367,9 +367,9 @@ local function generate(p, opt)
|
||||
sym "@lsp.typemod.variable.static" { sym "@constant" },
|
||||
|
||||
-- Syntax
|
||||
diffAdded { fg = p.leaf },
|
||||
diffRemoved { fg = p.rose },
|
||||
diffChanged { fg = p.water },
|
||||
diffAdded { DiffAdd },
|
||||
diffRemoved { DiffDelete },
|
||||
diffChanged { DiffChange },
|
||||
diffOldFile { fg = p.rose, gui = "italic" },
|
||||
diffNewFile { fg = p.leaf, gui = "italic" },
|
||||
diffFile { fg = p.wood, gui = "bold" },
|
||||
|
||||
@@ -298,9 +298,9 @@ local function generate(p, opt)
|
||||
sym "@markup.list.checked" { sym "@markup.list" },
|
||||
sym "@markup.list.unchecked" { sym "@markup.list" },
|
||||
|
||||
sym "@diff.plus" { fg = p.leaf },
|
||||
sym "@diff.minus" { fg = p.rose },
|
||||
sym "@diff.delta" { fg = p.water },
|
||||
sym "@diff.plus" { DiffAdd },
|
||||
sym "@diff.minus" { DiffDelete },
|
||||
sym "@diff.delta" { DiffChange },
|
||||
|
||||
sym "@tag" { Special },
|
||||
sym "@tag.attribute" { sym "@property" },
|
||||
@@ -367,9 +367,9 @@ local function generate(p, opt)
|
||||
sym "@lsp.typemod.variable.static" { sym "@constant" },
|
||||
|
||||
-- Syntax
|
||||
diffAdded { fg = p.leaf },
|
||||
diffRemoved { fg = p.rose },
|
||||
diffChanged { fg = p.water },
|
||||
diffAdded { DiffAdd },
|
||||
diffRemoved { DiffDelete },
|
||||
diffChanged { DiffChange },
|
||||
diffOldFile { fg = p.rose, gui = "italic" },
|
||||
diffNewFile { fg = p.leaf, gui = "italic" },
|
||||
diffFile { fg = p.wood, gui = "bold" },
|
||||
|
||||
Reference in New Issue
Block a user