Permalink
Browse files

error highlight display the [paste] flag

  • Loading branch information...
scrooloose committed Nov 19, 2008
1 parent 51ed70a commit 07d5ca1eaf8f1f26aba7534e7372410ff3202a56
Showing with 6 additions and 1 deletion.
  1. +6 −1 vimrc
View
7 vimrc
@@ -59,7 +59,12 @@ set statusline+=%{StatuslineTabWarning()}
set statusline+=%*
set statusline+=%{StatuslineTrailingSpaceWarning()}
-set statusline+=%{&paste?'[paste]':''} "warn if paste is set
+
+"display a warning if &paste is set
+set statusline+=%#error#
+set statusline+=%{&paste?'[paste]':''}
+set statusline+=%*
+
set statusline+=%= "left/right separator
set statusline+=%{StatuslineCurrentHighlight()}\ \ "current highlight
set statusline+=%c, "cursor column

0 comments on commit 07d5ca1

Please sign in to comment.