aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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(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.
* fix(lsp): do not index nil client in progress (#16262)Michael Lingelbach2021-11-09
|
* docs: update description for 'list' option (#16254)dundargoc2021-11-08
| | | | Neovim has different defaults for 'list' compared to Vim which is why the documentation needs to be updated.
* vim-patch:partial 113cb513f76d (#16260)Christian Clason2021-11-08
| | | | | | | | | Update runtime files https://github.com/vim/vim/commit/113cb513f76d8866cbb6dc85fa18aded753e01da skip doc/eval.txt skip doc/insert.txt skip doc/user_06.txt (needs 8.2.3562) partial skip doc/syntax.txt (needs 8.2.3562)
* feat(ui): add vim.ui.input and use in lsp rename (#15959)Sebastian Lyng Johansen2021-11-07
| | | | | | * vim.ui.input is an overridable function that prompts for user input * take an opts table and the `on_confirm` callback, see `:help vim.ui.input` for more details * defaults to a wrapper around vim.fn.input(opts) * switches the built-in client's rename handler to use vim.ui.input by default
* fix(lsp): convert range to byte index before highlighting (#16218)elianiva2021-11-06
| | | | Co-authored-by: Mathias Fußenegger <mfussenegger@users.noreply.github.com> Co-authored-by: Michael Lingelbach <m.j.lbach@gmail.com>
* Merge pull request #16155 from zeertzjq/fix-redr-border-corruptionBjörn Linse2021-11-06
|\ | | | | fix(float): fix potential heap corruption in win_redr_border
| * fix(float): redraw if w_border_adj changedzeertzjq2021-10-28
| |
| * fix(float): fix potential heap corruption in win_redr_borderzeertzjq2021-10-28
| |
* | feat(lua): enable stack traces in error output (#16228)Gregory Anders2021-11-06
| |
* | fix(diagnostic): handle an unknown or missing client (#16242)Gregory Anders2021-11-05
| | | | | | | | | | | | | | Sometimes plugins use pseudo-client IDs (e.g. nvim-lint or null-ls) in order to hook into the LSP infrastructure without being a bona fide LSP client. In these cases, get_client_by_id() will return nil since the client ID given does not correspond to a real client recognized by the LSP subsystem. When this happens, use "unknown" for the client name.
* | Merge pull request #16241 from bfredl/disptickBjörn Linse2021-11-05
|\ \ | | | | | | fix(screen): make display_tick monotonic up to 2^64. fixes #16152
| * | fix(screen): make display_tick monotonic up to 2^64. fixes #16152Björn Linse2021-11-05
|/ / | | | | | | 18446744073709551616 screen redraws should be enough for everyone.
* | fix(tui): extend smglr ignores to smglp and smgrp (#16239)Jan Alexander Steffens2021-11-04
| | | | | | | | | | | | The latter were added for xterm by ncurses 6.3 and are similarly affected. Fixes https://github.com/neovim/neovim/issues/16238
* | fix(input): never reinterpret unmapped ALT- chrods in Terminal mode (#16222)zeertzjq2021-11-04
| |
* | fix(diagnostic): fix option resolution in open_float (#16229)Gregory Anders2021-11-04
| |
* | Merge pull request #16221 from glacambre/fix_13187James McCoy2021-11-03
|\ \ | | | | | | fix: remove double slash in sysinit path
| * | fix: remove double slash in sysinit pathglacambre2021-11-03
| | | | | | | | | | | | Closes https://github.com/neovim/neovim/issues/13187 .
* | | Merge pull request #16055 from doubleloop/config_dependsJames McCoy2021-11-03
|\ \ \ | |/ / |/| |
| * | build(install): rescan GLOB files on rebuildJakub Łuczyński2021-10-18
| | |
* | | docs(lsp): correct usage examples of formatexpr (#16216)Michael Lingelbach2021-11-02
| | |
* | | docs: mention replacement for deprecated vim.lsp.diagnostic.show_* (#16211)Christian Clason2021-11-02
| | |
* | | Merge pull request #16207 from jamessan/delete-release-tagJames McCoy2021-11-02
|\ \ \ | | | | | | | | ci(release): delete nightly/stable tag so release recreates it
| * | | ci(release): delete nightly/stable tag so release recreates itJames McCoy2021-11-02
|/ / / | | | | | | | | | | | | | | | | | | | | | Even though the releaes itself gets deleted, if the tag is not, then creating a new release just re-uses the same tag, even though we're using “--target <sha>”. [skip ci]
* | | Merge pull request #16203 from bfredl/revisionBjörn Linse2021-11-01
|\ \ \ | | | | | | | | fix(extmark): fix missing virt_lines when using id param of set_extmark
| * | | fix(extmark): fix missing virt_lines when using id param of set_extmarkBjörn Linse2021-11-01
|/ / /
* | | Merge pull request #16131 from jamessan/vim-8.1.0306James McCoy2021-11-01
|\ \ \
| * | | vim-patch:8.2.3561: cscope has a complicated way of giving an error messageJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Cscope has a complicated way of giving an error message. Solution: Use semsg(). (James McCoy, closes vim/vim#9038) https://github.com/vim/vim/commit/3c5904d2a5d7861c227a4c3cd4ddcbc51014c838
| * | | vim-patch:8.1.0783: compiler warning for signed/unsignedJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Compiler warning for signed/unsigned. Solution: Add type cast. Change type of buffer. (Ozaki Kiichi, closes vim/vim#3827) https://github.com/vim/vim/commit/63c0ccd2b68ce854f294e6f149cc700c7f543674
| * | | vim-patch:8.1.0779: argument for message functions is inconsistentJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Argument for message functions is inconsistent. Solution: Make first argument to msg() "char *". https://github.com/vim/vim/commit/32526b3c1846025f0e655f41efd4e5428da16b6c
| * | | vim-patch:8.1.0743: giving error messages is not flexibleJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem: Giving error messages is not flexible. Solution: Add semsg(). Change argument from "char_u *" to "char *", also for msg() and get rid of most MSG macros. (Ozaki Kiichi, closes vim/vim#3302) Also make emsg() accept a "char *" argument. Get rid of an enormous number of type casts. https://github.com/vim/vim/commit/f9e3e09fdc93be9f0d47afbc6c7df1188c2a5a0d
| * | | vim-patch:8.1.0306: plural messages are not translated properlyJames McCoy2021-11-01
| | | | | | | | | | | | | | | | | | | | | | | | Problem: Plural messages are not translated properly. Solution: Add more usage of NGETTEXT(). (Sergey Alyoshin) https://github.com/vim/vim/commit/da6e8919e75fa8f961d1b805e877c8a92e76dafb
* | | | refactor(api/marks)!: add opts param for feature extensibility (#16146)Javier Lopez2021-11-01
| | | | | | | | | | | | | | | | | | | | In the future we might want to extend the concept of named marks and adding opts reduces the need of changing the function signature in the furute.
* | | | fix(lsp): pass the enriched ctx to the client-side command (#16201)Nghia Le Minh2021-11-01
|/ / /
* | | Merge pull request #16198 from jamessan/limit-ci-branchesJames McCoy2021-11-01
|\ \ \ | | | | | | | | ci: limit CI checks to the main dev branches
| * | | ci: limit CI checks to the main dev branchesJames McCoy2021-10-31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that we have various GH actions creating branches in the main repo, using the generic '**' pattern for the CI workflow is just wasting CI time and leading to more queued jobs. [skip ci]
* | | | feat(lsp): add per-client commands (#16101)Michael Lingelbach2021-11-01
| | | |
* | | | feat(ui): add `opt.kind` to `vim.ui.select` (#15838)Zachary Churchill2021-10-31
| | | | | | | | | | | | Co-authored-by: Justin M. Keyes <justinkz@gmail.com>
* | | | refactor: saner options for uncrustify #16196dundargoc2021-10-31
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * refactor: general good option changes sp_deref = remove sp_not = remove sp_inv = remove sp_inside_paren_cast = remove mod_remove_duplicate_include = true sp_after_semi = add sp_after_semi_for = force sp_sizeof_paren = remove nl_return_expr = remove nl_else_brace = remove nl_else_if = remove * refactor: mod_remove_extra_semicolon = true * refactor: nl_max = 3 * refactor: sp_bool = force * refactor: sp_compare = force * refactor: sp_inside_paren = remove * refactor: sp_paren_paren = remove * refactor: sp_inside_sparen = remove * refactor: sp_before_sparen = force * refactor: sp_sign = remove * refactor: sp_addr = remove * refactor: sp_member = remove * refactor: nl_struct_brace = remove * refactor: nl_before_if_closing_paren = remove * refactor: nl_fdef_brace = force * refactor: sp_paren_comma = force * refactor: mod_full_brace_do = add
* | | fix(lsp): improve symbols_to_items performance (#16197)Michael Lingelbach2021-10-31
| | | | | | | | | | | | | | | * use table.insert instead of list_extend to avoid validation overhead Co-authored-by: Gianmarco Fantinuoli <fanto-dev@hotmail.com>
* | | Merge pull request #15907 from black-desk/utf32-to-utf16Michael Lingelbach2021-10-31
|\ \ \ | | | | | | | | fix(lsp): default to UTF-16 in make_position_params
| * | | fix(lsp): default to UTF-16 when lsp client using str_utfindexblack_desk2021-10-31
| | | |
| * | | fix(lsp): default to UTF-16 in make_position_paramsblack_desk2021-10-31
|/ / /
* | | Merge pull request #16195 from jamessan/really-fix-win-ciJames McCoy2021-10-31
|\ \ \ | | | | | | | | fix(ci): use correct check for path-existence
| * | | fix(ci): use correct check for path-existenceJames McCoy2021-10-31
| | | |