summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:33:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 21:33:58 +0000
commitb1e066c78a764d348866ef001a62b6024b5c3d95 (patch)
treea11619b96507833e82592f0b1f662d6030142cf9
parentEnabling autoindent. (diff)
downloadvim-b1e066c78a764d348866ef001a62b6024b5c3d95.tar.xz
vim-b1e066c78a764d348866ef001a62b6024b5c3d95.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/