aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_docmd.c
Commit message (Collapse)AuthorAge
...
* lintJan Edmund Lazo2018-09-16
|
* vim-patch:8.0.1416: crash when searching for a sentenceJan Edmund Lazo2018-09-16
| | | | | | Problem: Crash when searching for a sentence. Solution: Return NUL when getting character at MAXCOL. (closes vim/vim#2468) https://github.com/vim/vim/commit/8ada6aa9298b4764d9ca0024dd21b17e815595ce
* lintJan Edmund Lazo2018-09-14
|
* globals: KeyTyped is boolJan Edmund Lazo2018-09-14
|
* vim-patch:8.0.1089: range count in user commandKwon-Young2018-09-13
| | | | | | | | Problem: Cannot get range count in user command. Solution: Add <range> argument. https://github.com/vim/vim/commit/c168bd4bd3a9b856fc410fc4515dcca1d10d7461 close #8946
* UI/cleanup: Remove most redraw_later_clear() callsJustin M. Keyes2018-09-12
| | | | | | Vim :! may "mess up the screen" because of e.g. switching between cooked mode, but Nvim just uses pipes. So maybe we can avoid these redraw_later_clear() CYA calls.
* vim-patch:8.1.0219: expanding ## fails to escape backtickJan Edmund Lazo2018-09-11
| | | | | | Problem: Expanding ## fails to escape backtick. Solution: Escape a backtick in a file name. (closes vim/vim#3257) https://github.com/vim/vim/commit/2c8c681bfcd5138a0ec8ce018216dc2dc69a11a0
* Merge #8953 from janlazo/vim-8.0.1190Justin M. Keyes2018-09-05
|\
| * vim-patch:8.0.1595: no autocommand triggered before exitingJan Edmund Lazo2018-09-04
| | | | | | | | | | | | Problem: No autocommand triggered before exiting. Solution: Add the ExitPre autocommand event. https://github.com/vim/vim/commit/12a96de430779b88795fac87a2be666d9f661d1e
| * vim-patch:8.0.1190: unusable after opening new window in BufWritePre eventJan Edmund Lazo2018-09-04
| | | | | | | | | | | | | | | | Problem: Vim becomes unusable after opening new window in BufWritePre event. Solution: Call not_exiting(). (Martin Tournoij, closes vim/vim#2205) Also for "2q" when a help window is open. Add a test. https://github.com/vim/vim/commit/2c33d7bb69c4c2c5b0e39b03cc4b0c04cfdfbb0b
* | vim-patch:8.1.0333: :mkview does not restore cursor properly after "$"Jan Edmund Lazo2018-09-02
|/ | | | | | | Problem: :mkview does not restore cursor properly after "$". (Dominique Pelle) Solution: Position the cursor with "normal! $". https://github.com/vim/vim/commit/92c1b696413bf0e28f2fec22090d42e8a825eff2
* vim-patch:8.0.1151: "vim -c startinsert!" doesn't append (#8886)Jan Edmund Lazo2018-08-22
| | | | | Problem: "vim -c startinsert!" doesn't append. Solution: Correct line number on startup. (Christian Brabandt, closes vim/vim#2117) https://github.com/vim/vim/commit/09ca932f8e7d63a83b39baa7c03d4c6145e3baab
* lintJan Edmund Lazo2018-08-20
|
* undo: update undo_time() function signatureJan Edmund Lazo2018-08-20
| | | | | sec,file,absolute (params) are bool. Fix callers and local variables of undo_time().
* lintJan Edmund Lazo2018-08-17
|
* vim-patch:8.0.1090: cannot get the text under the cursor like v:beval_textJan Edmund Lazo2018-08-17
| | | | | | Problem: cannot get the text under the cursor like v:beval_text Solution: Add <cexpr>. https://github.com/vim/vim/commit/65f084749b260746d7f186af4f080298be2df55b
* vim-patch:8.1.0159: completion for user names does not work for a prefix.Jan Edmund Lazo2018-08-17
| | | | | | | Problem: Completion for user names does not work if a prefix is also a full matching name. (Nazri Ramliy) Solution: Accept both full and partial matches. (Dominique Pelle) https://github.com/vim/vim/commit/6c5d1043022520512ee36aa1a29662b60af33c95
* ex_docmd: forceit,usefilter are boolJan Edmund Lazo2018-08-17
|
* vim-patch:8.0.1649: no completion for argument list commandsJan Edmund Lazo2018-08-16
| | | | | | Problem: No completion for argument list commands. Solution: Add arglist completion. (Yegappan Lakshmanan, closes vim/vim#2706) https://github.com/vim/vim/commit/cd43effecab02c6c28b1c4a3a14f91b8c3f26c0d
* vim-patch:8.0.1231: expanding file name drops dashJan Edmund Lazo2018-08-16
| | | | | | Problem: Expanding file name drops dash. (stucki) Solution: Use the right position. (Christian Brabandt, closes vim/vim#2184) https://github.com/vim/vim/commit/c312b8b87a589ed8452dbf0f555f05ff86d04692
* vim-patch:8.0.0878: no completion for :mapclearJan Edmund Lazo2018-08-16
| | | | | | Problem: No completion for :mapclear. Solution: Add completion (Nobuhiro Takasaki et al. closes vim/vim#1943) https://github.com/vim/vim/commit/cae92dc3d5bdd4009910671328cd01394bfbe2cf
* refactor: Replace vim_strrchr() with strrchar() (#8718)ZviRackover2018-08-11
| | | | ref #1474
* style: fixing minor issues noted in code review.ZviRackover2018-08-06
|
* Remove all occurences of the mb_ptr2char macroZviRackover2018-08-06
| | | | | | | First step towards implemening issue #7401. The same can be done for all deprecated mb_ functions in follow-up patches.
* globals: virtual_op is TriStateJan Edmund Lazo2018-08-01
|
* Merge #8589 'VimL: Remove legacy v:xx aliases'Justin M. Keyes2018-07-23
|
* ui: use line-based rather than char-based updates in screen.cBjörn Linse2018-07-21
| | | | | | | | | | | | | Add ext_newgrid and ext_hlstate extensions. These use predefined highlights and line-segment based updates, for efficiency and simplicity.. The ext_hlstate extension in addition allows semantic identification of builtin and syntax highlights. Reimplement the old char-based updates in the remote UI layer, for compatibility. For the moment, this is still the default. The bulitin TUI uses the new line-based protocol. cmdline uses curwin cursor position when ext_cmdline is active.
* *: Replace b_changedtick with new always-inline functionsZyX2018-06-22
| | | Ref #8474
* Merge #8596 from janlazo/vim-8.0.0615Justin M. Keyes2018-06-20
|\
| * lintJan Edmund Lazo2018-06-19
| |
| * vim-patch:8.0.0615: using % with :hardcopy wrongly escapes spacesJan Edmund Lazo2018-06-19
| | | | | | | | | | | | Problem: Using % with :hardcopy wrongly escapes spaces. (Alexey Muranov) Solution: Expand % differently. (Christian Brabandt, closes vim/vim#1682) https://github.com/vim/vim/commit/bf15b8d78b22661db8b19d662b62bb9a061cdd37
* | vim-patch:8.0.0546: swap file exists briefly when opening the command window ↵Jan Edmund Lazo2018-06-19
|/ | | | | | | | (#8588) Problem: Swap file exists briefly when opening the command window. Solution: Set the noswapfile command modifier before splitting the window. (James McCoy, closes vim/vim#1620) https://github.com/vim/vim/commit/3bab93998d01a01b7f2a071fa3b8054bb0094625
* vim-patch:8.0.0598: building with gcc 7.1 yields new warnings (#8585)Jan Edmund Lazo2018-06-19
| | | | | Problem: Building with gcc 7.1 yields new warnings. Solution: Initialize result. (John Marriott) https://github.com/vim/vim/commit/9e0f6ec0762575d229b86798b284ca4876bc3d73
* Ex mode: use getexline() instead of getexmodeline()Justin M. Keyes2018-06-17
| | | | | | | | | | | | | | | | | | | | | This changes Ex mode (Q, -e) to work like Vim's "improved Ex mode" (gQ, -E). That brings some small behavior differences, but should not impact most Ex scripts (unless, for example, they depend on mappings being disabled--but that can be solved for -e by skipping user config). Before this change: * the screen test hangs. After this change: * Q acts like gQ. * -e/-es differs from -E/-Es only in its treatment of stdin. This moves towards potentially removing getexmodeline(). (HINT: That does NOT mean "removing Ex mode", it means removing the Vi-compatible Ex mode, which differs from Vim's "improved Ex mode" only in some minor details (e.g. mappings are disabled).) ref #1089 :-)~
* vim-patch:8.0.0451: some macros are in lower caseJan Edmund Lazo2018-06-12
| | | | | | | Problem: Some macros are in lower case. Solution: Make a few more macros upper case. Avoid lower case macros use an argument twice. https://github.com/vim/vim/commit/91acfffc1e6c0d8c2abfb186a0e79a5bf19c3f3f
* vim-patch:8.0.0466: still macros that should be all-caps (#8510)Jan Edmund Lazo2018-06-10
| | | | | Problem: There are still a few macros that should be all-caps. Solution: Make a few more macros all-caps. https://github.com/vim/vim/commit/8820b48654b62472821d9b155fe03ab7ac13a05c
* vim-patch:8.0.0515: ml_get errors in silent Ex mode (#8452)KunMing Xie2018-05-30
| | | | | | Problem: ml_get errors in silent Ex mode. (Dominique Pelle) Solution: Clear valid flags when setting the cursor. Set the topline when not in full screen mode. https://github.com/vim/vim/commit/d5d37537d1fa46fd468bd378af2006dd09840f38
* API: nvim_get_commands(): return DictionaryJustin M. Keyes2018-05-12
|
* API: nvim_get_commands(): more attributesJustin M. Keyes2018-05-11
| | | | | | | Support more :command attributes: -bang -bar -register
* API: nvim_get_commands(): always return keysJustin M. Keyes2018-05-11
| | | | | | - Always return all keys, with at least NIL value. - Require `opts` param to be {"builtin":false} - Validate `opts` param
* API: nvim_get_commands()Nimit Bhardwaj2018-05-11
|
* Merge #8218 'Fix errors reported by PVS'Justin M. Keyes2018-04-27
|\ | | | | closes #4983
| * ex_docmd: Fix PVS/V547: condition was already checked in surr. if()ZyX2018-04-15
| |
| * ex_docmd: Fix PVS/V547: due to short-circuiting name_len is never > 4ZyX2018-04-15
| |
* | Merge #8304 "default to 'nofsync'"Justin M. Keyes2018-04-24
|\ \
| * | IO: let 'fsync' option control more casesJustin M. Keyes2018-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Vim has the 'swapsync' option which we removed in 62d137ce0969. Instead let 'fsync' control swapfile-fsync. These cases ALWAYS force fsync (ignoring 'fsync' option): - Idle (CursorHold). - Exit caused by deadly signal. - SIGPWR signal. - Explicit :preserve command.
* | | inccommand: do not execute trailing commands #8256Nimit Bhardwaj2018-04-21
|/ / | | | | | | fix #7494
* | events: VimSuspend, VimResume #8280geekodour2018-04-15
| | | | | | | | | | closes #3648 ref #5959
* | cleanup: remove main_start_gui()Justin M. Keyes2018-04-11
|/
* *: Replace did_throw checks with current_exception checksZyX2018-03-25
| | | Removes obsolete did_throw after that.