summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorache <ache@ache.one>2024-08-17 03:50:47 +0200
committerache <ache@ache.one>2024-08-17 03:50:47 +0200
commit327a82cc12cc4487fceef9eee546a3a557a178f0 (patch)
treef22b5bd8e9ceadba2330dffd207cf6c12a61a4d4
parentAdd plugin to check grammar but disable it (diff)
Color NBSP ! 🌈
-rw-r--r--plugin/trailing-white-space.vim3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugin/trailing-white-space.vim b/plugin/trailing-white-space.vim
index c0f2887..aa005d2 100644
--- a/plugin/trailing-white-space.vim
+++ b/plugin/trailing-white-space.vim
@@ -1,6 +1,9 @@
hi ExtraWhitespaces ctermbg=238 guibg=#904030
match ExtraWhitespaces /\s\+$/
+hi NonBreakingSpace ctermfg=237 guifg=#FFB200
+match NonBreakingSpace / /
+
" Show special chars
" set list
"set listchars=tab:›\ ,trail:ꞏ,extends:♯,eol:¬,nbsp:⍽