Permalink
Browse files

respect &ts when calculating line length

  • Loading branch information...
1 parent e2ef6c8 commit ace4aecba8a31558b27977ffdb29ae5003a7bf23 @scrooloose committed Jun 27, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 vimrc
View
2 vimrc
@@ -119,7 +119,7 @@ autocmd cursorhold,bufwritepost * unlet! b:statusline_long_line_warning
function! StatuslineLongLineWarning()
if !exists("b:statusline_long_line_warning")
let threshold = (&tw ? &tw : 80)
- let spaces = repeat(" ", 8)
+ let spaces = repeat(" ", &ts)
let long_line_lens = []

0 comments on commit ace4aec

Please sign in to comment.