aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* vim-patch:8.2.0137: crash when using win_execute() from a new tabjing2021-05-06
| | | | | | Problem: Crash when using win_execute() from a new tab. Solution: Set the tp_*win pointers. (Ozaki Kiichi, closes vim/vim#5512) https://github.com/vim/vim/commit/a44b3eeafa57d4904a3de86b132008b93404f0fd
* vim-patch:8.1.2124: ruler is not updated if win_execute() moves cursorjing2021-05-06
| | | | | | Problem: Ruler is not updated if win_execute() moves cursor. Solution: Update the status line. (closes vim/vim#5022) https://github.com/vim/vim/commit/345f28df5482cd35f5fa74b06443376379f113b0
* vim-patch:8.1.1832: win_execute() does not work in other tabjing2021-05-06
| | | | | | Problem: Win_execute() does not work in other tab. (Rick Howe) Solution: Take care of the tab. (closes vim/vim#4792) https://github.com/vim/vim/commit/820680b9ff1de8699156c7b060f97e5c0b87ad15
* vim-patch:8.1.1440: win_execute() test failsjing2021-05-06
| | | | | | Problem: Win_execute() test fails. Solution: Adjust the expected error number. Move to popup test. https://github.com/vim/vim/commit/2d247849ce612050ba1085df806746b23be1f0a3
* vim-patch:8.1.1425: win_execute() does not set window pointers properlyjing2021-05-06
| | | | | | | Problem: Win_execute() does not set window pointers properly. Solution: Use switch_win_noblock(). Also execute autocommands in a popup window. https://github.com/vim/vim/commit/89adc3a1371d211f7766f3dbc0975ecb2f862327
* vim-patch:8.1.1418: win_execute() is not implemented yetjing2021-05-06
| | | | | | Problem: Win_execute() is not implemented yet. Solution: Implement it. https://github.com/vim/vim/commit/868b7b6712ea4f2232eeeae18c5cbbbddf2ee84d
* Merge pull request #14435 from michaelb/doc_missing_nvim_open_termThomas Vigouroux2021-04-24
|\ | | | | doc : fixing missing @return in nvim_open_term doc
| * doc : fixing missing @return in nvim_open_term docMichael Bleuez2021-04-24
|/
* Merge pull request #14429 from ckipp01/forceMichael Lingelbach2021-04-23
|\ | | | | [LSP] - Don't automatically force shutdown on second restart.
| * Don't automatically force shutdown on second restart.ckipp012021-04-23
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is maybe a bit of a niche case, but I hit on this often as I'm developing a server, and therefore continually restarting it to get the latest changes of the server. Previously, I could only do this once since if you send in a request to restart/shut down the server, it will register it as a `tried_graceful_shutdown = true` meaning that the next restart would force it to be killed instead of another graceful exit. Instead, this changes the name a bit and now it will only mark `graceful_shutdown_failed = true` _if_ it actually fails to gracefully shutdown. This change allows for a user to restart multiple times in a situation like mine where nothing is going wrong, but I just want to restart continually as I'm developing without having to close and reopen.
* | lsp: make tagstack smarter motion-wise (#12262)Gabriel Sanches2021-04-23
| | | | | | | | | | | | | | | | | | | | | | This commit prevents two things regarding the tagstack and jumping to locations: - Pushing the same item twice in a row - Pushing an item where the destination is the same as the source Both prevent having to press CTRL-T additional times just to pop items that don't make the cursor move.
* | Merge pull request #14432 from mjlbach/revert_14428Michael Lingelbach2021-04-23
|\ \ | | | | | | Revert "lsp: fix blocking in closing of clients"
| * | Revert "lsp: fix blocking in closing of clients"Michael Lingelbach2021-04-23
|/ / | | | | | | | | | | | | | | This reverts commit 2e6c09838f88803f31d229002715628639631897. * Fixes #14428 * This commit caused neovim to close while open handles to the uv timer to kill active language servers were still open
* | lsp: check if config is nilMarco Hinz2021-04-23
| |
* | lsp: sort diagnostics by severity (#14372)Marco Hinz2021-04-23
|/ | | | | | | | | | | | Allow to sort diagnostics (and thus signs and virtual text) by severity, so that the most important message is shown first. vim.lsp.handlers['textDocument/publishDiagnostics'] = vim.lsp.with( vim.lsp.diagnostic.on_publish_diagnostics, { severity_sort = true, } ) Fixes https://github.com/neovim/neovim/issues/13929
* vim-patch:8.2.2776: :mksession uses current value of 'splitbelow' and ↵Jan Edmund Lazo2021-04-22
| | | | | | | | | | | | 'splitright' (#14398) Problem: :mksession uses current value of 'splitbelow' and 'splitright' even though "options" is not in 'sessionoptions'. (Maxim Kim) Solution: Save and restore the values, instead of setting to the current value. (closes vim/vim#8119) https://github.com/vim/vim/commit/0995c81f2ffe276669daa004f7778ecc6f5ee09d Patch v8.2.1682 is not ported. Replace "goto fail;" with "return FAIL;".
* lua: make vim.cmd an alias of vim.api.nvim_exec() (#14401)Shadman2021-04-22
| | | | | Previously vim.cmd was an alias of nvim_command(). From now on it is an alias of nvim_exec().
* Merge pull request #14411 from seandewar/vim-8.2.1588Jan Edmund Lazo2021-04-21
|\ | | | | vim-patch:8.2.1588 - port `prompt_getprompt()`
| * fix(oldtest): fix assert_match() for :buffers tSean Dewar2021-04-21
| | | | | | | | | | Previous pattern could cause test to fail if ":buffers t" reported "1 second ago".
| * vim-patch:8.2.1588: cannot read back the prompt of a prompt bufferSean Dewar2021-04-21
| | | | | | | | | | | | | | | | | | Problem: Cannot read back the prompt of a prompt buffer. Solution: Add prompt_getprompt(). (Ben Jackson, closes vim/vim#6851) https://github.com/vim/vim/commit/077cc7aa0e0c431e97795612374fe17fe7c88803 Updated prompt_getprompt() doc to https://github.com/vim/vim/commit/cb80aa2d53e56d3aba3b3c439fb467f29a750c5e and removed mention of method syntax usage (not supported by Nvim).
| * oldtest: port test_prompt_buffer.vimSean Dewar2021-04-21
| | | | | | | | | | Included from before v8.2.1588. Required for v8.2.1588. Many tests use stuff like term_sendkeys() which is N/A, so are skipped.
| * eval: port tv_get_buf_from_arg()Sean Dewar2021-04-21
| | | | | | | | | | | | | | | | Cherry-picked from v8.2.1562, but uses Nvim's tv_check_str_or_nr(). Required for v8.2.1588. It isn't used for f_bufnr() to avoid a double error message if the first argument isn't a number or string similiar to what's seen in Vim.
* | Merge pull request #14417 from jamessan/ci-updateMarco Hinz2021-04-21
|\ \ | | | | | | GHA updates
| * | ci(gha/release): Enable "contents: write" permission to publish releaseJames McCoy2021-04-21
| | |
| * | ci(gha/win): Specify valid directory for DEPS_BUILD_DIRJames McCoy2021-04-21
| | |
| * | ci(gha): Simplify clang installationJames McCoy2021-04-21
| | |
| * | ci(gha): Update to clang-12James McCoy2021-04-21
| | |
* | | api: fix nvim_exec() silencing behaviour (#14413)Shadman2021-04-21
| | | | | | | | | | | | | | | Previously nvim_exec would silent output no matter whether output is true or false. Now output is only silent and captured when output is true.
* | | gitignore: add vim patches (#14412)Shadman2021-04-21
|/ /
* | win/package: update wintools.zip (#14408)Jan Edmund Lazo2021-04-20
| | | | | | | | | | This does not have 7za.exe and tidy.exe. Ref: https://github.com/neovim/neovim/issues/14078
* | win/package: remove cat,tidy (#14402)Jan Edmund Lazo2021-04-20
|/ | | | | | | | | | | Neovim should not bundle external tools that are not needed in the runtime environment. cat.exe is meant for tests only. Install a mingw/msys2/busybox environment which bundle cat.exe. tidy.exe was never used in tests and is not required in Neovim runtime. busybox and tidy.exe can be installed via scoop. Ref: https://github.com/neovim/neovim/issues/14078
* Merge pull request #14180 from oberblastmeister/lsp_exit_perfMichael Lingelbach2021-04-19
|\ | | | | fix slow closing of lsp clients when exiting vim
| * lsp: fix blocking in closing of clientsBrian Shu2021-04-19
| |
* | README.md: remove part of Install from source (#14368)erw72021-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | The entry "To skip bundled (third-parth/*) dependencies:" contains inappropriate content. - Lack of description of lua-luv-dev. - Lack of description of libtree-sitter-dev. - Contains libutf8proc-dev, which is no longer needed. - The package libvterm-dev is out of date and probably unusable. Therefore, it is not possible to build according to this description. Also, there are only descriptions for Debian and Ubuntu. For these reasons, this item will be deleted.
* | Merge pull request #12323 from da-x/orphaned-signsMatthieu Coudron2021-04-18
|\ \ | | | | | | Handle 'orphaned signs' on line deletion for signcolumn >= 2
| * | test_signs.vim: adjust for sign removal on line deletionDan Aloni2021-04-17
| | |
| * | Handle 'orphaned signs' on line deletion for signcolumn >= 2Dan Aloni2021-04-17
| | |
* | | vim-patch:8.2.2773: PSL filetype not recognized (#14389)Jan Edmund Lazo2021-04-17
| | | | | | | | | | | | | | | Problem: PSL filetype not recognized. Solution: Add a filetype pattern. (Daniel Kho, closes vim/vim#8117) https://github.com/vim/vim/commit/112a006417a0d4700ff39ddba3bb5e985ae9770f
* | | Merge pull request #14385 from chentau/extmark_deleteBjörn Linse2021-04-17
|\ \ \ | | | | | | | | Extmarks: remove `curbuf->deleted_bytes2` from `op_delete`
| * | | extmarks: remove curbuf->deleted_bytes2 from op_deletechentau2021-04-16
| | | |
* | | | Merge pull request #14365 from chentau/extmark_delbytes_moveBjörn Linse2021-04-17
|\ \ \ \ | |_|/ / |/| | | Extmarks: flush curbuf->deleted_bytes2 after calling do_move
| * | | flush curbuf->deleted_bytes2 after calling do_movechentau2021-04-14
| |/ /
* | | Merge pull request #13684 from pohzipohzi/inputBjörn Linse2021-04-16
|\ \ \ | | | | | | | | doc: add description for cancelreturn option in input()
| * | | doc: add description for cancelreturn option in input()pohzipohzi2021-04-08
| | | |
* | | | Merge pull request #14355 from janlazo/vim-8.1.2313Jan Edmund Lazo2021-04-15
|\ \ \ \ | | | | | | | | | | vim-patch:8.1.2313,8.2.{2046,2769}
| * | | | vim-patch:8.2.2769: Modula-3 config files are not recognizedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Modula-3 config files are not recognized. Solution: Add filetype patterns. (Doug Kearns) https://github.com/vim/vim/commit/6bc00699c5049c40761d212bef1b490e2af7944c
| * | | | vim-patch:8.1.2313: debugging where a delay comes from is not easyJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Debugging where a delay comes from is not easy. Solution: Use different values when calling ui_delay(). https://github.com/vim/vim/commit/eda1da0c9a8db1400649629117e7d248c07735f7
| * | | | vim-patch:8.2.2046: some test failures don't give a clear errorJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Some test failures don't give a clear error. Solution: Use assert_match() and assert_fails() instead of assert_true(). (Ken Takata, closes vim/vim#7368) https://github.com/vim/vim/commit/5dc4e2f883896c99ebe83355822ac6067970b031
* | | | | Merge pull request #14367 from janlazo/vim-8.2.2046Jan Edmund Lazo2021-04-15
|\ \ \ \ \ | |/ / / / |/| | | | vim-patch:8.2.{265,2761,2764}
| * | | | vim-patch:8.2.2764: memory leak when default function argument is allocatedJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Memory leak when default function argument is allocated. Solution: Free the expression result. https://github.com/vim/vim/commit/b47bed2f7ada4dfae78f76f27473b83507e40315