diff --git a/CHANGELOG.md b/CHANGELOG.md index 2689bbff..7912e5b7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fold Bright background fixed #5 - Added option to customize statusline background with `bg_statusline` #11 - Lualine `c` section background color get dark color `bg2` +- illuminate plugin highlights fixed #10 ## [v0.0.1] - 9 Jul 2021 diff --git a/lua/github-theme/colors.lua b/lua/github-theme/colors.lua index ddf78399..a3c29169 100644 --- a/lua/github-theme/colors.lua +++ b/lua/github-theme/colors.lua @@ -62,6 +62,10 @@ function M.setup(config) info = "#75beff", hint = themes({dark = "#eeeeb3", dimmed = "#eeeeb3", light = "#6c6c6c"}), + lsp = { + referenceText = themes({dark = "#265459", dimmed = "#28575d", light = "#c6eed2"}) + }, + syntax = { comment = themes({dark = "#6a737d", dimmed = "#768390", light = "#6a737d"}), constant = themes({dark = "#79b8ff", dimmed = "#6cb6ff", light = "#005cc5"}), diff --git a/lua/github-theme/theme.lua b/lua/github-theme/theme.lua index d7157cd1..1bc1e832 100644 --- a/lua/github-theme/theme.lua +++ b/lua/github-theme/theme.lua @@ -146,9 +146,9 @@ function M.setup(config) -- These groups are for the native LSP client. Some other LSP clients may -- use these groups, or use their own. Consult your LSP client's -- documentation. - LspReferenceText = {bg = c.fg_gutter}, -- used for highlighting "text" references - LspReferenceRead = {bg = c.fg_gutter}, -- used for highlighting "read" references - LspReferenceWrite = {bg = c.fg_gutter}, -- used for highlighting "write" references + LspReferenceText = {bg = c.lsp.referenceText}, -- used for highlighting "text" references + LspReferenceRead = {bg = c.lsp.referenceText}, -- used for highlighting "read" references + LspReferenceWrite = {bg = c.lsp.referenceText}, -- used for highlighting "write" references LspDiagnosticsDefaultError = {fg = c.error}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultWarning = {fg = c.warning}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) LspDiagnosticsDefaultInformation = {fg = c.info}, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) @@ -337,8 +337,8 @@ function M.setup(config) LspTroubleNormal = {fg = c.brightYellow, bg = c.bg_sidebar}, -- Illuminate - illuminatedWord = {bg = c.fg_gutter}, - illuminatedCurWord = {bg = c.fg_gutter}, + illuminatedWord = {bg = c.lsp.referenceText}, + illuminatedCurWord = {bg = c.lsp.referenceText}, -- diff diffAdded = {bg = c.diff.add, fg = c.diff.add_fg},