aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* feat: trigger ModeChanged for terminal modesMagnus Groß2021-11-18
|
* vim-patch:8.2.3555: ModeChanged is not triggered on every mode changeMagnus Groß2021-11-18
| | | | | | Problem: ModeChanged is not triggered on every mode change. Solution: Also trigger on minor mode changes. (Maguns Gross, closes vim/vim#8999) https://github.com/vim/vim/commit/25def2c8b8bd7b0c3d5f020207c717a880b05d50
* vim-patch:8.2.3463: pattern matching with ModeChanged not testedMagnus Groß2021-11-18
| | | | | | Problem: Pattern matching with ModeChanged not tested. Solution: Add a few more test lines. (issue vim/vim#8856) https://github.com/vim/vim/commit/72d2fa69e56dd0e61eac87a9c3b79cd89d47cdd9
* vim-patch:8.2.3462: ModeChanged only uses one character for new_mode and ↵Magnus Groß2021-11-18
| | | | | | | | | old_mode Problem: The ModeChanged event only uses one character for the new_mode and old_mode values. Solution: Pass one as first argument to mode(). (issue vim/vim#8856) https://github.com/vim/vim/commit/d85931e67316e824878000d0ead122553ccef3a4
* vim-patch:8.2.3430: no generic way to trigger an autocommand on mode changeMagnus Groß2021-11-18
| | | | | | | | | | | | | | | | | Problem: No generic way to trigger an autocommand on mode change. Solution: Add the ModeChanged autocommand event. (Magnus Gross, closes vim/vim#8856) https://github.com/vim/vim/commit/f1e8876fa2359b572d262772747405d3616db670 N/A patches for version.c: vim-patch:8.2.3434: function prototype for trigger_modechanged() is incomplete Problem: Function prototype for trigger_modechanged() is incomplete. Solution: Add "void". https://github.com/vim/vim/commit/28e591dd5080bbcd0f468f9d9597cedb716e28c9 Fixes #4399. Fixes #7416.
* 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
| * | vim-patch:8.2.3600: filetype test failsChristian Clason2021-11-16
| | | | | | | | | | | | | | | | | | Problem: Filetype test fails. Solution: Add missint change. https://github.com/vim/vim/commit/314b773abbb9b1ce0020d83482c6daf7ad6a42a2
| * | vim-patch:8.2.3599: not all gdbinit files are recognizedChristian Clason2021-11-16
| | | | | | | | | | | | | | | | | | Problem: Not all gdbinit files are recognized. Solution: Add "gdbinit". (Doug Kearns) https://github.com/vim/vim/commit/782b4bbc163e03ebe98d25bc62b9d82cba8f91a1
| * | vim-patch:8.2.3598: RouterOS filetype is not recognizedChristian Clason2021-11-15
|/ / | | | | | | | | | | Problem: RouterOS filetype is not recognized. Solution: Add file and script patterns. (closes vim/vim#9097) https://github.com/vim/vim/commit/0818ab82e7058145366ebbe759f0b3f74724bdfd
* / fix(lsp): fix edge cases in incremental sync (#16308)Michael Lingelbach2021-11-15
|/
* Merge pull request #16047 from mcepl/vim-8.2.3520Jan Edmund Lazo2021-11-14
|\ | | | | vim-patch:8.2.3520: cannot define a function for thesaurus completion
| * vim-patch:8.2.3528: 'thesaurus' and 'thesaurusfunc' do not have the same scopeMatěj Cepl2021-11-06
| | | | | | | | | | | | Problem: 'thesaurus' and 'thesaurusfunc' do not have the same scope. Solution: Make 'thesaurusfunc' global-local. https://github.com/vim/vim/commit/f4d8b76d304dabc39c06d2344cd4c7b28484811b
| * vim-patch:8.2.3525: option variable name does not match option nameMatěj Cepl2021-10-24
| | | | | | | | | | | | | | Problem: Option variable name does not match option name. (Christ van Willigen) Solution: Rename the variable. https://github.com/vim/vim/commit/d4c4bfa0078a959ff90ef30288fd31d9d38f23d7
| * vim-patch:8.2.3521: options completion test failsMatěj Cepl2021-10-23
| | | | | | | | | | | | Problem: Options completion test fails. Solution: Add 'thesaurusfunc' to the results. https://github.com/vim/vim/commit/abdcfd1c837e244065d4fe04c7a78abae5af3f7e
| * vim-patch:8.2.3520: cannot define a function for thesaurus completionMatěj Cepl2021-10-23
| | | | | | | | | | | | | | Problem: Cannot define a function for thesaurus completion. Solution: Add 'thesaurusfunc'. (Yegappan Lakshmanan, closes vim/vim#8987, closes 8950) https://github.com/vim/vim/commit/160e994d768d03a3c826b58115cde94df8fce607
* | feat(diagnostic): add 'prefix' option to open_float (#16321)Gregory Anders2021-11-14
| | | | | | | | The 'prefix' option accepts a function or a string that is used to add a prefix string to each diagnostic displayed in the floating window.
* | Merge pull request #16316 from bfredl/macromanBjörn Linse2021-11-14
|\ \ | | | | | | refactor(macros): delete multibyte macros which just are aliases
| * | refactor(macroman): get rid of MB_COPY_CHAR macroBjörn Linse2021-11-14
| | | | | | | | | | | | clean up docs for MB_PTR_ADV and MB_PTR_BACK
| * | refactor(macros): delete multibyte macros which just are aliasesBjörn Linse2021-11-14
|/ /
* | Merge pull request #16317 from jamessan/remove-32bit-windows-ciJames McCoy2021-11-14
|\ \ | | | | | | ci!: remove win32 builds/releases
| * | ci!: remove win32 builds/releasesJames McCoy2021-11-14
|/ /
* | Merge pull request #16315 from bfredl/multibytesBjörn Linse2021-11-14
|\ \ | | | | | | refactor(multibyte): eliminate mb_* aliases for utf_* functions
| * | refactor(multibyte): eliminate mb_char2len alias for utf_char2lenBjörn Linse2021-11-14
| | |
| * | refactor(multibyte): eliminate mb_ptr2len alias for utfc_ptr2lenBjörn Linse2021-11-14
| | |
| * | refactor(multibyte): eliminate mb_char2cells alias for utf_char2cellsBjörn Linse2021-11-14
| | |
* | | fix(lsp): ensure buffers are re-attached on rename (#16266)Mathias Fußenegger2021-11-14
|/ / | | | | | | | | | | | | | | | | If a LSP server sent a workspace edit containing a rename the buffers file name changed without the server receiving a close notification for the old buffer and without the client properly re-attaching on the new file. This affected `Move` code-actions in nvim-jdtls, but also `vim.lsp.buf.rename` on a class level.
* | chore: disable creating a blank issueChristian Clason2021-11-11
| |
* | fix(float): skip non-focusable windows for :windo (#15378)Daniel Steinberg2021-11-11
| |
* | fix(docs): add sync.lua to gen_vimdoc (#16285)Michael Lingelbach2021-11-11
| |
* | Merge pull request #16276 from zeertzjq/channel-closed-term-errorBjörn Linse2021-11-11
|\ \ | | | | | | Fixes and tests for sending to terminal channel whose terminal has been deleted
| * | test: add tests for freeing channel opened by termopen()zeertzjq2021-11-11
| | | | | | | | | | | | This indirectly covers #16264
| * | fix(channel): fix channels opened by nvim_open_term() never being freedzeertzjq2021-11-11
| | |
| * | fix(channel): throw error if sending to internal channel w/o terminalzeertzjq2021-11-11
| | | | | | | | | | | | | | | Prevent SIGABRT when sending to a channel created by nvim_open_term() after the associated terminal has been deleted.
* | | fix(lsp): gracefully handle nil workspaceFolders (#16284)Michael Lingelbach2021-11-11
|/ / | | | | * handle when workspaceFolder is nil in buf.list_workspace_folders and buf.add_workspace_folder
* | fix(terminal): free terminal if close_buffer() closes a closed terminal (#16264)zeertzjq2021-11-10
| | | | | | | | | | | | | | Use the (currently unused) 'destroy' field of the terminal struct as a flag to indicate that the terminal's destruction is imminent (and therefore it's close callback should not be called again). Co-authored-by: Gregory Anders <greg@gpanders.com>
* | fix(lsp): rewrite incremental sync (#16252)Michael Lingelbach2021-11-09
| | | | | | | | | | | | * use codeunits/points instead of byte ranges when applicable * take into account different file formats when computing range and sending text (dos, unix, and mac supported) * add tests of incremental sync
* | feat(diagnostic): do not require namespace for hide() and show() (#16261)Gregory Anders2021-11-09
| | | | | | | | | | | | | | Also fix a few other small bugs regarding saving and restoring extmarks. In particular, now that the virtual text and underline handlers have their own dedicated namespaces, they should be responsible for saving and restoring their own extmarks. Also fix the wrong argument ordering in the call to `clear_diagnostic_cache` in the `on_detach` callback.