diff options
| author | tv <tv@shackspace.de> | 2015-11-01 13:22:15 +0100 | 
|---|---|---|
| committer | tv <tv@shackspace.de> | 2015-11-01 13:22:15 +0100 | 
| commit | c29f45dec1c41f6ab12a9b2c4f91e70a4bbc830c (patch) | |
| tree | 43a864514af8fb02f8123406145d389834cb56d1 | |
| parent | 3c1e22076992df1f5fffa9c069af97cca4d54f66 (diff) | |
tv vim: colorize tabs and trailing space
| -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 | 
