summaryrefslogtreecommitdiffstats
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-12-12 14:16:39 +0000
committerBram Moolenaar <Bram@vim.org>2021-12-12 14:16:39 +0000
commit6e371ecb27227ff8fedd8561d0f3880a17576848 (patch)
tree29129df4da69f0093ac1b763dffb2be45e84c587 /src/proto/search.pro
parent9a4ec5a62632af040c278a189e256043740f5c7f (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/search.pro')
-rw-r--r--src/proto/search.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index a6843a09ae..27c609e200 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -29,6 +29,7 @@ int search_for_exact_line(buf_T *buf, pos_T *pos, int dir, char_u *pat);
int searchc(cmdarg_T *cap, int t_cmd);
pos_T *findmatch(oparg_T *oap, int initc);
pos_T *findmatchlimit(oparg_T *oap, int initc, int flags, int maxtravel);
+int check_linecomment(char_u *line);
void showmatch(int c);
int current_search(long count, int forward);
int linewhite(linenr_T lnum);