summaryrefslogtreecommitdiff
path: root/src/cmdexpand.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.3188: Vim9: argument types are not checked at compile timev8.2.3188Yegappan Lakshmanan2021-07-201-0/+6
| | | | | | Problem: Vim9: argument types are not checked at compile time. Solution: Add several more type checks, also at runtime. (Yegappan Lakshmanan, closes #8587)
* patch 8.2.2992: Vim9: completion for :disassemble is incompletev8.2.2992Bram Moolenaar2021-06-131-1/+4
| | | | | Problem: Vim9: completion for :disassemble is incomplete. Solution: Recognize the "debug" and "profile" arguments.
* patch 8.2.2991: Vim9: no completion for :vim9 and :legacyv8.2.2991Bram Moolenaar2021-06-131-0/+2
| | | | | Problem: Vim9: no completion for :vim9 and :legacy. Solution: Expand argument as a command. (closes #8377)
* patch 8.2.2922: computing array length is done in various waysv8.2.2922K.Takata2021-06-021-1/+1
| | | | | Problem: Computing array length is done in various ways. Solution: Use ARRAY_LENGTH everywhere. (Ken Takata, closes #8305)
* patch 8.2.2669: command line completion does not work after "vim9"v8.2.2669Bram Moolenaar2021-03-281-2/+3
| | | | | Problem: Command line completion does not work after "vim9". Solution: Include the "9". (Naohiro Ono, closes #8025)
* patch 8.2.2221: if <Down> is mapped on the command line 'wildchar' is insertedv8.2.2221Bram Moolenaar2020-12-261-0/+6
| | | | | Problem: If <Down> is mapped on the command line 'wildchar' is inserted. Solution: Set KeyTyped when using 'wildchar'. (closes #7552)
* patch 8.2.2182: Vim9: value of 'magic' is still relevantv8.2.2182Bram Moolenaar2020-12-211-3/+3
| | | | | Problem: Vim9: value of 'magic' is still relevant. Solution: Always behave like 'magic' is on in Vim9 script (closes #7509)
* patch 8.2.2160: various typosv8.2.2160Bram Moolenaar2020-12-181-1/+1
| | | | | Problem: Various typos. Solution: Fix spelling mistakes. (closes #7494)
* patch 8.2.1744: Vim9: using ":const!" is weirdv8.2.1744Bram Moolenaar2020-09-261-0/+2
| | | | | | Problem: Vim9: using ":const!" is weird. Solution: Use "var" - "final" - "const" like Dart. "let" still works for now.
* patch 8.2.1679: Vim9: ":*" is not recognized as a rangev8.2.1679Bram Moolenaar2020-09-141-1/+1
| | | | | Problem: Vim9: ":*" is not recognized as a range. Solution: Move recognizing "*" into skip_range(). (closes #6838)
* patch 8.2.1604: Vim9: cannot use "true" with getcompletion()v8.2.1604Bram Moolenaar2020-09-051-1/+1
| | | | | Problem: Vim9: cannot use "true" with getcompletion(). Solution: use tv_get_bool_chk(). (closes #6875)
* patch 8.2.1587: loop for handling keys for the command line is too longv8.2.1587Bram Moolenaar2020-09-041-0/+249
| | | | | | Problem: Loop for handling keys for the command line is too long. Solution: Move wild menu handling to separate functions. (Yegappan Lakshmanan, closes #6856)
* patch 8.2.1289: crash when using a custom completion functionv8.2.1289Bram Moolenaar2020-07-251-11/+2
| | | | | Problem: Crash when using a custom completion function. Solution: Initialize all of the expand_T. (closes #6532)
* patch 8.2.1262: src/ex_cmds.c file is too bigv8.2.1262Bram Moolenaar2020-07-211-56/+0
| | | | | | Problem: src/ex_cmds.c file is too big. Solution: Move help related code to src/help.c. (Yegappan Lakshmanan, closes #6506)
* patch 8.2.1121: command completion not working after ++argv8.2.1121Bram Moolenaar2020-07-031-8/+9
| | | | | Problem: Command completion not working after ++arg. Solution: Move skipping up. (Christian Brabandt, closes #6382)
* patch 8.2.1007: completion doesn't work after ":r ++arg !"v8.2.1007Bram Moolenaar2020-06-181-0/+9
| | | | | | Problem: Completion doesn't work after ":r ++arg !". Solution: Skip over "++arg". (Christian Brabandt, closes #6275, closes #6258)
* patch 8.2.0988: getting directory contents is always case sortedv8.2.0988Bram Moolenaar2020-06-161-1/+2
| | | | | Problem: Getting directory contents is always case sorted. Solution: Add sort options and v:collate. (Christian Brabandt, closes #6229)
* patch 8.2.0961: MS-Windows: no completion for localesv8.2.0961Bram Moolenaar2020-06-121-0/+1
| | | | | | Problem: MS-Windows: no completion for locales. Solution: Use the directories in $VIMRUNTIME/lang to complete locales. (Christian Brabandt, closes 36248)
* patch 8.2.0928: many type casts are used for vim_strnsave()v8.2.0928Bram Moolenaar2020-06-071-1/+1
| | | | | | Problem: Many type casts are used for vim_strnsave(). Solution: Make the length argument size_t instead of int. (Ken Takata, closes #5633) Remove some type casts.
* patch 8.2.0925: getcompletion() does not return command line argumentsv8.2.0925Bram Moolenaar2020-06-071-25/+39
| | | | | Problem: Getcompletion() does not return command line arguments. Solution: Add the "cmdline" option. (Shougo, closes #1140)
* patch 8.2.0502: Vim9: some code is not testedv8.2.0502Bram Moolenaar2020-04-021-2/+2
| | | | | Problem: Vim9: some code is not tested. Solution: Add more tests. Fix uncovered problems.
* patch 8.2.0500: using the same loop in many placesv8.2.0500Bram Moolenaar2020-04-021-1/+1
| | | | | Problem: Using the same loop in many places. Solution: Define more FOR_ALL macros. (Yegappan Lakshmanan, closes #5339)
* patch 8.2.0337: build fails on a few systemsv8.2.0337Bram Moolenaar2020-03-011-1/+1
| | | | | Problem: Build fails on a few systems. Solution: Use vim_snprintf() instead of snprintf().
* patch 8.2.0335: no completion for :disassemblev8.2.0335Bram Moolenaar2020-02-291-0/+14
| | | | | | Problem: No completion for :disassemble. Solution: Make completion work. Also complete script-local functions if the name starts with "s:".
* patch 8.2.0099: use of NULL pointer when out of memoryv8.2.0099Bram Moolenaar2020-01-071-3/+9
| | | | | Problem: Use of NULL pointer when out of memory. Solution: Check for NULL pointer. (Dominique Pelle, closes #5449)
* patch 8.2.0089: crash when running out of memory in :setfiletype completionv8.2.0089Bram Moolenaar2020-01-051-6/+3
| | | | | Problem: Crash when running out of memory in :setfiletype completion. Solution: Do not allocate memory. (Dominique Pelle, closes #5438)
* patch 8.2.0087: crash in command line expansion when out of memoryv8.2.0087Bram Moolenaar2020-01-051-4/+14
| | | | | | Problem: Crash in command line expansion when out of memory. Solution: Check for NULL pointer. Also make ExpandGeneric() static. (Dominique Pelle, closes #5437)
* patch 8.2.0054: :diffget and :diffput don't have good completionv8.2.0054Bram Moolenaar2019-12-291-1/+13
| | | | | Problem: :diffget and :diffput don't have good completion. Solution: Add proper completion. (Dominique Pelle, closes #5409)
* patch 8.1.2348: :const cannot be followed by "| endif"v8.1.2348Bram Moolenaar2019-11-261-0/+1
| | | | | | Problem: :const cannot be followed by "| endif". Solution: Check following command for :const. (closes #5269) Also fix completion after :const.
* patch 8.1.2187: error for bad regexp even though regexp is not usedv8.1.2187Bram Moolenaar2019-10-191-0/+2
| | | | | | Problem: Error for bad regexp even though regexp is not used when writing a file. (Arseny Nasokin) Solution: Ignore regexp errors. (closes #5059)
* patch 8.1.1927: code for dealing with script files is spread outv8.1.1927Bram Moolenaar2019-08-251-156/+0
| | | | | Problem: Code for dealing with script files is spread out. Solution: Move the code to scriptfile.c. (Yegappan Lakshmanan, closes #4861)
* patch 8.1.1914: command line expansion code is spread outv8.1.1914Bram Moolenaar2019-08-231-0/+840
| | | | | Problem: Command line expansion code is spread out. Solution: Move set_one_cmd_context(). (Yegappan Lakshmanan, closes #4855)
* patch 8.1.1897: may free memory twice when out of memoryv8.1.1897Bram Moolenaar2019-08-211-3/+5
| | | | | | Problem: May free memory twice when out of memory. Solution: Check that backslash_halve_save() returns a different pointer. (Dominique Pelle, closes #4847)
* patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar2019-08-181-24/+6
| | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
* patch 8.1.1886: command line expansion code is spread outv8.1.1886Bram Moolenaar2019-08-181-0/+2031
Problem: Command line expansion code is spread out. Solution: Move the code to cmdexpand.c. (Yegappan Lakshmanan, closes #4831)