summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:57:12 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-06 02:57:12 +0000
commite20b3310f92d0a2a1149784d3abab9dc4588e2f2 (patch)
treefe4c7a4f2936f2fe67b1a5d00d0da95e266caaaf
parentEnabling autoindent. (diff)
downloadvim-e20b3310f92d0a2a1149784d3abab9dc4588e2f2.tar.xz
vim-e20b3310f92d0a2a1149784d3abab9dc4588e2f2.zip
Enabling highlight whitespace.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
-rw-r--r--debian/local/vimrc.d/highlight-whitespace.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/debian/local/vimrc.d/highlight-whitespace.vim b/debian/local/vimrc.d/highlight-whitespace.vim
new file mode 100644
index 0000000..6eaa55e
--- /dev/null
+++ b/debian/local/vimrc.d/highlight-whitespace.vim
@@ -0,0 +1,4 @@
+" /etc/vim/vimrc.d/highlight-whitespace.vim
+
+highlight whitespace ctermbg=red guibg=red
+:match whitespace /\s\+$\| \+\ze\t/