Skip to content

Commit

Permalink
feat: adding vim-illuminate support (#222)
Browse files Browse the repository at this point in the history
Co-authored-by: Dhruvin Shah <dhruvinsh@gmail.com>
  • Loading branch information
dhruvinsh and Dhruvin Shah authored Jul 5, 2024
1 parent fd3e225 commit fae34f7
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ require('lualine').setup {
+ [Neotest](https://github.com/nvim-neotest/neotest)
+ [Barbecue](https://github.com/utilyre/barbecue.nvim)
+ [IndentBlankline](https://github.com/lukas-reineke/indent-blankline.nvim)
+ [vim-illuminate](https://github.com/RRethy/vim-illuminate)

## Reference
* [tokyodark.nvim](https://github.com/tiagovla/tokyodark.nvim)
Expand Down
8 changes: 8 additions & 0 deletions lua/onedark/highlights.lua
Original file line number Diff line number Diff line change
Expand Up @@ -746,6 +746,14 @@ hl.plugins.mini = {
MiniTrailspace = { bg = c.red },
}

hl.plugins.illuminate = {
illuminatedWord = { bg = c.bg2, fmt = "bold" },
illuminatedCurWord = { bg = c.bg2, fmt = "bold" },
IlluminatedWordText = { bg = c.bg2, fmt = "bold" },
IlluminatedWordRead = { bg = c.bg2, fmt = "bold" },
IlluminatedWordWrite = { bg = c.bg2, fmt = "bold" },
}

hl.langs.c = {
cInclude = colors.Blue,
cStorageClass = colors.Purple,
Expand Down

0 comments on commit fae34f7

Please sign in to comment.