From 0c583f1620ea58aaf53683b7d7041dd9e7fed923 Mon Sep 17 00:00:00 2001 From: tiyn Date: Tue, 12 Dec 2023 02:01:18 +0100 Subject: [PATCH] added cursorword colors --- README.md | 1 + lua/tccs/theme.lua | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/README.md b/README.md index 1685bb1..ebe9f8b 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,7 @@ Other plugins may work as well, but don't are explicitly configured. - [Lualine](https://github.com/nvim-lualine/lualine.nvim) - [NavBuddy](https://github.com/SmiteshP/nvim-navbuddy) - [NVIM CMP](https://github.com/hrsh7th/nvim-cmp) +- [NVIM Cursorword](https://github.com/xiyaowong/nvim-cursorword) - [NVIM Scrollbar](https://github.com/petertriho/nvim-scrollbar) - [NVIM Telescope](https://github.com/nvim-telescope/telescope.nvim) - [NVIM Tree](https://github.com/nvim-tree/nvim-tree.lua) diff --git a/lua/tccs/theme.lua b/lua/tccs/theme.lua index 81990b5..ea44c72 100644 --- a/lua/tccs/theme.lua +++ b/lua/tccs/theme.lua @@ -282,6 +282,10 @@ theme.set_highlights = function(opts) hl(0, 'NvimTreeGitMerge', { fg = c.modified_fg }) hl(0, 'NvimTreeGitDirty', { fg = c.modified_fg }) hl(0, 'NvimTreeGitNew', { fg = c.added_fg }) + + -- nvim-cursorword + hl(0, 'CursorWord', { fg = c.tag, underline = true }) + end return theme