summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:42 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-27 13:28:42 +0000
commit330280d146c440df0b617c8ac94a0a55da58a927 (patch)
tree4a218be3067a7c7ed312d6cfb539a5746d87c99a
parentEnabling autoindent. (diff)
downloadvim-330280d146c440df0b617c8ac94a0a55da58a927.tar.xz
vim-330280d146c440df0b617c8ac94a0a55da58a927.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/