aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds.c
Commit message (Collapse)AuthorAge
...
* | vim-patch:8.2.0272: ":helptags ALL" gives error for some directoriesJan Edmund Lazo2020-12-19
|/ | | | | | | | | | Problem: ":helptags ALL" gives error for directories without write permission. (Matěj Cepl) Solution: Ignore errors for ":helptags ALL". (Ken Takata, closes vim/vim#5026, closes vim/vim#5652) https://github.com/vim/vim/commit/414b79662786762256e756ece8ab4aaecbbf9bd1 Cherry-pick Test_helptag_cmd() from patch v8.2.0203.
* fix: also splice extmarks in preview windowsThomas Vigouroux2020-12-15
| | | | | | We indeed need to adjust extmarks in preview windows. Fixes #12967
* vim-patch:8.0.1525: using :wqa exits even if a job runs in a terminal windowJan Edmund Lazo2020-12-01
| | | | | | | Problem: Using :wqa exits even if a job runs in a terminal window. (Jason Felice) Solution: Check if a terminal has a running job. (closes vim/vim#2654) https://github.com/vim/vim/commit/7a76092a51fc5446426a4bfd9eb6503ec61bf9e9
* vim-patch:8.1.2361: MS-Windows: test failures related to VIMDLLJan Edmund Lazo2020-11-23
| | | | | | Problem: MS-Windows: test failures related to VIMDLL. Solution: Adjust code and tests. (Ken Takata, closes vim/vim#5283) https://github.com/vim/vim/commit/310c32e8920140f0db747c6c6eb06b1ee53cdb5a
* vim-patch:8.1.0805: too many #ifdefsJan Edmund Lazo2020-11-12
| | | | | | Problem: Too many #ifdefs. Solution: Graduate FEAT_MBYTE, part 1. https://github.com/vim/vim/commit/135059724f140ceac889c9f8136bd1bf5c41d49d
* Removed restricted mode - Fix #11972georg3tom2020-11-11
|
* gcc/analyzer: fix false positives for NULL (#13248)Jan Edmund Lazo2020-11-08
| | | Close https://github.com/neovim/neovim/issues/13158
* decoration: split out "decoration" from "extmark" moduleBjörn Linse2020-11-07
| | | | | Decorations will only grow more complex. move the to a separate file, so that extmark.c remains about extmarks.
* api: add API for themesBjörn Linse2020-11-01
| | | | | | | | | | co-author: hlpr98 <hlpr98@gmail.com> (dict2hlattrs function) orange is sus?? NOVEMBER DAWN erase the lie that is redraw_later()
* vim-patch:8.2.0943: displaying ^M or ^J depends on current bufferJan Edmund Lazo2020-10-18
| | | | | | | | | | | | | | | Problem: Displaying ^M or ^J depends on current buffer. Solution: Pass the displayed buffer to transchar(). (closes vim/vim#6225) https://github.com/vim/vim/commit/32ee627750e8b7b3fa6516b893e72f6e6af54710 N/A patches for version.c: vim-patch:8.2.0862: ":term ++curwin" makes the current buffer hidden Problem: ":term ++curwin" makes the current buffer hidden. (Harm te Hennepe) Solution: Do not hide the current buffer. (closes vim/vim#6170) https://github.com/vim/vim/commit/b10090928cb5283f867e8457b7eea0985470d8d4
* vim-patch:8.2.1801: undo file not found when using ":args" or ":next"Jan Edmund Lazo2020-10-05
| | | | | | Problem: Undo file not found when using ":args" or ":next". Solution: Handle like editing another file. (closes vim/vim#7072) https://github.com/vim/vim/commit/55b419b871dd35f5b05dd2aed65f14461b493ba9
* api/buffer: add "on_bytes" callback to nvim_buf_attachBjörn Linse2020-09-09
| | | | | | This implements byte-resolution updates of buffer changes. Note: there is no promise that the buffer state is valid inside the callback!
* vim-patch:8.1.2198: crash when using :center in autocommandJan Edmund Lazo2020-08-30
| | | | | | | | Problem: Crash when using :center in autocommand. Solution: Bail out early for an empty line. (Dominique pelle, closes vim/vim#5095) https://github.com/vim/vim/commit/396b7c78c0fd9cd07528963b18c27398491df40d Cherry-pick 'src/testdir/check.vim' changes from patch 8.1.1544.
* Reuse inccommand preview window (fix #11529) (#12612)Ville Hakulinen2020-07-15
| | | | | | | | | | | | | | | | | | | | | | | * Reuse inccommand preview window Currently, show_sub (inside ex_substitute) creates a new split on each run for its existing buffer, and ex_substitute calls close_windows for it. This functionality seems to relay in delayed operations on window structures where the close event on the newest window is "cancelled" by win_grid_alloc. But for multigrid, there is optimization in place in win_grid_alloc which causes any (unnecessary?) allocations to be skipped, and thus inccommand preview window is not preserved but closed immediately. Alternative fix would be to remove said optimization, but the whole "lets create a new split each time and trash the earlier window" seems too wasteful. Fix #11529 * Update failing test The failing test sets inccommand=split and does `:%s/.`, but isn't expecting to get any contents for the preview window, other than the windows status line. Update the test to include the preview window contents too.
* Merge #12155 ':ls filter by terminal, lastused'Justin M. Keyes2020-04-26
|\
| * vim-patch:7.4.1988Rob Pilling2020-04-19
| | | | | | | | | | | | | | | | | | | | | | Problem: When updating viminfo with file marks there is no time order. Solution: Remember the time when a buffer was last used, store marks for the most recently used buffers. https://github.com/vim/vim/commit/ab9c89b68dcbdb3fbda8c5a50dd90caca64f1bfd As this is a viminfo fix, most of this is irrelevant - the patch has just been brought across for the creation and updating of buffer's `b_last_used` properties.
* | folds: decrease reliance on global 'curwin'Matthieu Coudron2020-04-24
|/ | | | | | TODO in a future commit: - remains 2 instances of changed_lines that dont take into account buffer
* vim-patch:8.1.0864 Make 'scrolloff' and 'sidescrolloff' options window local ↵Will Eccles2020-03-17
| | | | | | | | | | (#11854) Problem: cannot have a local value for 'scrolloff' and 'sidescrolloff' Author: Bram Moolenar https://github.com/vim/vim/commit/375e3390078e740d3c83b0c118c50d9a920036c7
* Merge pull request #11716 from teto/folds_auto_backupMatthieu Coudron2020-03-02
|\ | | | | [RFC] foldcolumn autowidth
| * addressing reviewsMatthieu Coudron2020-03-01
| |
| * foldcolumn: allow auto:XMatthieu Coudron2020-02-29
| | | | | | | | | | | | | | | | Similar to signcolumn, allow foldcolumn to adapt itself to the number of folds. Regression: vim supports a maximum fdc of 12, this limits it to 9.
* | vim-patch:8.1.0881: can execute shell commands in rvim through interfacesJan Edmund Lazo2020-03-01
|/ | | | | | | Problem: Can execute shell commands in rvim through interfaces. Solution: Disable using interfaces in restricted mode. Allow for writing file with writefile(), histadd() and a few others. https://github.com/vim/vim/commit/8c62a08faf89663e5633dc5036cd8695c80f1075
* shed biking: it's always extmarks, never marks extendedBjörn Linse2020-01-20
|
* extmarks/bufhl: reimplement using new marktree data structureBjörn Linse2020-01-16
| | | | | | | | | | | | | | | | | | | | Add new "splice" interface for tracking buffer changes at the byte level. This will later be reused for byte-resolution buffer updates. (Implementation has been started, but using undocumented "_on_bytes" option now as interface hasn't been finalized). Use this interface to improve many edge cases of extmark adjustment. Changed tests indicate previously incorrect behavior. Adding tests for more edge cases will be follow-up work (overlaps on_bytes tests) Don't consider creation/deletion of marks an undoable event by itself. This behavior was never documented, and imposes complexity for little gain. Add nvim__buf_add_decoration temporary API for direct access to the new implementation. This should be refactored into a proper API for decorations, probably involving a huge dict. fixes #11598
* ex_cmds: fix pvs/v781Jan Edmund Lazo2019-12-26
|
* clang/'Dead store': remove dead codeJan Edmund Lazo2019-12-26
|
* 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
| |