Skip to content

Commit

Permalink
Fixed darkened sidebars when disabling options.sidebars.disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Aug 11, 2023
1 parent 8c1ddaa commit 806903c
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

- Fixed few regex-based/legacy highlight corrections (fixed #285)
- Closed #251
- Fixed darkened sidebars when disabling `options.sidebars.disabled`

## [v1.0.1] - 23 July 2023

Expand Down
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ or `:h github-theme-changelog` to receive updates on breaking changes and deprec
- True color support
- Undercurl terminal support (optional)

> **Note** for MacOS: The default `terminal` does not support `true color`. Use either `Iterm2` or [another] terminal that
> supports true color.
> **Note**
> for MacOS: The default `terminal` does not support `true color`. Use either `Iterm2` or [another] terminal that supports true color.
## Installation

Expand Down Expand Up @@ -599,7 +599,8 @@ Set your airline colorscheme with `:AirlineThemes` vim command.
This section will help you determine what highlight group is being applied to a piece of syntax. These methods
show which highlight group(s) is in use at the current screen position of the cursor (under the cursor).

> **Note** On Neovim v0.9.0 and later, you can use the command `:Inspect`, or the Lua function `vim.show_pos()`.
> **Note**
> On Neovim v0.9.0 and later, you can use the command `:Inspect`, or the Lua function `vim.show_pos()`.
#### Treesitter highlighting

Expand Down
2 changes: 1 addition & 1 deletion lua/github-theme/group/editor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local C = require('github-theme.lib.color')
local M = {}

function M.get(spec, config)
local dark_sb = config.darken.sidebars.enable
local dark_sb = config.darken.sidebars.enabled
local hide_eof = config.hide_end_of_buffer
local inactive = config.dim_inactive
local inv = config.inverse
Expand Down

0 comments on commit 806903c

Please sign in to comment.