aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* feat(lua): add <f-args> to user commands callback (#17522)Javier Lopez2022-02-27
| | | | | Works similar to ex <f-args>. It only splits the arguments if the command has more than one posible argument. In cases were the command can only have 1 argument opts.fargs = { opts.args }
* Merge pull request #16969 from shadmansaleh/enhance/ingore_nore_on_plug_keymapsbfredl2022-02-27
|\ | | | | feat: ignore nore on <Plug> maps
| * chore: remove <Plug> detection from vim.keymapshadmansaleh2022-02-27
| |
| * feat: ignore nore on <Plug> mapsshadmansaleh2022-02-27
| |
* | Merge pull request #17540 from jamessan/luv-bump-fixJames McCoy2022-02-27
|\ \ | | | | | | ci(lint): use bundled luv until system packages are updated
| * | ci(lint): re-add building of third-partyJames McCoy2022-02-27
| | |
| * | ci(lint): use bundled luv until system packages are updatedJames McCoy2022-02-27
| | |
| * | build: bump minimum version of luv to 1.43.0James McCoy2022-02-27
|/ / | | | | | | | | This is required for the recent addition of lua loop threading (luv_set_thread).
* | vim-patch:c51cf0329809 (#17530)Christian Clason2022-02-27
| | | | | | | | Update runtime files. https://github.com/vim/vim/commit/c51cf0329809c7ae946c59d6f56699227efc9d1b
* | Merge pull request #17386 from bfredl/neothreadbfredl2022-02-27
|\ \ | | | | | | support threads in lua
| * | refactor(lua): cleanup and docs for threadsbfredl2022-02-26
| | |
| * | refactor(lua): use references directly on main threadBjörn Linse2022-02-26
| | |
| * | feat(lua): add proper support of luv threadserw72022-02-26
| | |
* | | Merge pull request #17432 from zeertzjq/vim-8.1.2336zeertzjq2022-02-27
|\ \ \ | |_|/ |/| | vim-patch:8.1.2336,8.2.{4338,4401}: mapping cursor and redrawing patches
| * | test: add more tests for :*map cursor and redrawingzeertzjq2022-02-17
| | |
| * | vim-patch:8.2.4401: map listing does not clear the rest of the command linezeertzjq2022-02-17
| | | | | | | | | | | | | | | | | | Problem: Map listing does not clear the rest of the command line. Solution: Call msg_clear_eos(). (closes vim/vim#5623, closes vim/vim#5962) https://github.com/vim/vim/commit/d288eaad846f0e07e0141226f97d858dcf96cb78
| * | test: add some tests for :*map <expr>Jay Sandhu2022-02-17
| | | | | | | | | | | | | | | | | | | | | | | | | | | Add tests for: - Cursor position restored after :map expr - Cursor position restored after :imap expr - Error in :cmap expr handled correctly Cherry-picked from #12837
| * | vim-patch:8.2.4338: an error from an expression mapping messes up the displayzeertzjq2022-02-17
| | | | | | | | | | | | | | | | | | | | | Problem: An error from an expression mapping messes up the display. Solution: When the expression results in an empty string return K_IGNORE. In cmdline mode redraw the command line. (closes vim/vim#9726) https://github.com/vim/vim/commit/74a0a5b26d0180f3ea89e9495dff6a26f0df23cb
| * | vim-patch:8.1.2336: when an expr mapping moves the cursor it is not restoredzeertzjq2022-02-17
| | | | | | | | | | | | | | | | | | Problem: When an expr mapping moves the cursor it is not restored. Solution: Position the cursor after an expr mapping. (closes vim/vim#5256) https://github.com/vim/vim/commit/4ebe0e62d097d68c5312f9c32714fb41a4c947a3
* | | Merge pull request #17531 from ↵James McCoy2022-02-26
|\ \ \ | | | | | | | | | | | | dundargoc/refactor/coverity/big-parameter-passed-by-value
| * | | fix(coverity/175977): big parameter passed by valueDundar Göc2022-02-26
| | | |
* | | | Merge pull request #17535 from dundargoc/test/ci-foldJames McCoy2022-02-26
|\ \ \ \
| * | | | test(ci): remove non-existent ci-fold from testsDundar Göc2022-02-27
|/ / / /
* | | | Merge pull request #17525 from lf-/hardcopy-truecolorbfredl2022-02-26
|\ \ \ \ | |/ / / |/| | | feat(hardcopy): check gui colours for highlights first
| * | | feat(hardcopy): check gui colours for highlights firstJade Lovelace2022-02-25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously, :hardcopy would only use terminal highlight colours, with a fixed mapping table, despite internally supporting true colour. This patch looks at the guifg colour first while coming up with the printing highlight colours, then falls back to the terminal ones. I have passed through the modec argument in this change because it was there before, but it could be deleted and hardcoded to 'c' since nobody sets it to anything else anywhere.
* | | | Merge pull request #17532 from dundargoc/ci/add-timeoutJames McCoy2022-02-26
|\ \ \ \ | | | | | | | | | | ci: add timeout to all jobs
| * | | | ci: add timeout to all jobsDundar Göc2022-02-26
|/ / / /
* | | | Merge pull request #16845 from seandewar/floaty-aucmd-winbfredl2022-02-26
|\ \ \ \ | | | | | | | | | | fix(aucmd_win): ensure aucmd_win stays floating
| * | | | refactor(aucmd_win): remove need to restore window layoutSean Dewar2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There are some places that mess with the window layout in preparation for moving a window to a different split (win_split_ins called with new_wp != NULL). This means the window layout can change slightly even if win_split_ins fails. This is why it was still needed to restore the window layout in aucmd_{prep,rest}buf even if we disallow win_split_ins from making aucmd_win non-floating by moving it into a split. We can just skip messing with the layout in such places if we're dealing with the aucmd_win.
| * | | | fix(aucmd_win): ensure aucmd_win stays floatingSean Dewar2022-02-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Nvim uses a floating window for the autocmd window, but in certain situations, it can be made non-floating (`:wincmd J`), which can cause issues due to the previous setup and cleanup logic for a non-floating aucmd_win being removed from aucmd_prepbuf and aucmd_restbuf. This can cause glitchiness and crashes due to the aucmd_win's frame being invalid after closing its tabpage, for example. Ensure aucmd_win cannot be made non-floating. The only place this happens is in win_split_ins if new_wp != NULL.
* | | | | Merge pull request #17414 from zeertzjq/api-set-cursor-redrawbfredl2022-02-26
|\ \ \ \ \ | | | | | | | | | | | | fix(api): nvim_win_set_cursor() redraw for cursorline and statusline
| * | | | | fix(api): nvim_win_set_cursor() redraw for cursorline and statuslinezeertzjq2022-02-15
| | | | | |
* | | | | | Merge pull request #17337 from dundargoc/refactor/pvs/v560bfredl2022-02-26
|\ \ \ \ \ \ | | | | | | | | | | | | | | refactor(PVS/V560): part of conditional expression is always true/false
| * | | | | | refactor(PVS/V560): part of conditional expression is always true/falseDundar Göc2022-02-13
| | | | | | |
* | | | | | | Merge pull request #17527 from zeertzjq/test-pending-win32zeertzjq2022-02-26
|\ \ \ \ \ \ \ | |_|_|_|_|_|/ |/| | | | | | test: use helpers.pending_win32(pending) instead of iswin()
| * | | | | | test: use helpers.pending_win32(pending) instead of iswin()zeertzjq2022-02-26
| | | | | | |
* | | | | | | vim-patch:8.2.4464: Dtrace files are recognized as filetype D (#17518)Christian Clason2022-02-26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Dtrace files are recognized as filetype D. Solution: Add a pattern for Dtrace files. (Teubel György, closes vim/vim#9841) Add some more testing. https://github.com/vim/vim/commit/4d56b971cbae01cc454eb09713326224993e38ed
* | | | | | | Merge pull request #17219 from clason/bump-luvitChristian Clason2022-02-26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | build(deps): bump libuv and luv
| * | | | | | | build(deps): bump libuv to 1.43.0+7ae0c95Christian Clason2022-02-26
| | | | | | | |
| * | | | | | | build(deps): bump luv to 1.43.0-0Christian Clason2022-02-26
| |/ / / / / /
* | | | | | | Merge pull request #17479 from dundargoc/docs/usr04/update-Y-descriptionzeertzjq2022-02-26
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | docs: update explanation of Y to reflect new defaults
| * | | | | | | docs: update explanation of Y to reflect new defaultsDundar Göc2022-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/17435
* | | | | | | | Merge pull request #17472 from lewis6991/signcol_improvementsbfredl2022-02-26
|\ \ \ \ \ \ \ \ | |_|/ / / / / / |/| | | | | | | signcol improvements
| * | | | | | | fix(signcol): update cursor when signcol changesLewis Russell2022-02-24
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #14195
| * | | | | | | refactor(signcol): store signcol in win_TLewis Russell2022-02-24
| | | | | | | |
| * | | | | | | fix(signcol): handle edge case with maximum valueLewis Russell2022-02-24
| | |_|_|_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 50250542 failed to consider that the maximum passed to buf_signcols is window scoped whereas the signcols value is buffer scoped. This can lead to a bug where the signcolumn becomes incorrect if: - global signcolumn is set to auto:N - signcolumn in a window is changed locally to auto:M where M > N - the buffer has a line with M or greater signs.
* | | | | | | Merge pull request #17467 from dundargoc/ci/remove-failing-windowsJames McCoy2022-02-25
|\ \ \ \ \ \ \ | |/ / / / / / |/| | | | | | ci: remove failing windows CI tests
| * | | | | | ci: skip tests that fail on windowsDundar Göc2022-02-20
| | | | | | |
| * | | | | | ci(win): use vswhere to automatically setup required vsdev env varsJames McCoy2022-02-20
| | | | | | |
| * | | | | | ci: bump Windows image to windows-2019James McCoy2022-02-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The VS 2019 CMake generator no longer has different generator types for different architectures. Now, the architecture is specified via CMake's `-A` switch. However, this requires we also propagate `${CMAKE_GENERATOR_PLATFORM}` to the bundled deps, so they build for the same architecture as Nvim.