summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lass@blue.r>2018-10-10 20:13:07 +0200
committerlassulus <lass@blue.r>2018-10-10 20:13:07 +0200
commit6789205a6da67d62dcd406e6db63d0eced9ef4f0 (patch)
tree32154db4d1ea5ab44bb66c2772da9be825701387 /lass/2configs
parent50520ec1cdeb755245366cb626940d6fa2f0a75e (diff)
l vim: show damned NBSP
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/vim.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/lass/2configs/vim.nix b/lass/2configs/vim.nix
index 855c30b3e..4f7bd4437 100644
--- a/lass/2configs/vim.nix
+++ b/lass/2configs/vim.nix
@@ -63,6 +63,8 @@ let
au Syntax * syn match Garbage containedin=ALL /\s\+$/
\ | syn match TabStop containedin=ALL /\t\+/
\ | syn keyword Todo containedin=ALL TODO
+ \ | syn match NBSP '\%xa0'
+ \ | syn match NarrowNBSP '\%u202F'
au BufRead,BufNewFile *.hs so ${hs.vim}
@@ -165,6 +167,8 @@ let
hi Garbage ctermbg=088
hi TabStop ctermbg=016
+ hi NBSP ctermbg=094
+ hi NarrowNBSP ctermbg=097
hi Todo ctermfg=174 ctermbg=NONE
hi NixCode ctermfg=148