commit | ad45e3fdc6758140aa8dbcc6b72b3cb79cb3e2f2 | [log] [tgz] |
---|---|---|
author | Skyler Grey <skyler3665@gmail.com> | Mon Jul 04 18:07:17 2022 +0100 |
committer | Skyler Grey <skyler3665@gmail.com> | Mon Jul 04 18:07:17 2022 +0100 |
tree | af5774a2673b9f3ad86cc95bed126870cbd99041 | |
parent | f7fe6a0e5e84f68db44343c2c576618e3dbe82a7 [diff] |
Highlight extra spaces in nvim
diff --git a/src/apps/personal/vim.nix b/src/apps/personal/vim.nix index d963ea1..f5aa26e 100644 --- a/src/apps/personal/vim.nix +++ b/src/apps/personal/vim.nix
@@ -24,6 +24,8 @@ set termguicolors endif + highlight ExtraWhitespace ctermbg=red guibg=red + match ExtraWhitespace /\s\+$/ set statusline=%t "tail of the filename set statusline+=[%{strlen(&fenc)?&fenc:'none'}, "file encoding