Skip to content

Commit

Permalink
respect &ts when calculating line length
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin Grenfell committed Jun 27, 2009
1 parent e2ef6c8 commit ace4aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Expand Up @@ -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 = []

Expand Down

0 comments on commit ace4aec

Please sign in to comment.