Skip to content

Commit

Permalink
fix: Neotree Title highlight fixed
Browse files Browse the repository at this point in the history
Fixed #257
  • Loading branch information
ful1e5 committed May 22, 2023
1 parent eb92136 commit 7c1ed06
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 12 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [unreleased]

### What's New?

### Changes

### Issues Fix

- Fixed Interactive mode in compiled colorscheme
- #254 fixed
- #257 fixed

## [v1.0.0] - 19 May 2023

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ local specs = {
-- Specs allow you to define a value using either a color or template. If the string does
-- start with `#` the string will be used as the path of the palette table. Defining just
-- a color uses the base version of that color.
keyword = 'magenta.base',
keyword = 'magenta',

-- Adding either `.bright` will change the value
conditional = 'magenta.bright',
Expand Down Expand Up @@ -382,7 +382,7 @@ local groups = {
Whitespace = { link = 'Comment' },

-- Specs are used for the template. Specs have their palette's as a field that can be accessed
IncSearch = { bg = 'palette.cyan.base' },
IncSearch = { bg = 'palette.cyan' },
},
github_dark = {
-- As with specs and palettes, a specific style's value will be used over the `all`'s value.
Expand Down
10 changes: 5 additions & 5 deletions Usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@ override.palettes({
override.specs({
github_dark = {
syntax = {
keyword = 'magenta.base'
keyword = 'magenta'
}
}
})
override.groups({
all = {
IncSearch = { bg = 'palette.cyan.base' },
IncSearch = { bg = 'palette.cyan' },
},
})
```
Expand Down Expand Up @@ -99,13 +99,13 @@ local palettes = {
local specs = {
github_dark = {
syntax = {
keyword = 'magenta.base'
keyword = 'magenta'
}
}
}
local groups = {
all = {
IncSearch = { bg = 'palette.cyan.base' },
IncSearch = { bg = 'palette.cyan' },
},
}
require('github-theme').setup({
Expand Down Expand Up @@ -133,7 +133,7 @@ local specs = {
github_dark = {
syntax = {
-- The value does not start with `#`, so it is treated as a template.
keyword = 'magenta.base',
keyword = 'magenta',

-- Adding either `.bright` or `.base` will change the value
conditional = 'magenta.bright',
Expand Down
10 changes: 5 additions & 5 deletions doc/github-nvim-theme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,13 +90,13 @@ separately to customize the theme according to your preferences.
override.specs({
github_dark = {
syntax = {
keyword = 'magenta.base'
keyword = 'magenta'
}
}
})
override.groups({
all = {
IncSearch = { bg = 'palette.cyan.base' },
IncSearch = { bg = 'palette.cyan' },
},
})
<
Expand Down Expand Up @@ -131,13 +131,13 @@ function.
local specs = {
github_dark = {
syntax = {
keyword = 'magenta.base'
keyword = 'magenta'
}
}
}
local groups = {
all = {
IncSearch = { bg = 'palette.cyan.base' },
IncSearch = { bg = 'palette.cyan' },
},
}
require('github-theme').setup({
Expand Down Expand Up @@ -172,7 +172,7 @@ A template path is composed of keys used to index into the table, separated by
github_dark = {
syntax = {
-- The value does not start with `#`, so it is treated as a template.
keyword = 'magenta.base',
keyword = 'magenta',

-- Adding either `.bright` or `.base` will change the value
conditional = 'magenta.bright',
Expand Down
1 change: 1 addition & 0 deletions lua/github-theme/group/modules/neotree.lua
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function M.get(spec, config, opts)
return {
NeoTreeNormal = { link = 'NormalSB' },
NeoTreeNormalNC = { link = 'NeoTreeNormal' },
NeoTreeTitleBar = { fg = spec.bg1, bg = blend(c.blue.base, 0.9) },
NeoTreeEndOfBuffer = { fg = (hide_eof and dark_sb) and spec.bg0 or spec.fg0 },
NeoTreeIndentMarker = { fg = spec.bg4 },

Expand Down

0 comments on commit 7c1ed06

Please sign in to comment.