From 68c941406e06fe5fc89386d9c4ab20345c5e185b Mon Sep 17 00:00:00 2001 From: arobase-che Date: Sun, 10 Jan 2016 19:07:49 +0100 Subject: Init commit --- plugin/trailing-spaces.vim | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 plugin/trailing-spaces.vim (limited to 'plugin/trailing-spaces.vim') diff --git a/plugin/trailing-spaces.vim b/plugin/trailing-spaces.vim new file mode 100755 index 0000000..bea3f7a --- /dev/null +++ b/plugin/trailing-spaces.vim @@ -0,0 +1,6 @@ +" trailing-spaces.vim +" Trailing whitespaces highlighting + +highlight ExtraWhitespace ctermbg=darkred +" Show trailing whitepace and spaces before a tab: +autocmd Syntax * syn match ExtraWhitespace /\s\+$\| \+\ze\t/ containedin=ALL -- cgit v1.2.3-54-g00ecf