diff options
-rw-r--r-- | tv/2configs/vim.nix | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tv/2configs/vim.nix b/tv/2configs/vim.nix index 6691350eb..2e49a0ca0 100644 --- a/tv/2configs/vim.nix +++ b/tv/2configs/vim.nix @@ -108,7 +108,10 @@ let colorscheme industry syntax on - cmap w!! w!sudo tee % >/dev/null + au Syntax * syn match Tabstop containedin=ALL /\t\+/ + \ | hi Tabstop ctermbg=16 + \ | syn match TrailingSpace containedin=ALL /\s\+$/ + \ | hi TrailingSpace ctermbg=88 au BufRead,BufNewFile *.nix so ${pkgs.writeText "nix.vim" '' setf nix |