mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 03:28:33 +00:00
vim-patch:7.4.1147 (#5005)
Problem: Conflict for "chartab". (Kazunobu Kuriyama)
Solution: Rename the global one to something less obvious. Move it into
src/chartab.c.
88e8f9f144
This commit is contained in:

committed by
Justin M. Keyes

parent
29060a592c
commit
dcbd1c7b13
@@ -3416,12 +3416,10 @@ win_line (
|
||||
/*
|
||||
* Handling of non-printable characters.
|
||||
*/
|
||||
if (!(chartab[c & 0xff] & CT_PRINT_CHAR)) {
|
||||
/*
|
||||
* when getting a character from the file, we may have to
|
||||
* turn it into something else on the way to putting it
|
||||
* into "ScreenLines".
|
||||
*/
|
||||
if (!vim_isprintc(c)) {
|
||||
// when getting a character from the file, we may have to
|
||||
// turn it into something else on the way to putting it
|
||||
// into "ScreenLines".
|
||||
if (c == TAB && (!wp->w_p_list || lcs_tab1)) {
|
||||
int tab_len = 0;
|
||||
long vcol_adjusted = vcol; // removed showbreak length
|
||||
|
Reference in New Issue
Block a user