mirror of
https://github.com/neovim/neovim.git
synced 2025-10-08 10:56:31 +00:00
vim-patch:8.0.0453 (#6266)
Problem: Adding fold marker creates new comment.
Solution: Use an existing comment if possible. (LemonBoy, closes vim/vim#1549)
025a6b708a
This commit is contained in:

committed by
Justin M. Keyes

parent
c42aebf23e
commit
71d4b81b4c
@@ -2318,7 +2318,7 @@ ml_append_int (
|
||||
*
|
||||
* return FAIL for failure, OK otherwise
|
||||
*/
|
||||
int ml_replace(linenr_T lnum, char_u *line, int copy)
|
||||
int ml_replace(linenr_T lnum, char_u *line, bool copy)
|
||||
{
|
||||
if (line == NULL) /* just checking... */
|
||||
return FAIL;
|
||||
|
Reference in New Issue
Block a user