summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorNélio Laranjeiro2009-02-23 14:30:41 +0100
committerNélio Laranjeiro2009-02-23 14:30:41 +0100
commit5d7657c852d423988482e7cb5a81905630fbeaa5 (patch)
treeeb7e343dd23e73ee6915ad20fefaf8fd3670a5da /tools
parent171180cb0e7d3e5d1f180cb8efb7033a01f9711a (diff)
tools/vim/plugin/apbteam: Added extra whitespace error for the python file.
Diffstat (limited to 'tools')
-rw-r--r--tools/vim/plugin/apbteam.vim4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/vim/plugin/apbteam.vim b/tools/vim/plugin/apbteam.vim
index 6a1d3393..a15c873e 100644
--- a/tools/vim/plugin/apbteam.vim
+++ b/tools/vim/plugin/apbteam.vim
@@ -67,6 +67,10 @@ function! APBTeamPython()
setlocal smarttab
setlocal expandtab
setlocal softtabstop=4
+
+ " Show trailing whitespace:
+ highlight ExtraWhitespace ctermbg=red guibg=red
+ match ExtraWhitespace /\s\+$/
endfunction