diff options
author | Matthieu Coudron <matthieu.coudron@upmc.fr> | 2017-03-13 01:54:35 +0100 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-03-13 01:54:35 +0100 |
commit | 71d4b81b4cca76cf4c60105460e1ecbc09d9e86b (patch) | |
tree | eaced58e79a8aac0fe9d0f240d4eeec340833d78 /src/nvim/memline.c | |
parent | c42aebf23ef051885e9fe2df5842d9209ed89789 (diff) | |
download | rneovim-71d4b81b4cca76cf4c60105460e1ecbc09d9e86b.tar.gz rneovim-71d4b81b4cca76cf4c60105460e1ecbc09d9e86b.tar.bz2 rneovim-71d4b81b4cca76cf4c60105460e1ecbc09d9e86b.zip |
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)
https://github.com/vim/vim/commit/025a6b708a9bff54c73fb9c641b980da19e943a9
Diffstat (limited to 'src/nvim/memline.c')
-rw-r--r-- | src/nvim/memline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/memline.c b/src/nvim/memline.c index b67f550358..1a315fce8b 100644 --- a/src/nvim/memline.c +++ b/src/nvim/memline.c @@ -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; |