tv vim: colorize tabs and trailing space
This commit is contained in:
parent
3c1e220769
commit
c29f45dec1
@ -108,7 +108,10 @@ let
|
|||||||
colorscheme industry
|
colorscheme industry
|
||||||
syntax on
|
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" ''
|
au BufRead,BufNewFile *.nix so ${pkgs.writeText "nix.vim" ''
|
||||||
setf nix
|
setf nix
|
||||||
|
Loading…
Reference in New Issue
Block a user