diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-12-12 14:16:39 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-12-12 14:16:39 +0000 |
commit | 6e371ecb27227ff8fedd8561d0f3880a17576848 (patch) | |
tree | 29129df4da69f0093ac1b763dffb2be45e84c587 /src/proto/change.pro | |
parent | 9a4ec5a62632af040c278a189e256043740f5c7f (diff) |
patch 8.2.3787: no proper formatting of a C line comment after a statementv8.2.3787
Problem: No proper formatting of a C line comment after a statement.
Solution: Find the start of the line comment, insert the comment leader and
indent the comment properly.
Diffstat (limited to 'src/proto/change.pro')
-rw-r--r-- | src/proto/change.pro | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/proto/change.pro b/src/proto/change.pro index b1aa9d57ec..502b2855fd 100644 --- a/src/proto/change.pro +++ b/src/proto/change.pro @@ -27,7 +27,7 @@ void ins_str(char_u *s); int del_char(int fixpos); int del_chars(long count, int fixpos); int del_bytes(long count, int fixpos_arg, int use_delcombine); -int open_line(int dir, int flags, int second_line_indent); +int open_line(int dir, int flags, int second_line_indent, int *did_do_comment); int truncate_line(int fixpos); void del_lines(long nlines, int undo); /* vim: set ft=c : */ |