Skip to content

Commit

Permalink
fixed #10: illuminate highlights
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Jul 12, 2021
1 parent b593976 commit 92931bf
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 4 additions & 0 deletions lua/github-theme/colors.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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"}),
Expand Down
10 changes: 5 additions & 5 deletions lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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},
Expand Down

0 comments on commit 92931bf

Please sign in to comment.