Mercurial > vim
comparison src/insexpand.c @ 30645:101f08b49ed3 v9.0.0657
patch 9.0.0657: too many #ifdefs
Commit: https://github.com/vim/vim/commit/7904fa420eb577274c4c3711295240100167d495
Author: Martin Tournoij <martin@arp242.net>
Date: Tue Oct 4 16:28:45 2022 +0100
patch 9.0.0657: too many #ifdefs
Problem: Too many #ifdefs.
Solution: Graduate the +cmdwin feature. Now the tiny and small builds are
equal, drop the small build. (Martin Tournoij, closes #11268)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 04 Oct 2022 17:30:06 +0200 |
parents | 79e2d9b7780c |
children | 442a574ffae3 |
comparison
equal
deleted
inserted
replaced
30644:0c102a723b9a | 30645:101f08b49ed3 |
---|---|
2291 { | 2291 { |
2292 edit_submode = NULL; | 2292 edit_submode = NULL; |
2293 showmode(); | 2293 showmode(); |
2294 } | 2294 } |
2295 | 2295 |
2296 #ifdef FEAT_CMDWIN | |
2297 if (c == Ctrl_C && cmdwin_type != 0) | 2296 if (c == Ctrl_C && cmdwin_type != 0) |
2298 // Avoid the popup menu remains displayed when leaving the | 2297 // Avoid the popup menu remains displayed when leaving the |
2299 // command line window. | 2298 // command line window. |
2300 update_screen(0); | 2299 update_screen(0); |
2301 #endif | |
2302 // Indent now if a key was typed that is in 'cinkeys'. | 2300 // Indent now if a key was typed that is in 'cinkeys'. |
2303 if (want_cindent && in_cinkeys(KEY_COMPLETE, ' ', inindent(0))) | 2301 if (want_cindent && in_cinkeys(KEY_COMPLETE, ' ', inindent(0))) |
2304 do_c_expr_indent(); | 2302 do_c_expr_indent(); |
2305 // Trigger the CompleteDone event to give scripts a chance to act | 2303 // Trigger the CompleteDone event to give scripts a chance to act |
2306 // upon the end of completion. | 2304 // upon the end of completion. |