aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* tests: floating windows terminate border on edge of viewport when window ↵Michael Lingelbach2021-05-04
| | | | extends past viewport
* window.c: fix floating window border width calculationMichael Lingelbach2021-05-03
| | | | | | * lift calculation of w_border_adj into win_config_float * Check max floating window height and width against w_{height,width}_outer when positioning window
* 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
| * | | | vim-patch:8.2.2761: using "syn include" does not work properlyJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Using "syn include" does not work properly. Solution: Don't add current_syn_inc_tag to topgrp. (Jaehwang Jerry Jung, closes vim/vim#8104) https://github.com/vim/vim/commit/2e240bd428c0033d16f201d7f837636412358199 Cherry-pick AssertHighlightGroups from patch v8.2.2068.
| * | | | vim-patch:8.2.0265: "eval" after "if 0" doesn't check for following commandJan Edmund Lazo2021-04-15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: "eval" after "if 0" doesn't check for following command. Solution: Add "eval" to list of commands that check for a following command. (closes vim/vim#5640) https://github.com/vim/vim/commit/a76b31542e1d83b7d2fe7378439912e800a4d0f6
| * | | | ex_cmds: port :evalJan Edmund Lazo2021-04-15
|/ / / / | | | | | | | | | | | | | | | | Cherry-picked from patch v8.1.1807. Required for patch v8.2.2761.
* | | | Merge pull request #14370 from oberblastmeister/lsp_buf_request_syncMichael Lingelbach2021-04-15
|\ \ \ \ | | | | | | | | | | refactor lsp_buf_request_sync to also have an async method
| * | | | lsp: add lsp.buf_request_all for invoking asynchronous callbacksBrian Shu2021-04-15
|/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fixed nil issue changed poll to 10 changed wording added docs to once comma english
* | | | Merge pull request #14364 from mhinz/gitignore-vim-srcThomas Vigouroux2021-04-15
|\ \ \ \ | | | | | | | | | | gitignore: handle case where .vim-src is a symlink
| * | | | gitignore: handle case where .vim-src is a symlinkMarco Hinz2021-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I build Vim and Nvim from source and have both repos cloned locally. To prevent vim-patch.sh from downloading the Vim source once again to /.vim-src/, I usually use a symlink pointing to the already existing Vim repo. The pattern "/.vim-src" works for both, a directory or a symlink.
* | | | | tests/functional: delete temp file created during test run (#14363)Raymond W. Ko2021-04-14
| | | | |
* | | | | Merge pull request #14358 from bfredl/decodecoBjörn Linse2021-04-15
|\ \ \ \ \ | | | | | | | | | | | | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flag
| * | | | | decoration: Clean up duplicate Decoration attributes + bonus hl_eol flagBjörn Linse2021-04-14
| | | | | |
* | | | | | Merge pull request #14366 from mfussenegger/text-document-version-zeroMichael Lingelbach2021-04-14
|\ \ \ \ \ \ | |_|_|_|/ / |/| | | | | lsp: Accept text document edits with version zero
| * | | | | lsp: Remove vim.NIL handling from apply_text_document_editMathias Fussenegger2021-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The rpc layer normalizes `vim.NIL` to `nil`, so the scenario tested should never happen.
| * | | | | lsp: Accept text document edits with version zeroMathias Fussenegger2021-04-14
|/ / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were a couple of reports of "Buffer X newer than edits" problems. We first assumed that it is incorrect for a server to send 0 as a version - and stated that they should send a `null` instead, given that in the specification the `textDocument` of a `TextDocumentEdit` is a `OptionalVersionedTextDocumentIdentifier`. But it turns out that this was a change in 3.16, and in 3.15 and earlier versions of the specification it was a `VersionedTextDocumentIdentifier` and language servers didn't have a better option than sending `0` if they don't keep track of the version numbers. So this changes the version check to always accept `0` values. See - https://github.com/neovim/neovim/issues/12970 - https://github.com/neovim/neovim/issues/14256 - https://github.com/haskell/haskell-language-server/pull/1727
* | | | | doc: prefer "python -m pip" (#14353)Aru Sahni2021-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current guidance for install Python packages is to use python -m pip install <package_name> Instead of pip install <package_name> This ensures that one is using the version of pip that is tied to the environment's interpreter (and, thusly, its packages). This has [been endorsed by a core maintainer](https://snarky.ca/why-you-should-use-python-m-pip/) as being the recommended way to invoke pip. As there currently are a few places where the old invocation was used, attempt to bring them in line. Fixes #14234
* | | | | doc: port prompt-buffer section (#14342)Sean Dewar2021-04-14
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [skip ci] Changes from original include: - "See |terminal-window|" -> "See |terminal|". - Remove mention of using CTRL-W window commands in insert mode. - Converted usage example to use the Nvim job and channel API. - Removed logging from usage example, as ch_logfile() has no direct Nvim counterpart. - Fixed some small grammar/spelling mistakes.
* | | | lsp: fix _make_floating_popup_size when wrap_at is nil (#14359)Michael Lingelbach2021-04-14
| | | |
* | | | Merge pull request #14046 from ↵Thomas Vigouroux2021-04-14
|\ \ \ \ | | | | | | | | | | | | | | | | | | | | nvim-treesitter/feature/language-tree-directive-config feat(treesitter): allow injections to be configured through directives
| * | | | feat(treesitter): allow injections to be configured through directivesSteven Sojka2021-04-02
| | | | |
* | | | | lsp: fix off-by-one in line diagnostic highlightingMarco Hinz2021-04-14
| | | | |
* | | | | Merge pull request #14119 from mfussenegger/lsp-debounceMichael Lingelbach2021-04-13
|\ \ \ \ \ | | | | | | | | | | | | lsp: Add a flag to debounce didChange notifications
| * | | | | lsp: Add a flag to debounce didChange notificationsMathias Fussenegger2021-04-13
| | | | | | | | | | | | | | | | | | | | | | | | Would help with cases as reported in https://github.com/neovim/neovim/issues/14087
* | | | | | Merge pull request #14324 from mhinz/lsp-border-float-placementMarco Hinz2021-04-13
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | lsp: correct float placement when using bordersMarco Hinz2021-04-12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Because borders add up to 2 to the height of a float, we need to subtract that from the anchor position, when opening a float in the lower half of the window.
| * | | | | lsp: make sure borders are always inside of the screenMarco Hinz2021-04-12
| | |/ / / | |/| | | | | | | | | | | | | | | | | | Add a helper function to get the additional width a border adds to a float to make sure that the border is always inside the visible screen.
* | | | | Merge pull request #14318 from chentau/extmark_luadoBjörn Linse2021-04-13
|\ \ \ \ \ | | | | | | | | | | | | extmark: splice extmarks on :luado
| * | | | | extmark: splice extmarks on :luadochentau2021-04-12
| | | | | |
* | | | | | tutor: force one sign per line (#14352)Marco Hinz2021-04-13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The only thing setting signs in the tutor buffer (buftype=nofile), should be tutor.vim itself. Instead of endlessly piling up new signs per line, just unplace any sign on the line before placing a new one. Closes https://github.com/neovim/neovim/issues/13808 Closes https://github.com/neovim/neovim/pull/13809
* | | | | | float: add "solid" border style (#14310)Marco Hinz2021-04-12
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | It looks solid with the default `FloatBorder` group. If you set the bgcolor of FloatBorder to the same color as for FloatNormal, you effectively get an "1-cell padding".
* | | | | Merge pull request #14337 from janlazo/vim-8.2.0409Jan Edmund Lazo2021-04-11
|\ \ \ \ \ | | | | | | | | | | | | vim-patch:8.1.{1841,2416},8.2.{409,1920,2050}