diff options
| author | Robert Günzler <r@gnzler.io> | 2021-12-07 13:49:47 +0100 |
|---|---|---|
| committer | Robert Günzler <r@gnzler.io> | 2021-12-07 14:00:26 +0100 |
| commit | 88997bc23d4b854423cc532eb1de6a9bd1faa023 (patch) | |
| tree | dab53782d79f899583173e3403f69b0db0584c0d /.vim/lua/colors.lua | |
| parent | 66ca9ed1b74ad24204fd9432697f666d4434b115 (diff) | |
vim: move spell config to central place
Diffstat (limited to '.vim/lua/colors.lua')
| -rw-r--r-- | .vim/lua/colors.lua | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/.vim/lua/colors.lua b/.vim/lua/colors.lua index 0f3b47b..6c80cdd 100644 --- a/.vim/lua/colors.lua +++ b/.vim/lua/colors.lua @@ -51,10 +51,13 @@ return lush(function() Question { fg = hsl(p.normal.green) }, -- |hit-enter| prompt and yes/no questions -- QuickFixLine { }, -- Current |quickfix| item in the quickfix window. Combined with |hl-CursorLine| when the cursor is there. SignColumn { gui = 'none' }, -- column where |signs| are displayed - SpecialKey { fg = hsl(p.dim.white) }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace| SpellBad Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. SpellCap Word that should start with a capital. |spell| Combined with the highlighting used otherwise. SpellLocal Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise. + SpecialKey { fg = hsl(p.dim.white) }, -- Unprintable characters: text displayed differently from what it really is. But not 'listchars' whitespace. |hl-Whitespace| + SpellBad { fg = hsl(p.bright.red), gui = 'underline' }, -- Word that is not recognized by the spellchecker. |spell| Combined with the highlighting used otherwise. + -- SpellCap { }, -- Word that should start with a capital. |spell| Combined with the highlighting used otherwise. + -- SpellLocal { }, -- Word that is recognized by the spellchecker as one that is used in another region. |spell| Combined with the highlighting used otherwise. -- SpellRare { }, -- Word that is recognized by the spellchecker as one that is hardly ever used. |spell| Combined with the highlighting used otherwise. StatusLine { fg = hsl(p.bright.white), bg = 'none', gui = 'bold' }, -- status line of current window - StatusLineNC { StatusLine, gui = 'none' }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. + StatusLineNC { fg = hsl(p.bright.white), bg = hsl(p.dim.white), gui = 'none' }, -- status lines of not-current windows Note: if this is equal to "StatusLine" Vim will use "^^^" in the status line of the current window. Substitute { fg = hsl(p.normal.blue) }, -- |:substitute| replacement text highlighting TabLine { fg = hsl(p.dim.white) }, -- tab pages line, not active tab page label TabLineFill { StatusLineNC }, -- tab pages line, where there are no labels |