summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:18:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-10 20:18:21 +0000
commit3adc532e7385176de5d6b8613b8426d65244800f (patch)
tree7d38af9950570b85258f001b93be9e5854db68f4
parentEnabling autoindent. (diff)
downloadvim-3adc532e7385176de5d6b8613b8426d65244800f.tar.xz
vim-3adc532e7385176de5d6b8613b8426d65244800f.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/