Mercurial > vim
diff src/proto/ops.pro @ 11131:8d9ecf09183a v8.0.0453
patch 8.0.0453: adding fold marker creates new comment
commit https://github.com/vim/vim/commit/025a6b708a9bff54c73fb9c641b980da19e943a9
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Mar 12 20:37:21 2017 +0100
patch 8.0.0453: adding fold marker creates new comment
Problem: Adding fold marker creates new comment.
Solution: Use an existing comment if possible. (LemonBoy, closes https://github.com/vim/vim/issues/1549)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 12 Mar 2017 20:45:04 +0100 |
parents | e366b968bf08 |
children | bb789ed5113a |
line wrap: on
line diff
--- a/src/proto/ops.pro +++ b/src/proto/ops.pro @@ -38,6 +38,7 @@ void adjust_cursor_eol(void); int preprocs_left(void); int get_register_name(int num); void ex_display(exarg_T *eap); +char_u *skip_comment(char_u *line, int process, int include_space, int *is_comment); int do_join(long count, int insert_space, int save_undo, int use_formatoptions, int setmark); void op_format(oparg_T *oap, int keep_cursor); void op_formatexpr(oparg_T *oap);