summaryrefslogtreecommitdiffstats
path: root/debian
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 08:54:15 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 08:54:15 +0000
commitaf21337486e311e3fe6a7d7474218cf790919484 (patch)
tree204e8548b5c6b3622112ee378035b15a4c917546 /debian
parentEnabling autoindent. (diff)
downloadvim-af21337486e311e3fe6a7d7474218cf790919484.tar.xz
vim-af21337486e311e3fe6a7d7474218cf790919484.zip
Enabling highlight whitespace.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian')
-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/