aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
...
| * | | | | fix(diagnostic): clamp line numbers in setqflist and setloclistGregory Anders2021-11-19
| | | | | |
| * | | | | fix(diagnostic): fix navigation with diagnostics placed past end of lineGregory Anders2021-11-19
| | | | | |
| * | | | | fix(diagnostic): deepcopy diagnostics before clamping line numbersGregory Anders2021-11-19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The current 'clamp_line_numbers' implementation modifies diagnostics in place, which can have adverse downstream side effects. Before clamping line numbers, make a copy of the diagnostic. This commit also merges the 'clamp_line_numbers' method into a new 'get_diagnostics' local function which also implements the more general "get" method. The public 'vim.diagnostic.get()' API now just uses this function (without clamping). This has the added benefit that other internal API functions that need to use get() no longer have to go through vim.validate. Finally, reorganize the source code a bit by grouping all of the data structures together near the top of the file.
* | | | | | vim-patch:8.2.3255: ci" finds following string but ci< and others don't (#16324)Michal Liszcz2021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: ci" finds following string but ci< and others don't. Solution: When not inside an object find the start. (Connor Lane Smit, closes vim/vim#8670) https://github.com/vim/vim/commit/b9115da4bec5e6cfff69da85cc47c42dd67e42e4
* | | | | | vim-patch:8.1.1606: on a narrow screen ":hi" output is confusing (#16388)Volodymyr Kot2021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: On a narrow screen ":hi" output is confusing. Solution: Insert a space between highlight group name and "xxx". (Masato Nishihaga, closes vim/vim#4599) https://github.com/vim/vim/commit/548be7f126dc57ca861cb26dc6492c3b2a9e2c99
* | | | | | vim-patch:8.2.3638: getcompletion() always passes zero as position (#16387)ii142021-11-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: getcompletion() always passes zero as position to custom completion function. Solution: Pass the pattern length. (closes vim/vim#9173) https://github.com/vim/vim/commit/4785fe02bba14c4e0aede0fa425ca790a1cb98d7 Co-authored-by: ii14 <ii14@users.noreply.github.com>
* | | | | | fix(lsp): send buffer contents joined on fileformat-specific linebreak (#16334)Dmytro Meleshko2021-11-21
| | | | | |
* | | | | | chore(lsp): clean up initialization process (#16369)Michael Lingelbach2021-11-21
| |_|/ / / |/| | | | | | | | | | | | | | | | | | | * send vim.NIL instead of not sending workspaceFolders * read fallback rootPath and rootUri from workspaceFolders * update documentation
* | | | | Merge pull request #14540 from Shougo/fix_vim8.1.1378Jan Edmund Lazo2021-11-20
|\ \ \ \ \ | | | | | | | | | | | | [RFC] Improve tests
| * | | | | fix: remove unneeded gzip checkShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: errorShougo Matsushita2021-11-19
| | | | | |
| * | | | | test: save clipboardShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: shell problemShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: fix GZIP errorShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: remove unnecessary changesShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: for reviewsShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: disable clipboard when test registersShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: remove previous executed directories to execute tests locallyShougo Matsushita2021-11-19
| | | | | |
| * | | | | fix: add cd for local executionShougo Matsushita2021-11-19
| | | | | |
| * | | | | vim-patch:8.2.3616: arglist test does not clear the argument list consistentlyShougo Matsushita2021-11-19
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | Problem: Arglist test does not clear the argument list consistently. Solution: Call Reset_arglist(). (Shougo Matsushita, closes vim/vim#9154) https://github.com/vim/vim/commit/3cad47038547e694cfa26ba39c399f610d2054bd
* | | | | vim-patch:8.1.0753: printf format not checked for semsg() (#16378)Volodymyr Kot2021-11-20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: printf format not checked for semsg(). Solution: Add GNUC attribute and fix reported problems. (Dominique Pelle, closes vim/vim#3805) https://github.com/vim/vim/commit/b5443cc46dd1485d6c785dd8c65a2c07bd5a17f3 (Most of the changes do not apply because Neovim already uses PRId64 and other spelling mistakes were already fixed.)
* | | | | refactor: saner options for uncrustify (#16204)dundargoc2021-11-19
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sp_enum_after_assign = force * sp_brace_typedef = force * nl_do_brace = remove * sp_do_brace_open = force * sp_brace_close_while = force * sp_before_semi = remove * sp_before_semi_for = remove * sp_before_semi_for_empty = remove * sp_between_semi_for_empty = remove * sp_after_semi_for_empty = remove * sp_before_square = remove * sp_before_squares = remove * sp_inside_square = remove * sp_inside_fparens = remove * sp_inside_fparen = remove * sp_inside_tparen = remove * sp_after_tparen_close = remove * sp_return_paren = force * pos_bool = lead * sp_pp_concat = remove * sp_pp_stringify = remove * fixup: disable formatting for the INIT section
* | | | Merge pull request #16066 from neovim/marvim/ci-version-updateJames McCoy2021-11-19
|\ \ \ \ | | | | | | | | | | version.c: update [skip ci]
| * | | | version.c: update [skip ci]marvim2021-11-19
| |/ / /
* | | | Merge pull request #16091 from neovim/marvim/api-doc-update/masterJames McCoy2021-11-19
|\ \ \ \ | | | | | | | | | | docs: regenerate
| * | | | docs: regeneratemarvim2021-11-18
| |/ / /
* / / / fix(eval): fixup for empty modifier in fnamemodify (#16368)Christian Clason2021-11-19
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix(eval): fixup for empty modifier in fnamemodify https://github.com/neovim/neovim/commit/1dbbaf89bf5d3bcd1edac3af9938c2e2dd18f816 erroneously removed a check for empty modifier and a PVS fix. Restore that check and fix. Fixes #16367 Co-authored-by: zeertzjq <zeertzjq@outlook.com>
* | | fix(lsp): improve incremental sync robustness (#16358)Michael Lingelbach2021-11-18
| | | | | | | | | | | | | | | closes https://github.com/neovim/neovim/issues/16352 * improve handling of multi-byte deletions
* | | fix(uri): use valid EmmyLua annotations (#16359)Mathias Fußenegger2021-11-18
| | | | | | | | | | | | | | | | | | See: - https://emmylua.github.io/annotations/param.html - https://emmylua.github.io/annotations/return.html
* | | Merge pull request #16356 from clason/bump-luarocksJames McCoy2021-11-18
|\ \ \ | | | | | | | | build(deps): bump luarocks to 3.8.0
| * | | build(deps): bump luarocks to 3.8.0Christian Clason2021-11-18
| | | |
* | | | fix(diagnostic): don't use nil col if missing from qflist (#16357)Gregory Anders2021-11-18
| | | | | | | | | | | | | | | | | | | | If the quickfixlist item doesn't contain a column it is reported as 0. Rather than using a nil value in such a case (which breaks diagnostics elsewhere), just keep the 0 value.
* | | | Merge pull request #16355 from mjlbach/fix/docgen-againGregory Anders2021-11-18
|\ \ \ \ | |/ / / |/| | |
| * | | docs: mark tagfunc.lua methods as privateGregory Anders2021-11-18
| | | |
| * | | fix(docgen): add tagfunc.luaMichael Lingelbach2021-11-18
|/ / /
* | / feat(lsp): add tagfunc (#16103)Michael Lingelbach2021-11-18
| |/ |/|
* | vim-patch:01164a6546b4 (#16335)zeertzjq2021-11-17
| | | | | | missing changes to src/nvim/po/check.vim from https://github.com/vim/vim/commit/01164a6546b4c635daf96a1f17d1cb2d07f32a66#diff-ed3e88d59856bb5b62b2a394fb8c7293cd5794531e0718c0aa2d3d768d7973d1
* | vim-patch:8.2.3593: directory is wrong after executing "lcd" with ↵zeertzjq2021-11-17
| | | | | | | | | | | | | | | | win_execute() (#16314) Problem: Directory is wrong after executing "lcd" with win_execute(). Solution: Correct the directory when going back to the original window. (closes vim/vim#9132) https://github.com/vim/vim/commit/7f13b24ab6aca808262e68680d8fe5f082670ebd
* | vim-patch:8.2.3591: no event is triggered when closing a window (#16306)zeertzjq2021-11-17
| | | | | | | | | | | | | | | | Problem: No event is triggered when closing a window. Solution: Add the WinClosed event. (Naohiro Ono, closes vim/vim#9110) https://github.com/vim/vim/commit/23beefed73aadb243fb67cf944e3d60fe8c038bb Nvim has already implemented this feature, so this only changes tests and docs.
* | vim-patch:8.2.3522: cannot use \x and \u when setting 'listchars' (#16049)zeertzjq2021-11-17
| | | | | | | | | | Problem: Cannot use \x and \u when setting 'listchars'. Solution: Support hex and unicode in hex form. (closes vim/vim#9006) https://github.com/vim/vim/commit/93ff6720fe4427341bc426b6d46e6324f226c270
* | fix(lsp): change signature of buf_highlight_references (#16345)Michael Lingelbach2021-11-17
| | | | | | | | | | the prior signature did not assume an active language client this function can now be used directly by passing an offset encoding defaults to utf-16 (standard for LSP)
* | vim-patch:519cc559b08b (#16340)Christian Clason2021-11-17
|/ | | | Update runtime files https://github.com/vim/vim/commit/519cc559b08b800edc429688aece7ad6a00d41eb
* refactor: reduce number of explicit char casts (#16077)dundargoc2021-11-16
| | | * refactor: reduce number of explicit char casts
* vim-patch:8.2.3604: not all sudoers files are recognized (#16338)Christian Clason2021-11-16
| | | | | Problem: Not all sudoers files are recognized. Solution: Add a file pattern. (Doug Kearns, closes vim/vim#1192) https://github.com/vim/vim/commit/c143fa0778fa0d8744867318bb7f7a2e63cf37d7
* vim-patch:8.2.3603: fish filetype not recognized (#16337)Christian Clason2021-11-16
| | | | | Problem: Fish filetype not recognized. Solution: Add a file pattern and match script line. (Doug Kearns) https://github.com/vim/vim/commit/b1b163efd7bb3ca68cce101d4e431559d2944a8e
* Merge pull request #16328 from gpanders/diagnostic-prefix-hiGregory Anders2021-11-16
|\
| * refactor(diagnostic)!: rename 'show_header' to 'header'Gregory Anders2021-11-15
| | | | | | | | | | | | Rename the `show_header` option in `open_float` to simply `header` and allow users to specify both the header string as well as the highlight group.
| * feat(diagnostic): allow 'prefix' option to return highlightGregory Anders2021-11-15
| | | | | | | | | | Extend the 'prefix' option for `open_float` to also provide an optional highlight group for the prefix string.
* | refactor(diagnostic): make bufnr arguments consistent (#16323)Gregory Anders2021-11-16
| | | | | | | | | | | | | | Make the bufnr argument have similar semantics across API functions; namely, a nil value means "all buffers" while 0 means "current buffer". This increases the flexibility of the API by allowing functions such as enable() and disable() to apply globally or per-namespace, rather than only on a specific buffer.
* | Merge pull request #16330 from clason/vim-8.2.3598Christian Clason2021-11-16
|\ \ | | | | | | vim-patch:8.2.3598,3599,3600: some filetypes are not recognized