mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 22:48:34 +00:00
vim-patch:8.1.0805: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate FEAT_MBYTE, part 1.
135059724f
This commit is contained in:
@@ -1037,11 +1037,11 @@ void foldAdjustVisual(void)
|
||||
if (hasFolding(end->lnum, NULL, &end->lnum)) {
|
||||
ptr = ml_get(end->lnum);
|
||||
end->col = (colnr_T)STRLEN(ptr);
|
||||
if (end->col > 0 && *p_sel == 'o')
|
||||
--end->col;
|
||||
/* prevent cursor from moving on the trail byte */
|
||||
if (has_mbyte)
|
||||
mb_adjust_cursor();
|
||||
if (end->col > 0 && *p_sel == 'o') {
|
||||
end->col--;
|
||||
}
|
||||
// prevent cursor from moving on the trail byte
|
||||
mb_adjust_cursor();
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user