aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
Commit message (Collapse)AuthorAge
* vim-patch:8.1.0461: quickfix: change comment style #11453Jan Edmund Lazo2019-11-24
| | | | | Problem: Quickfix code uses too many /* */ comments. Solution: Change to // comments. (Yegappan Lakshmanan) https://github.com/vim/vim/commit/00bf8cd2115be7c14258aee48c0a7568147c9cd7
* doc [ci skip]Justin M. Keyes2019-11-11
|
* extmark: review changesBjörn Linse2019-11-11
|
* nsmarks: initial committimeyyy2019-11-11
|
* Merge #11319 'inccommand: fix issues with modifiers and prompting'Justin M. Keyes2019-11-05
|\
| * Simplify + inline/align commentRob Pilling2019-11-05
| |
| * Simplify split_success logicRob Pilling2019-11-02
| |
| * Prevent :topleft, etc modifying the inccommand preview windowRob Pilling2019-10-31
| |
| * Only apply 'icm' substitutions when preview was successfully openedRob Pilling2019-10-31
| |
* | vim-patch:8.1.2236: ml_get error if pattern matches beyond last lineJan Edmund Lazo2019-11-02
|/ | | | | | Problem: Ml_get error if pattern matches beyond last line. Solution: Adjust position if needed. (Christian Brabandt, closes ) https://github.com/vim/vim/commit/bb26596242fa7db477e2cd706dd99f9a426b5f71
* vim-patch:8.1.1228: not possible to process tags with a functionRob Pilling2019-10-22
| | | | | | Problem: Not possible to process tags with a function. Solution: Add tagfunc() (Christian Brabandt, Andy Massimino, closes vim/vim#4010) https://github.com/vim/vim/commit/45e18cbdc40afd8144d20dcc07ad2d981636f4c9
* vim-patch:8.1.1588: in :let-heredoc line continuation is recognizedJurica Bradaric2019-10-07
| | | | | | Problem: In :let-heredoc line continuation is recognized. Solution: Do not consume line continuation. (Ozaki Kiichi, closes vim/vim#4580) https://github.com/vim/vim/commit/e96a2498f9a2d3e93ac07431f6d4afd77f30afdf
* Merge #11157 from janlazo/vim-8.1.2113Justin M. Keyes2019-10-06
|\ | | | | vim-patch:8.1.{59, 586, 2113}
| * vim-patch:8.1.2113: ":help expr-!~?" only works after searchingJan Edmund Lazo2019-10-05
| | | | | | | | | | | | Problem: ":help expr-!~?" only works after searching. Solution: Escape "~" after "expr-". (closes vim/vim#5015) https://github.com/vim/vim/commit/9ca250855b55f4d3292b010525c827dc6992cb61
* | vim-patch:8.1.1371: cannot recover from a swap file #11081Jurica Bradarić2019-10-05
|/ | | | | | | Problem: Cannot recover from a swap file. Solution: Do not expand environment variables in the swap file name. Do not check the extension when we already know a file is a swap file. (Ken Takata, closes 4415, closes vim/vim#4369) https://github.com/vim/vim/commit/99499b1c05f85f83876b828eea3f6e14f0f407b4
* getdigits: introduce `strict`, `def` parametersJustin M. Keyes2019-09-13
| | | | | | | | | | | | Problem: During a refactor long ago, we changed the `getdigits_*` familiy of functions to abort on overflow. But this is often wrong, because many of these codepaths are handling user input. Solution: Decide at each call-site whether to use "strict" mode. fix #5555
* refactor: allow us to process a child queue only while waiting on inputBjörn Linse2019-09-08
|
* Merge #10098 'win: fix msg_puts_printf()'Justin M. Keyes2019-08-12
|\
| * Remove display_erros()erw72019-06-09
| | | | | | | | | | do_shell() in Nvim uses the Nvim UI, not the tty directly, so display_errors() is not necessary anymore.
* | includesDaniel Hahler2019-08-07
| |
* | lint: helptags_oneIhor Antonov2019-07-30
| |
* | clang/"null pointer dereference": ex_cmds.cIhor Antonov2019-07-29
| |
* | cleanup: remove mch_fopen in favor of os_fopenJustin M. Keyes2019-07-25
| |
* | refactor: use int for Columns and RowsBjörn Linse2019-07-19
| |
* | vim-patch:8.0.1202: :wall gives an errof for a terminal windowJan Edmund Lazo2019-06-28
| | | | | | | | | | | | | | Problem: :wall gives an errof for a terminal window. (Marius Gedminas) Solution: Don't try writing a buffer that can't be written. (Yasuhiro Matsumoto, closes vim/vim#2190) https://github.com/vim/vim/commit/059db5c29ffef283a4b90bab9228708fa32e3dd2
* | vim-patch:8.1.0270: checking for a Tab in a line could be fasterJan Edmund Lazo2019-06-23
| | | | | | | | | | | | Problem: Checking for a Tab in a line could be faster. Solution: Use strchr() instead of strrchr(). (closes vim/vim#3312) https://github.com/vim/vim/commit/b31a3acce13231643b006988c1ce76b8a12b2982
* | vim-patch:8.0.1726: older MSVC doesn't support declarations halfway a blockJan Edmund Lazo2019-06-19
| | | | | | | | | | | | Problem: Older MSVC doesn't support declarations halfway a block. Solution: Move the declaration back to the start of the block. https://github.com/vim/vim/commit/df2c774ded4c2ed169390a352099c23b6db657c4
* | vim-patch:8.0.0953: get "no write since last change" error in terminal windowJan Edmund Lazo2019-06-13
|/ | | | | | | Problem: Get "no write since last change" error in terminal window. Solution: Use another message when closing a terminal window. Make ":quit!" also end the job. https://github.com/vim/vim/commit/f5be7cd01642fafc4b7d68894eb60cca60c7a405
* api: allow nvim_buf_attach from lua using callbacksBjörn Linse2019-06-04
|
* vim-patch:8.1.0673: functionality for signs is spread out over several filesAndrej Zieger2019-05-26
| | | | | | | Problem: Functionality for signs is spread out over several files. Solution: Move most of the sign functionality into sign.c. (Yegappan Lakshmanan, closes vim/vim#3751) https://github.com/vim/vim/commit/bbea47075cc4e7826e9f8c203e4272ba023ed7b0
* vim-patch:8.1.0669: the ex_sign() function is too longAndrej Zieger2019-05-26
| | | | | | | Problem: The ex_sign() function is too long. Solution: Refactor the function. Add a bit more testing. (Yegappan Lakshmanan, closes vim/vim#3745) https://github.com/vim/vim/commit/a355652ea5b0c1633e8126ad9af2d970e05f4e1a
* vim-patch:8.1.0658: deleting signs and completion for :sign is insufficientAndrej Zieger2019-05-26
| | | | | | | | | | Problem: Deleting signs and completion for :sign is insufficient. Solution: Add deleting signs in a specified or any group from the current cursor location. Add group and priority to sign command completion. Add tests for different sign unplace commands. Update help text. Add tests for sign jump with group. Update help for sign jump. (Yegappan Lakshmanan, closes vim/vim#3731) https://github.com/vim/vim/commit/7d83bf4f2b785b46d87c7bc376fc9d0a862af782
* vim-patch:8.1.0644: finding next sign ID is inefficientAndrej Zieger2019-05-26
| | | | | | Problem: Finding next sign ID is inefficient. Solution: Add next_sign_id. (Yegappan Lakshmanan, closes vim/vim#3717) https://github.com/vim/vim/commit/6436cd83f90a0efc326798792e49e8ff96a43dce
* vim-patch:8.1.0632: using sign group names is inefficientAndrej Zieger2019-05-26
| | | | | | | | Problem: Using sign group names is inefficient. Solution: Store group names in a hash table and use a reference to them. Also remove unnecessary use of ":exe" from the tests. (Yegappan Lakshmanan, closes vim/vim#3715) https://github.com/vim/vim/commit/7a2d9892b7158edf8dc48e9bcaaae70a40787b37
* vim-patch:8.1.0614: placing signs can be complicatedAndrej Zieger2019-05-26
| | | | | | | | Problem: Placing signs can be complicated. Solution: Add functions for defining and placing signs. Introduce a group name to avoid different plugins using the same signs. (Yegappan Lakshmanan, closes vim/vim#3652) https://github.com/vim/vim/commit/162b71479bd4dcdb3a2ef9198a1444f6f99e6843
* lintJustin M. Keyes2019-05-25
|
* vim-patch:8.0.1496: VIM_CLEAR()Justin M. Keyes2019-05-25
| | | | | | | | Problem: Clearing a pointer takes two lines. Solution: Add VIM_CLEAR() and replace vim_clear(). (Hirohito Higashi, closes #2629) vim-patch:8.0.1481
* vim-patch:8.1.1360: buffer left 'nomodifiable' after :substituteJan Edmund Lazo2019-05-20
| | | | | | | Problem: Buffer left 'nomodifiable' after :substitute. (Ingo Karkat) Solution: Save the value of 'modifiable' earlier' (Christian Brabandt, closes vim/vim#4403) https://github.com/vim/vim/commit/80341bcd89764d96f87859a3aac8bc00aad1d762
* vim-patch:8.1.1345: stuck in sandbox with ":s/../\=Function/gn"Jan Edmund Lazo2019-05-18
| | | | | | Problem: Stuck in sandbox with ":s/../\=Function/gn". Solution: Don't skip over code to restore sandbox. (Christian Brabandt) https://github.com/vim/vim/commit/6349e9411fd17f80c7aff9c678a8800647d34cfa
* UI/ext_messages: learn more message kindsJustin M. Keyes2019-05-11
| | | | ref #6201
* lintJan Edmund Lazo2019-04-30
|
* inccommand: Disable K_EVENT during preview calculationJustin M. Keyes2019-04-14
| | | | | | | | | | 'inccommand' invokes ex_substitute() to build its "preview". During the brief (~millisecond) time it takes to execute that function, the buffer is "dirty" (its contents are invalid). Events must not be handled during this time, else they would see a temporary state which is not the true, logical state of the buffer. ref #9777
* vim-patch:8.1.1061: when substitute string throws error, substitute happens ↵Jan Edmund Lazo2019-03-27
| | | | | | | | anyway Problem: When substitute string throws error, substitute happens anyway. Solution: Skip substitution when aborting. (closes vim/vim#4161) https://github.com/vim/vim/commit/0e97b9487571cf725a9cb28fe4dcefc800415f69
* vim-patch:8.1.0887: the 'l' flag in :subsitute is stickyJan Edmund Lazo2019-03-27
| | | | | | Problem: The 'l' flag in :subsitute is sticky. Solution: Reset the flag. (Dominique Pelle, closes vim/vim#3925) https://github.com/vim/vim/commit/9474716d39764ac5642e55b5548580cf53bd9bed
* vim-patch:8.0.0643: when a pattern search is slow Vim becomes unusableBilly Su2019-03-07
| | | | | | | | | Problem: When 'hlsearch' is set and matching with the last search pattern is very slow, Vim becomes unusable. Cannot quit search by pressing CTRL-C. Solution: When the search times out set a flag and don't try again. Check for timeout and CTRL-C in NFA loop that adds states. https://github.com/vim/vim/commit/fbd0b0af6800f6ff89857863d6a07ea03f09ff6c
* API/buffer-updates: always detach on buf-reload #9643KillTheMule2019-03-01
| | | | | | Independently of the 'undoreload' option and the length of the file. closes #9642 closes #9643
* vim-patch:8.1.0959: sorting large numbers is not tested (#9641)Jan Edmund Lazo2019-02-23
| | | | | | Problem: Sorting large numbers is not tested and does not work properly. Solution: Add test. Fix comparing lines with and without a number. (Dominique Pelle, closes vim/vim#4017) https://github.com/vim/vim/commit/a25e3d06956f1bc11c68fe60149acce2d8547092
* vim-patch:8.1.0932: remove Farsi support (#9622)Justin M. Keyes2019-02-17
| | | | | Problem: Farsi support is outdated and unused. Solution: Delete the Farsi support. https://github.com/vim/vim/commit/14184a3133b9a6ee5f711d493c04e41ba4fa7c2f
* inccommand: auto-disable if folding is slow #9568KillTheMule2019-02-01
| | | | | Fixes #9557
* terminal: handle size when switching buffers in windowBjörn Linse2019-01-27
|