summaryrefslogtreecommitdiff
path: root/src/usercmd.c
Commit message (Collapse)AuthorAgeFilesLines
* patch 8.2.2238: Vim9: cannot load a Vim9 script without the +eval featurev8.2.2238Bram Moolenaar2020-12-281-7/+3
| | | | | Problem: Vim9: cannot load a Vim9 script without the +eval feature. Solution: Support Vim9 script syntax without the +eval feature.
* patch 8.2.1906: warning for signed/unsignedv8.2.1906Bram Moolenaar2020-10-261-2/+2
| | | | | Problem: Warning for signed/unsigned. Solution: Use size_t instead of int. (Mike Williams)
* patch 8.2.1900: Vim9: command modifiers do not workv8.2.1900Bram Moolenaar2020-10-241-64/+76
| | | | | Problem: Vim9: command modifiers do not work. Solution: Make most command modifiers work.
* patch 8.2.1898: command modifier parsing always uses global cmdmodv8.2.1898Bram Moolenaar2020-10-241-22/+22
| | | | | Problem: Command modifier parsing always uses global cmdmod. Solution: Pass in cmdmod_T to use. Rename struct fields consistently.
* patch 8.2.1873: Vim9: missing white space when using <f-args>v8.2.1873Bram Moolenaar2020-10-201-1/+2
| | | | | Problem: Vim9: missing white space when using <f-args>. Solution: Add spaces. (Christian J. Robinson)
* patch 8.2.0967: unnecessary type casts for vim_strnsave()v8.2.0967Bram Moolenaar2020-06-121-2/+2
| | | | | Problem: Unnecessary type casts for vim_strnsave(). Solution: Remove the type casts.
* patch 8.2.0624: Vim9: no check for space before #commentv8.2.0624Bram Moolenaar2020-04-231-2/+2
| | | | | Problem: Vim9: no check for space before #comment. Solution: Add space checks. Fix :throw with double quoted string.
* patch 8.2.0595: Vim9: not all commands using ends_excmd() testedv8.2.0595Bram Moolenaar2020-04-181-0/+1
| | | | | | Problem: Vim9: not all commands using ends_excmd() tested. Solution: Find # comment after regular commands. Add more tests. Report error for where it was caused.
* patch 8.2.0577: not all modifiers supported for :optionsv8.2.0577Bram Moolenaar2020-04-131-19/+33
| | | | | Problem: Not all modifiers supported for :options. Solution: Use all cmdmod.split flags. (closes #4401)
* patch 8.2.0056: execution stack is incomplete and inefficientv8.2.0056Bram Moolenaar2019-12-291-2/+2
| | | | | | Problem: Execution stack is incomplete and inefficient. Solution: Introduce a proper execution stack and use it instead of sourcing_name/sourcing_lnum. Create a string only when used.
* patch 8.2.0054: :diffget and :diffput don't have good completionv8.2.0054Bram Moolenaar2019-12-291-0/+1
| | | | | Problem: :diffget and :diffput don't have good completion. Solution: Add proper completion. (Dominique Pelle, closes #5409)
* patch 8.1.2396: using old C style commentsv8.1.2396Bram Moolenaar2019-12-051-1/+1
| | | | | Problem: Using old C style comments. Solution: Use // comments where appropriate.
* patch 8.1.2145: cannot map <C-H> when modifyOtherKeys is enabledv8.1.2145Bram Moolenaar2019-10-131-1/+1
| | | | | | Problem: Cannot map <C-H> when modifyOtherKeys is enabled. Solution: Add the <C-H> mapping twice, both with modifier and as 0x08. Use only the first one when modifyOtherKeys has been detected.
* patch 8.1.1887: the +cmdline_compl feature is not in the tiny versionv8.1.1887Bram Moolenaar2019-08-181-20/+10
| | | | | Problem: The +cmdline_compl feature is not in the tiny version. Solution: Graduate the +cmdline_compl feature.
* patch 8.1.1823: command line history code is spread outv8.1.1823Bram Moolenaar2019-08-061-2/+0
| | | | | | Problem: Command line history code is spread out. Solution: Put the code in a new file. (Yegappan Lakshmanan, closes #4779) Also graduate the +cmdline_hist feature.
* patch 8.1.1732: completion in cmdwin does not work for buffer-local commandsv8.1.1732Bram Moolenaar2019-07-221-4/+17
| | | | | Problem: Completion in cmdwin does not work for buffer-local commands. Solution: Use the right buffer. (closes #4711)
* patch 8.1.1667: flags for Ex commands may clash with other symbolsv8.1.1667Bram Moolenaar2019-07-121-28/+28
| | | | | Problem: Flags for Ex commands may clash with other symbols. Solution: Prepend with EX_.
* patch 8.1.1384: using "int" for alloc() often results in compiler warningsv8.1.1384Bram Moolenaar2019-05-241-1/+1
| | | | | | Problem: Using "int" for alloc() often results in compiler warnings. Solution: Use "size_t" and remove type casts. Remove alloc_check(), Vim only works with 32 bit ints anyway.
* patch 8.1.1260: comparing with pointer instead of valuev8.1.1260Bram Moolenaar2019-05-041-3/+3
| | | | | Problem: Comparing with pointer instead of value. Solution: Add a "*". (Ken Takata, closes #4336)
* patch 8.1.1259: crash when exiting earlyv8.1.1259Bram Moolenaar2019-05-031-1/+2
| | | | | Problem: Crash when exiting early. (Ralf Schandl) Solution: Only pop/push the title when it was set. (closes #4334)
* patch 8.1.1241: Ex command info contains confusing informationv8.1.1241Bram Moolenaar2019-05-011-31/+32
| | | | | | | Problem: Ex command info contains confusing information. Solution: When using the NOTADR flag use ADDR_OTHER for the address type. Cleanup code using NOTADR. Check for errors in create_cmdidxs.vim. Adjust Makefile to see the errors.
* patch 8.1.1237: error for using "compl", reserved word in C++v8.1.1237Bram Moolenaar2019-04-291-5/+5
| | | | | Problem: Error for using "compl", reserved word in C++. Solution: Rename to "complp". (suggestion by Ken Takata)
* patch 8.1.1210: support for user commands is spread outv8.1.1210Bram Moolenaar2019-04-271-0/+1656
Problem: Support for user commands is spread out. No good reason to make user commands optional. Solution: Move user command support to usercmd.c. Always enable the user_commands feature.