diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-28 19:05:57 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-28 19:05:57 +0200 |
commit | 8c96af9c05bfcac2d5ae081e098d4863db561511 (patch) | |
tree | aa01cdaf87cf8050334c8cb20014774623614e73 /src/insexpand.c | |
parent | a893194d91a2942d4d54085d746ed137a9251b69 (diff) | |
download | vim-git-8c96af9c05bfcac2d5ae081e098d4863db561511.tar.gz |
patch 8.1.2096: too many #ifdefsv8.1.2096
Problem: Too many #ifdefs.
Solution: Graduate FEAT_COMMENTS.
Diffstat (limited to 'src/insexpand.c')
-rw-r--r-- | src/insexpand.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/insexpand.c b/src/insexpand.c index eecc7f684..644542e94 100644 --- a/src/insexpand.c +++ b/src/insexpand.c @@ -3861,17 +3861,13 @@ ins_complete(int c, int enable_pum) if (ctrl_x_mode_line_or_eval()) { // Insert a new line, keep indentation but ignore 'comments' -#ifdef FEAT_COMMENTS char_u *old = curbuf->b_p_com; curbuf->b_p_com = (char_u *)""; -#endif compl_startpos.lnum = curwin->w_cursor.lnum; compl_startpos.col = compl_col; ins_eol('\r'); -#ifdef FEAT_COMMENTS curbuf->b_p_com = old; -#endif compl_length = 0; compl_col = curwin->w_cursor.col; } |