Skip to content

Commit

Permalink
barbar.nvim plugins support
Browse files Browse the repository at this point in the history
  • Loading branch information
ful1e5 committed Jul 30, 2021
1 parent 144013a commit c54ea92
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- Terminal themes are structured through `extra/init.lua`
- Area for messages and cmdline with `bold` text highlight #44
- `hideEndOfBuffer` options added. Enabling this option, will hide filler lines (~) after the end of the buffer #46
- `nvim-compe` plugin support
- `nvim-compe`, `barbar.nvim` plugins support

### Fixes

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ Extra color configs for **kitty**, **iTerm**, **Konsole** and **Alacritty** can
### Plugin Support

- [ALE](https://github.com/dense-analysis/ale)
- [barbar.nvim](https://github.com/romgrk/barbar.nvim)
- [dashboard-nvim](https://github.com/glepnir/dashboard-nvim)
- [Git Signs](https://github.com/lewis6991/gitsigns.nvim)
- [Indent Blankline](https://github.com/lukas-reineke/indent-blankline.nvim)
Expand Down
23 changes: 21 additions & 2 deletions lua/github-theme/theme.lua
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ function M.setup(config)
javascriptTSParameter = {fg = c.syntax.param},
javascriptTSVariable = {fg = c.syntax.variable},
javascriptTSPunctDelimiter = {fg = c.fg},
javascriptTSStringRegex = {fg = c.string},
javascriptTSStringRegex = {fg = c.lsp.string},
javascriptTSConstructor = {fg = c.syntax.func},
javascriptTSProperty = {fg = c.syntax.func},
regexTSStringEscape = {fg = c.syntax.keyword},
Expand Down Expand Up @@ -432,7 +432,26 @@ function M.setup(config)

-- ALE
ALEWarningSign = {fg = c.warning},
ALEErrorSign = {fg = c.error}
ALEErrorSign = {fg = c.error},

-- Barbar
BufferCurrent = {bg = c.bg, fg = c.fg},
BufferCurrentIndex = {bg = c.bg, fg = c.fg},
BufferCurrentMod = {bg = c.bg, fg = c.warning},
BufferCurrentSign = {bg = c.bg, fg = c.info},
BufferCurrentTarget = {bg = c.bg, fg = c.fg_light},
BufferVisible = {bg = c.bg2, fg = c.fg_dark},
BufferVisibleIndex = {bg = c.bg2, fg = c.red},
BufferVisibleMod = {bg = c.bg2, fg = c.warning},
BufferVisibleSign = {bg = c.bg2, fg = c.info},
BufferVisibleTarget = {bg = c.bg2, fg = c.red},
BufferInactive = {bg = c.bg2, fg = c.fg_dark},
BufferInactiveIndex = {bg = c.bg2, fg = c.fg_light},
BufferInactiveMod = {bg = c.bg2, fg = util.darken(c.warning, 0.7)},
BufferInactiveSign = {bg = c.bg2, fg = util.darken(c.fg_dark, 0.4, c.bg2)},
BufferInactiveTarget = {bg = c.bg2, fg = c.red},
BufferTabpages = {bg = c.bg2, fg = c.none},
BufferTabpage = {bg = c.bg2, fg = c.border_highlight}
}

if config.hideInactiveStatusline then
Expand Down

0 comments on commit c54ea92

Please sign in to comment.