aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.1.2031: cursor position wrong when resizing and using concealJan Edmund Lazo2020-01-19
| | | | | | | Problem: Cursor position wrong when resizing and using conceal. Solution: Set the flags that the cursor position is valid when setting the row and column during redrawing. (closes vim/vim#4931) https://github.com/vim/vim/commit/5babc6e858afbfa54aa0e203a64b9c70175487b7
* Merge #11331 'WinClosed autocmd'Justin M. Keyes2020-01-18
|\
| * doc: autocmd.txtJustin M. Keyes2020-01-18
| |
| * WinClosed: sort auevents.lua; improve testsJustin M. Keyes2020-01-18
| | | | | | | | | | - test: reduce verbosity, condense redundancy, improve readability - auevents.lua: keep events sorted by name. ref afd1d412fa91
| * autocmd: WinClosed exposes window id as <afile>notomo2020-01-18
| |
| * autocmd: add WinClosed eventMarcos ALMEIDA2020-01-18
|/ | | | | | - only fire once, just before freeing mem - trigger when on a different buffer - avoid recursive calls in another tab
* Merge #11707 from janlazo/vim-8.1.1434Justin M. Keyes2020-01-18
|\ | | | | vim-patch:8.1.{716,1139},8.2.{112,120,123}
| * vim-patch:8.2.0123: complete_info() does not work when CompleteDone is triggeredJan Edmund Lazo2020-01-17
| | | | | | | | | | | | Problem: complete_info() does not work when CompleteDone is triggered. Solution: Trigger CompleteDone before clearing the info. https://github.com/vim/vim/commit/17e04781f26c24769e202351c194ee252927eee1
| * vim-patch:8.1.1139: no test for what is fixed in patch 8.1.0716Jan Edmund Lazo2020-01-17
| | | | | | | | | | | | Problem: No test for what is fixed in patch 8.1.0716. Solution: Add a test. (Yasuhiro Matsumoto, closes vim/vim#3797) https://github.com/vim/vim/commit/9845f36aa6ba28e0aa388bb635d4bb8ab56f1a47
| * vim-patch:8.1.0716: get warning message when 'completefunc' returns nothingJan Edmund Lazo2020-01-17
| | | | | | | | | | | | | | Problem: Get warning message when 'completefunc' returns nothing. Solution: Allow for returning v:none to suppress the warning message. (Yasuhiro Matsumoto, closes vim/vim#3789) https://github.com/vim/vim/commit/cee9bc2e3dc5c16a9d2a8d0e23aa0d5fdefa3a4a
| * spell: spell_soundfold_sal() is dead codeJan Edmund Lazo2020-01-17
| |
| * clang/'Logic error': zero-init structJan Edmund Lazo2020-01-17
| |
| * vim-patch:8.2.0120: virtcol() does not check arguments to be validJan Edmund Lazo2020-01-17
| | | | | | | | | | | | | | | | Problem: virtcol() does not check arguments to be valid, which may lead to a crash. Solution: Check the column to be valid. Do not decrement MAXCOL. (closes vim/vim#5480) https://github.com/vim/vim/commit/b3d33d8570bc49a7f90990572d7f9630a1bfae02
| * vim-patch:8.2.0112: illegal memory access when using 'cindent'Jan Edmund Lazo2020-01-17
|/ | | | | | Problem: Illegal memory access when using 'cindent'. Solution: Check for NUL byte. (Dominique Pelle, closes vim/vim#5470) https://github.com/vim/vim/commit/02ad46394e8f887b60fda994f8a5da2ac1937b23
* Merge pull request #11390 from erw7/feature-conptyBjörn Linse2020-01-17
|\ | | | | win/Terminal: Change to use ConPTY, if available
| * Remove termtype optionerw72020-01-17
| |
| * Change to replace stderr with conouterw72020-01-17
| |
| * Add missing include fileerw72020-01-17
| |
| * Change option name from termwintype to termtypeerw72020-01-17
| |
| * Rename from os_win_conpty.{c,h} to pty_conpty_win.{c,h}erw72020-01-17
| |
| * Add stdin, stdout replacement functionserw72020-01-17
| |
| * Change enum to a name that follows naming conventionerw72020-01-17
| |
| * Change to use TriState instead of boolerw72020-01-17
| | | | | | | | Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
| * Fix function prototypeerw72020-01-17
| |
| * Minor changes in reviewer's pointerw72020-01-17
| |
| * Move ConPTY resize to os_win_conpty.cerw72020-01-17
| |
| * Change union name from pty_object to objecterw72020-01-17
| | | | | | | | Co-Authored-By: Justin M. Keyes <justinkz@gmail.com>
| * Change to use ConPTY, if availableerw72020-01-17
|/
* Merge pull request #11723 from bfredl/nocleareolBjörn Linse2020-01-16
|\ | | | | messages: echo "line1\r\nline2" should not clear line1
| * messages: echo "line1\r\nline2" should not clear line1Björn Linse2020-01-16
|/
* Merge pull request #11563 from bfredl/mark_madnessBjörn Linse2020-01-16
|\ | | | | extmarks: mark sanity/madness
| * 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
| * Add new marktree data structure for storing marksBjörn Linse2020-01-14
| | | | | | | | | | | | This is inspired by Atom's "marker index" data structure to efficiently adjust marks to text insertions deletions, but uses a wide B-tree (derived from kbtree) to keep the nesting level down.
* | api_set_error: include expression with "Failed to evaluate expression" (#11713)Daniel Hahler2020-01-15
| |
* | version.c: update [ci skip] #11689Marvim the Paranoid Android2020-01-14
|/ | | | | | vim-patch:8.0.1789: BufWinEnter does not work well for a terminal window vim-patch:8.2.0105: Vim license not easy to find on github vim-patch:8.2.0106: printf formats are not exactly right vim-patch:8.2.0107: hgignore is out of sync from gitignore
* API: include invalid buffer/window/tabpage in error message (#11712)Daniel Hahler2020-01-14
|
* doc [ci skip] #11656Justin M. Keyes2020-01-12
|
* edit.c: Ensure undo sync when emulating <Esc>x #11706Matthew Malcomson2020-01-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | After PR #8226 an unmapped META key in insert mode behaves like ESC-<key> (:help i_META). The behaviour does not fully match, since if <Esc>-<key> is pressed manually then since it were pressed manually `gotchars` would be called on the second <key> after insert-mode had already been left. This would mean that `may_sync_undo` (called from `gotchars`) would call `u_sync(FALSE)` on the second key (since we would be in normal mode). This overall means that <Meta-[something]> behaves differently with respect to undo than <Esc>[something] when the [something] makes a change. As an example, under `nvim -u NONE`: ihello<M-.>u leaves the buffer empty, while ihello<Esc>.u leaves the buffer with one instance of `hello`. - Fix by calling u_sync() manually in the new clause under `normalchar:` in `insert_handle_key`. - Update test in tui_spec.lua that accidentally relied on the old behaviour.
* defaults: set fillchars "foldsep" to box line #11702Matthieu Coudron2020-01-11
| | | | | "│" U+2502 BOX DRAWINGS LIGHT VERTICAL Fallback to old default | if 'ambiwidth' is set.
* vim-patch:8.0.1593: :qall never exits active :terminal #11704Jan Edmund Lazo2020-01-11
| | | | | Problem: :qall never exits with an active terminal window. Solution: Add a way to kill a job in a terminal window. https://github.com/vim/vim/commit/25cdd9c33b21ddbd31321c075873bb225450d2d2
* vim-patch:8.0.1769: refactor save/restore of viewstate #11701Jan Edmund Lazo2020-01-11
| | | | | Problem: Repeated saving and restoring viewstate for 'incsearch'. Solution: Use a structure. https://github.com/vim/vim/commit/9b25af36204c0511eab08d621688f0f2008fc68e
* vim-patch.sh: fix for bash 4.3 or older #11700Jan Edmund Lazo2020-01-11
|
* tabpage: disallow go-to-previous in cmdline-win #11692butwerenotthereyet2020-01-09
| | | | | | | | | | | | | | After cbc8d72fde4b19176028490934ff7a447afe523c when editing the command in the command editing window (q:, q/, q?) it was possible to switch to the previous tab. Doing so put Nvim in a bad state. Moreover, switching tabs via the other available mechanisms (gt, gT, <C-W>gt, <C-W>gT) is not possible when in the command editing window. Here, the behavior is prevented. It is no longer possible to switch to the previous tab when editing the command in the command editing window. The solution is to share code between gt, gT, and g<Tab>. Specifically, goto_tabpage_lastused now calls through goto_tabpage rather than directly calling goto_tabpage_tp. Doing so works well because all the validation enjoyed by gt and gT is present in goto_tabpage.
* Merge #11669 'LSP: differentiate diagnostic underline by severity'Justin M. Keyes2020-01-08
|\
| * LSP: highlight groups test, docJustin M. Keyes2020-01-08
| |
| * test: hoist buf_lines()Justin M. Keyes2020-01-08
| |
| * test: just say no to hyper-granularityJustin M. Keyes2020-01-08
| | | | | | | | | | - Move plugin/lsp/* to plugin/* - Merge lsp/util_spec.lua into lsp_spec.lua
| * LSP: differentiate diagnostic underline by severityAlvaro Muñoz2020-01-08
| |
* | Merge #11691 from janlazo/vim-8.2.0099Justin M. Keyes2020-01-08
|\ \ | |/ |/|
| * Remove (void) hacks, Mark unused attrsJan Edmund Lazo2020-01-08
| |