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