zeertzjq
d3de178e53
patch 9.0.0346: :horizontal modifier not fully supported
...
Problem: :horizontal modifier not fully supported.
Solution: Also use :horizontal for completion and user commands.
(closes #11025 )
2022-09-01 12:58:52 +01:00
Bram Moolenaar
58dcbf1c65
patch 9.0.0281: build failure without the +eval feature
...
Problem: Build failure without the +eval feature.
Solution: Add #ifdef.
2022-08-26 19:58:49 +01:00
Bram Moolenaar
5416232707
patch 9.0.0279: the tiny version has the popup menu but not 'wildmenu'
...
Problem: The tiny version has the popup menu but not 'wildmenu'.
Solution: Graduate the wildmenu feature.
2022-08-26 16:58:51 +01:00
zeertzjq
b82a2ab8ad
patch 9.0.0236: popup menu not removed when 'wildmenu' reset while visible
...
Problem: Popup menu not removed when 'wildmenu' reset while it is visible.
Solution: Do not check p_wmnu, only pum_visible(). (closes #10953 )
2022-08-21 14:33:57 +01:00
Bram Moolenaar
57e95179ab
patch 9.0.0231: expanding "**" may loop forever with directory links
...
Problem: Expanding "**" may loop forever with directory links.
Solution: Check for being interrupted. (closes #10946 )
2022-08-20 19:26:14 +01:00
Bram Moolenaar
a4d158b3c8
patch 9.0.0206: redraw flags are not named specifically
...
Problem: Redraw flags are not named specifically.
Solution: Prefix "UPD_" to the flags, for UPDate_screen().
2022-08-14 14:17:45 +01:00
Yegappan Lakshmanan
7db3a8e329
patch 9.0.0089: fuzzy argument completion doesn't work for shell commands
...
Problem: Fuzzy argument completion doesn't work for shell commands.
Solution: Check for cmdidx not being CMD_bang. (Yegappan Lakshmanan,
closes #10769 )
2022-07-26 22:01:36 +01:00
Bram Moolenaar
93a1096fe4
patch 8.2.5107: some callers of rettv_list_alloc() check for not OK
...
Problem: Some callers of rettv_list_alloc() check for not OK. (Christ van
Willegen)
Solution: Use "==" instead of "!=" when checking the return value.
2022-06-16 11:42:09 +01:00
Christian Brabandt
cb747899bd
patch 8.2.4917: fuzzy expansion of option names is not right
...
Problem: Fuzzy expansion of option names is not right.
Solution: Pass the fuzzy flag down the call chain. (Christian Brabandt,
closes #10380 , closes #10318 )
2022-05-08 21:10:56 +01:00
Shougo Matsushita
79d599b877
patch 8.2.4903: cannot get the current cmdline completion type and position
...
Problem: Cannot get the current cmdline completion type and position.
Solution: Add getcmdcompltype() and getcmdscreenpos(). (Shougo Matsushita,
closes #10344 )
2022-05-07 12:48:29 +01:00
Bram Moolenaar
11a57dfd16
patch 8.2.4738: Esc on commandline executes command instead of abandoning it
...
Problem: Esc on commandline executes command instead of abandoning it.
Solution: Save and restore KeyTyped when removing the popup menu.
(closes #10154 )
2022-04-11 19:38:56 +01:00
Bram Moolenaar
c6e0a5e98c
patch 8.2.4732: duplicate code to free fuzzy matches
...
Problem: Duplicate code to free fuzzy matches.
Solution: Bring back fuzmatch_str_free().
2022-04-10 18:09:06 +01:00
Yegappan Lakshmanan
454ce6737c
patch 8.2.4617: no completion for :scriptnames
...
Problem: No completion for :scriptnames.
Solution: Implement :scriptnames completion. (Yegappan Lakshmanan,
closes #10005 )
2022-03-24 11:22:13 +00:00
Yegappan Lakshmanan
e7dd0fa2c6
patch 8.2.4608: getcompletion() does not work when 'wildoptions' has "fuzzy"
...
Problem: getcompletion() does not work properly when 'wildoptions
contains "fuzzy".
Solution: Do not use addstar(). (Yegappan Lakshmanan, closes #9992 ,
closes #9986 )
2022-03-22 16:06:31 +00:00
Yegappan Lakshmanan
5cffa8df7e
patch 8.2.4579: cannot use page-up and page-down in the cmdline popup menu
...
Problem: Cannot use page-up and page-down in the command line completion
popup menu.
Solution: Check for to page-up and page-down keys. (Yegappan Lakshmanan,
closes #9960 )
2022-03-16 13:33:53 +00:00
Yegappan Lakshmanan
1fdf84e033
patch 8.2.4570: no command line completion for :profile and :profdel
...
Problem: No command line completion for :profile and :profdel.
Solution: Implement completion. (Yegappan Lakshmanan, closes #9955 )
2022-03-15 10:53:09 +00:00
Bram Moolenaar
6e2e2cc95b
patch 8.2.4565: no command line completion for :breakadd and :breakdel
...
Problem: No command line completion for :breakadd and :breakdel.
Solution: Add completion for :breakadd and :breakdel. (Yegappan Lakshmanan,
closes #9950 )
2022-03-14 19:24:46 +00:00
Bram Moolenaar
3e7637bd26
patch 8.2.4485: compiler warning for uninitialized variable
...
Problem: Compiler warning for uninitialized variable.
Solution: Initialize the variable. (John Marriott)
2022-02-28 21:02:19 +00:00
Yegappan Lakshmanan
5de4c4372d
patch 8.2.4483: command completion makes two rounds to collect matches
...
Problem: Command completion makes two rounds to collect matches.
Solution: Use a growarray to collect matches. (Yegappan Lakshmanan,
closes #9860 )
2022-02-28 13:28:38 +00:00
Yegappan Lakshmanan
afd4ae35d6
patch 8.2.4482: no fuzzy cmdline completion for user defined completion
...
Problem: No fuzzy cmdline completion for user defined completion.
Solution: Add fuzzy completion for user defined completion. (Yegappan
Lakshmanan, closes #9858 )
2022-02-27 21:03:21 +00:00
Bram Moolenaar
5c52be40fb
patch 8.2.4481: cmdline popup menu not removed when 'lazyredraw' is set
...
Problem: Cmdline popup menu not removed when 'lazyredraw' is set.
Solution: Temporarily reset 'lazyredraw' when removing the popup menu.
(closes #9857 )
2022-02-27 14:28:31 +00:00
Yegappan Lakshmanan
6caeda2fce
patch 8.2.4479: no fuzzy completieon for maps and abbreviations
...
Problem: No fuzzy completieon for maps and abbreviations.
Solution: Fuzzy complete maps and abbreviations. (Yegappan Lakshmanan,
closes #9856 )
2022-02-27 12:07:30 +00:00
Yegappan Lakshmanan
00333cb3b3
patch 8.2.4478: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9852 , closes #9851 )
2022-02-26 16:05:08 +00:00
Bram Moolenaar
29ab6ce9f3
patch 8.2.4477: crash when using fuzzy completion
...
Problem: Crash when using fuzzy completion.
Solution: Temporary fix: put back regexp. (closes #9851 )
2022-02-26 15:52:08 +00:00
Yegappan Lakshmanan
4df5b33f20
patch 8.2.4475: fuzzy cmdline completion does not work for lower case
...
Problem: Fuzzy cmdline completion does not work for lower case.
Solution: Also use fuzzy completion for lower case input. (Yegappan
Lakshmanan, closes #9849 )
2022-02-26 11:04:42 +00:00
Yegappan Lakshmanan
5ec633b9b0
patch 8.2.4465: fuzzy completion does not order matches properly
...
Problem: Fuzzy completion does not order matches properly.
Solution: Do not use regular expression match. (Yegappan Lakshmanan,
closes #9843 )
2022-02-25 15:24:24 +00:00
Yegappan Lakshmanan
38b85cb4d7
patch 8.2.4463: completion only uses strict matching
...
Problem: Completion only uses strict matching.
Solution: Add the "fuzzy" item for 'wildoptions'. (Yegappan Lakshmanan,
closes #9803 )
2022-02-24 13:28:41 +00:00
Yegappan Lakshmanan
2438430863
patch 8.2.4406: expand functions use confusing argument names
...
Problem: Expand functions use confusing argument names.
Solution: Rename "file" to "match". Refactor some completion code. Add a
few more tests. (Yegappan Lakshmanan, closes #9790 )
2022-02-17 11:26:42 +00:00
Yegappan Lakshmanan
b31aec3b93
patch 8.2.4398: some command completion functions are too long
...
Problem: Some command completion functions are too long.
Solution: Refactor code into separate functions. Add a few more tests.
(Yegappan Lakshmanan, closes #9785 )
2022-02-16 12:44:29 +00:00
Yegappan Lakshmanan
e3846cf1eb
patch 8.2.4387: command line completion doesn't always work properly
...
Problem: Command line completion doesn't always work properly.
Solution: Adjust triggering after a "|". Add more tests. (Yegappan
Lakshmanan, closes #9779 )
2022-02-15 11:35:54 +00:00
Yegappan Lakshmanan
4d03d87000
patch 8.2.4366: not enough tests for command line completion
...
Problem: Not enough tests for command line completion.
Solution: Add a few more tests. (Yegappan Lakshmanan, closes #9760 )
2022-02-13 11:45:09 +00:00
Yegappan Lakshmanan
620d8edba0
patch 8.2.4356: command line completion functions are very long
...
Problem: Command line completion functions are very long.
Solution: Refactor into multiple functions. (Yegappan Lakshmanan,
closes #9753 )
2022-02-12 12:03:07 +00:00
Bram Moolenaar
414acd342f
patch 8.2.4341: command line not redrawn when finishing popup menu
...
Problem: Command line not redrawn when finishing popup menu and the screen
has scrolled up.
Solution: Redraw the command line after updating the screen. (closes #9722 )
2022-02-10 21:09:45 +00:00
Yegappan Lakshmanan
560dff49c0
patch 8.2.4339: CTRL-A does not work properly with the cmdline popup menu
...
Problem: CTRL-A does not work properly with the cmdline popup menu.
Solution: Fix issues with CTRL-A. Add more tests for the cmdline popup
menu. Remove TermWait() before VeriryScreenDump(). Refactor the
cmdline popup code. (Yegappan Lakshmanan, closes #9735 )
2022-02-10 19:52:10 +00:00
rbtnn
68cc2b8a37
patch 8.2.4334: command line popup menu not positioned correctly
...
Problem: Command line popup menu not positioned correctly.
Solution: Also use vim_strsize() on the existing text. (Naruhiko Nishino,
closes #9727 )
2022-02-09 11:55:47 +00:00
Yegappan Lakshmanan
3908ef5017
patch 8.2.4325: 'wildmenu' only shows few matches
...
Problem: 'wildmenu' only shows few matches.
Solution: Add the "pum" option: use a popup menu to show the matches.
(Yegappan Lakshmanan et al., closes #9707 )
2022-02-08 12:08:07 +00:00
K.Takata
5411910c77
patch 8.2.4289: warnings reported by MSVC
...
Problem: Warnings reported by MSVC.
Solution: Rename variables and other fixes. (Ken Takata, closes #9689 )
2022-02-03 13:33:03 +00:00
Bram Moolenaar
04935fb17e
patch 8.2.4043: using int for second argument of ga_init2()
...
Problem: Using int for second argument of ga_init2().
Solution: Remove unnessary type cast (int) when using sizeof().
2022-01-08 16:19:22 +00:00
Bram Moolenaar
460ae5dfca
patch 8.2.3967: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2022-01-01 14:19:49 +00:00
Bram Moolenaar
436b5adc97
patch 8.2.3961: error messages are spread out
...
Problem: Error messages are spread out.
Solution: Move more errors to errors.h.
2021-12-31 22:49:24 +00:00
Bram Moolenaar
12f3c1b77f
patch 8.2.3749: error messages are everywhere
...
Problem: Error messages are everywhere.
Solution: Move more error messages to errors.h and adjust the names.
2021-12-05 21:46:34 +00:00
ii14
4785fe02bb
patch 8.2.3638: getcompletion() always passes zero as position
...
Problem: getcompletion() always passes zero as position to custom
completion function.
Solution: Pass the pattern length. (closes #9173 )
2021-11-21 12:13:56 +00:00
Shougo Matsushita
ae38a9db77
patch 8.2.3550: completion() does not work properly
...
Problem: completion() does not work properly.
Solution: Set xp_line and add WILD_HOME_REPLACE. (Shougo Matsushita,
closes #9016 )
2021-10-21 11:39:53 +01:00
Bram Moolenaar
21c1a0c2f1
patch 8.2.3530: ":buf \{a}" fails while ":edit \{a}" works
...
Problem: ":buf \{a}" fails while ":edit \{a}" works.
Solution: Unescape "\{". (closes #8917 )
2021-10-17 17:20:23 +01:00
naohiro ono
dfe04dbff5
patch 8.2.3431: completion for :disas sorts local functions first
...
Problem: Completion for :disas sorts local functions first.
Solution: Sort local functions last, like with :delfunc. (Naohiro Ono,
closes #8860 )
2021-09-12 15:45:10 +02:00
Bram Moolenaar
b4d82e2a8d
patch 8.2.3392: augroup completion escapes regexp pattern characters
...
Problem: augroup completion escapes regexp pattern characters.
Solution: Do not escape the augroup name. (closes #8826 )
2021-09-01 13:03:39 +02:00
Albert Liu
6024c0427c
patch 8.2.3378: MS-Windows: completing environment variables with % is wrong
...
Problem: MS-Windows: completing environment variables with % is wrong.
Solution: Only complete environment variables with $. (Albert Liu,
closes #8791 )
2021-08-27 20:59:35 +02:00
Bram Moolenaar
47016f5772
patch 8.2.3377: Vim9: :disass completion does not understand "s:"
...
Problem: Vim9: :disass completion does not understand "s:".
Solution: Expand "s:" to a pattern. (closes #8780 )
2021-08-26 16:39:58 +02:00
Yegappan Lakshmanan
83494b4ac6
patch 8.2.3188: Vim9: argument types are not checked at compile time
...
Problem: Vim9: argument types are not checked at compile time.
Solution: Add several more type checks, also at runtime. (Yegappan
Lakshmanan, closes #8587 )
2021-07-20 17:51:51 +02:00
Bram Moolenaar
4ee9d8e04d
patch 8.2.2992: Vim9: completion for :disassemble is incomplete
...
Problem: Vim9: completion for :disassemble is incomplete.
Solution: Recognize the "debug" and "profile" arguments.
2021-06-13 18:38:48 +02:00