From 806903c1b66a6b29347871922acd7d830a9d5c6a Mon Sep 17 00:00:00 2001 From: Abdulkaiz Khatri <24286590+ful1e5@users.noreply.github.com> Date: Fri, 11 Aug 2023 20:21:34 +0530 Subject: [PATCH] Fixed darkened sidebars when disabling `options.sidebars.disabled` --- CHANGELOG.md | 1 + README.md | 7 ++++--- lua/github-theme/group/editor.lua | 2 +- 3 files changed, 6 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c86dff77..469e16ae 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/README.md b/README.md index 38efc198..3282f118 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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 diff --git a/lua/github-theme/group/editor.lua b/lua/github-theme/group/editor.lua index 4b1e97f6..f31e72db 100644 --- a/lua/github-theme/group/editor.lua +++ b/lua/github-theme/group/editor.lua @@ -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