summaryrefslogtreecommitdiffstats
path: root/debian/local/vimrc.d
diff options
context:
space:
mode:
Diffstat (limited to 'debian/local/vimrc.d')
-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/