summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-07-09 15:24:19 +0200
committerxengineering <me@xengineering.eu>2026-07-21 13:34:53 +0200
commitde211a96ce5298ea6b6a45c8b61fa05949051ba2 (patch)
treefd4deaf982b75359d13967bb27316ea36c0f5f28
parent115ed0ef2dcfe49c67b594514a90e1cc25188125 (diff)
downloaddotfiles-de211a96ce5298ea6b6a45c8b61fa05949051ba2.tar
dotfiles-de211a96ce5298ea6b6a45c8b61fa05949051ba2.tar.zst
dotfiles-de211a96ce5298ea6b6a45c8b61fa05949051ba2.zip
nvim: Fix contrast for spell check highlighting
The colours were set manually which does not work well with all the colour theming in the editor and terminal. Removing the manual settings make the config simpler, improves contrast in spell check highlighting and still highlights mistyped text.
-rw-r--r--nvim/init.lua2
1 files changed, 0 insertions, 2 deletions
diff --git a/nvim/init.lua b/nvim/init.lua
index 93b12e3..b97c89f 100644
--- a/nvim/init.lua
+++ b/nvim/init.lua
@@ -15,8 +15,6 @@ end
vim.cmd.colorscheme('vim')
vim.cmd.syntax('on')
vim.cmd.filetype({'plugin', 'indent', 'on'})
-vim.cmd.highlight('SpellBad', 'ctermbg=Red')
-vim.cmd.highlight('SpellBad', 'ctermfg=Black')
vim.opt.mouse = 'a'
vim.opt.tabstop = 4