>>682 ムリ。一時的に強調するだけならなんとか… function! MatchLongLine() let w = winwidth("%") let w = w - &foldcolumn if &number if v:version >= 700 let w = w - &numberwidth else let w = w - 8 endif endif if &list && &listchars =~ 'eol:' let w = w - 1 endif if has('signs') redir @a silent sign place redir END if @a =~ 'line=' let w = w - 2 endif endif execute 'match Error /^.*\%>' . w . 'v..*$' endfunction