forked from aniani/vim
updated for version 7.3.606
Problem: CTRL-P completion has a problem with multi-byte characters. Solution: Check for next character being NUL properly. (Yasuhiro Matsumoto)
This commit is contained in:
@@ -5141,7 +5141,7 @@ exit_matched:
|
||||
&& !(compl_cont_status & CONT_SOL)
|
||||
#endif
|
||||
&& *startp != NUL
|
||||
&& *(p = startp + 1) != NUL)
|
||||
&& *(p = startp + MB_PTR2LEN(startp)) != NUL)
|
||||
goto search_line;
|
||||
}
|
||||
line_breakcheck();
|
||||
|
Reference in New Issue
Block a user