mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 07:18:17 +00:00
Port vim's patch 7.4.338 ('breakindent')
This commit is contained in:
@@ -138,7 +138,7 @@ static int coladvance2(
|
||||
ptr = line;
|
||||
while (col <= wcol && *ptr != NUL) {
|
||||
/* Count a tab for what it's worth (if list mode not on) */
|
||||
csize = win_lbr_chartabsize(curwin, ptr, col, &head);
|
||||
csize = win_lbr_chartabsize(curwin, line, ptr, col, &head);
|
||||
mb_ptr_adv(ptr);
|
||||
col += csize;
|
||||
}
|
||||
|
Reference in New Issue
Block a user