Mercurial > vim
comparison src/insexpand.c @ 23374:1371e21fdc3d v8.2.2230
patch 8.2.2230: Vim9: insert completion runs into error
Commit: https://github.com/vim/vim/commit/179eb567b15a2ed5cf25b45d95d06c7a729d50bc
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Dec 27 18:03:22 2020 +0100
patch 8.2.2230: Vim9: insert completion runs into error
Problem: Vim9: insert completion runs into error.
Solution: Insert colon before range. (closes https://github.com/vim/vim/issues/7556)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 27 Dec 2020 18:15:03 +0100 |
parents | a84e7abb0c92 |
children | 385d33dfb7df |
comparison
equal
deleted
inserted
replaced
23373:e870e15300ee | 23374:1371e21fdc3d |
---|---|
1018 if (!pum_wanted() || !pum_enough_matches()) | 1018 if (!pum_wanted() || !pum_enough_matches()) |
1019 return; | 1019 return; |
1020 | 1020 |
1021 #if defined(FEAT_EVAL) | 1021 #if defined(FEAT_EVAL) |
1022 // Dirty hard-coded hack: remove any matchparen highlighting. | 1022 // Dirty hard-coded hack: remove any matchparen highlighting. |
1023 do_cmdline_cmd((char_u *)"if exists('g:loaded_matchparen')|3match none|endif"); | 1023 do_cmdline_cmd((char_u *)"if exists('g:loaded_matchparen')|:3match none|endif"); |
1024 #endif | 1024 #endif |
1025 | 1025 |
1026 // Update the screen later, before drawing the popup menu over it. | 1026 // Update the screen later, before drawing the popup menu over it. |
1027 pum_call_update_screen(); | 1027 pum_call_update_screen(); |
1028 | 1028 |