Skip to content

Commit

Permalink
feat: support illuminate (#51)
Browse files Browse the repository at this point in the history
* feat: support illuminate

* feat: support codeium

* fix: spell
  • Loading branch information
gbprod authored Nov 9, 2023
1 parent 086f77d commit 77907be
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 9 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,8 @@ and [the official vscode theme](https://github.com/arcticicestudio/nord-visual-s
- [RainbowDelimiter](https://github.com/HiPhish/rainbow-delimiters.nvim)
- [Neogit](https://github.com/NeogitOrg/neogit)
- [highlight-undo.nvim](https://github.com/tzachar/highlight-undo.nvim)
- [Illuminate](https://github.com/RRethy/vim-illuminate)
- [Codeium](https://github.com/Exafunction/codeium.vim)

You're preferred plugin is missing ? Open an issue or, even better, open a pull
request 😉.
Expand Down
13 changes: 4 additions & 9 deletions lua/nord/defaults.lua
Original file line number Diff line number Diff line change
Expand Up @@ -49,15 +49,10 @@ function defaluts.highlights()
or { fg = c.snow_storm.brightest, bg = c.frost.ice }, -- 'incsearch' highlighting; also used for the text replaced with ":s///c"
CurSearch = { link = "IncSearch" },
SpecialKey = { fg = c.polar_night.brightest }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace|
SpellBad = { fg = c.aurora.red, bg = global_bg, sp = c.aurora.red, undercurl = true }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = { fg = c.aurora.yellow, bg = global_bg, sp = c.aurora.yellow, undercurl = true }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = { fg = c.snow_storm.brighter, bg = global_bg, sp = c.snow_storm.brighter, undercurl = true }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = {
fg = c.snow_storm.brightest,
bg = global_bg,
sp = c.snow_storm.brightest,
undercurl = true,
}, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
SpellBad = { sp = c.aurora.red, undercurl = true }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise.
SpellCap = { sp = c.aurora.yellow, undercurl = true }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise.
SpellLocal = { sp = c.snow_storm.brighter, undercurl = true }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise.
SpellRare = { fg = c.snow_storm.brightest, bg = global_bg, sp = c.snow_storm.brightest, undercurl = true }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise.
StatusLine = { fg = c.frost.ice, bg = c.polar_night.brighter }, -- status line of current window
StatusLineNC = { fg = c.snow_storm.origin, bg = c.polar_night.brightest }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window.
TabLine = { fg = c.snow_storm.origin, bg = c.fg_gutter }, -- tab pages line, not active tab page label
Expand Down
2 changes: 2 additions & 0 deletions lua/nord/plugins/completion.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ function cmp.highlights()
CmpItemKindMethod = { fg = c.aurora.purple },
CmpItemKindSnippet = { fg = c.aurora.green },
CmpItemKindText = { fg = c.snow_storm.origin },

CodeiumSuggestion = { fg = c.polar_night.light },
}
end

Expand Down
4 changes: 4 additions & 0 deletions lua/nord/plugins/ui.lua
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,10 @@ function ui.highlights()

-- tzachar/highlight-undo.nvim
HighlightUndo = { link = "Search" },

IlluminatedWordText = { fg = c.none, bg = c.polar_night.brightest },
IlluminatedWordRead = { fg = c.none, bg = c.polar_night.brightest },
IlluminatedWordWrite = { fg = c.none, bg = c.polar_night.brightest },
}
end

Expand Down

0 comments on commit 77907be

Please # to comment.