aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* 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
* 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
| |
* | fix(lsp): don't update active_clients on exit_timeout (#16192)David Hotham2021-10-31
|/
* Merge pull request #16187 from erw7/fix-build-MinGWJames McCoy2021-10-31
|\ | | | | fix(build): fix build failure in MinGW
| * fix(build): fix build failure in MinGWerw72021-11-01
| | | | | | | | | | | | The new MinGW fails to build libuv due to a typedef conflict between mstcpip.h and src/win/winapi.h. This change avoids conflicts by disabling typedef in the MinGW header.
* | Merge pull request #16188 from bfredl/packentryBjörn Linse2021-10-31
|\ \ | |/ |/| fix(runtime): fix missing packpath entries
| * fix(runtime): fix missing packpath entriesBjörn Linse2021-10-31
|/
* Merge pull request #16191 from jamessan/fix-cpack-removalJames McCoy2021-10-31
|\ | | | | ci(win): only remove choco's cpack.exe if it exists
| * ci(win): only remove choco's cpack.exe if it existsJames McCoy2021-10-31
| |
* | feat(lsp): add formatexpr (#16186)Michael Lingelbach2021-10-31
|/ | | | Co-authored-by: Meck <yesmeck@gmail.com> Co-authored-by: TJ DeVries <devries.timothyj@gmail.com>
* fix(lsp): add placeholder cancel function (#16189)Michael Lingelbach2021-10-31
| | | | | | | | | | Fixes a bug introduced by https://github.com/neovim/neovim/pull/15949 When no supported clients for a given method are available, buf_request returns early with a nil value. If buf_request_sync is called on a buffer with no clients that support a given method, the returned `cancel` method (which is nil), is invoked, resulting in an error. Solution: return an empty function handle
* Merge pull request #16182 from jamessan/backport-commentJames McCoy2021-10-30
|\ | | | | ci(backport): trigger on comments too, so "/backport" works
| * ci(backport): trigger on comments too, so "/backport" worksJames McCoy2021-10-30
|/ | | | [skip ci]
* Merge pull request #16181 from jamessan/backport-permsJames McCoy2021-10-30
|\ | | | | ci(backport): add write permissions for contents/pull_requests
| * ci(backport): bump version to v0.0.7James McCoy2021-10-30
| | | | | | | | [skip ci]
| * ci(backport): add write permissions for contents/pull_requestsJames McCoy2021-10-30
|/ | | | | | The workflow needs to create commits and PRs. [skip ci]
* Merge pull request #16180 from jamessan/release-workflowJames McCoy2021-10-30
|\ | | | | Refactor release workflow to use gh instead of a third-party action
| * ci: make sure choco cpack does not interfere with CMake cpackJames McCoy2021-10-30
| | | | | | | | [skip ci]
| * ci(release): do not fail if stable/nightly release doesn't existJames McCoy2021-10-30
| | | | | | | | [skip ci]
| * ci(release): re-publish "stable" release for versioned releasesJames McCoy2021-10-30
| | | | | | | | [skip ci]
| * ci(release): use gh cli instead of 3rd-party actionsJames McCoy2021-10-30
|/ | | | | | Closes #15709 [skip ci]
* feat: add vim.str_utf_{start,end} (#16129)Michael Lingelbach2021-10-30
| | | | | vim.str_utf_{start,end} return the offset from the current position to the start and end of the current utf-character (nearest codepoint) respectively.
* fix(vim-patch.sh): run nvim with -u NONE -n #16179Sean Dewar2021-10-30
| | | | | | | | | | Problem: Because of -u NORC, vim-patch.sh would hang on my machine due to one of my plugins (start package) waiting for prompt input. Solution: - Use -u NONE instead to disable all plugins. - Also use -n to disable swapfiles. These changes only apply to the --headless nvim instances used to process things.
* feat(lsp): default to botright for setting qflist (#16177)Michael Lingelbach2021-10-30
| | | | | | * Opens quickfix list spanning the entire nvim window in location handlers closes https://github.com/neovim/neovim/issues/12241
* fix(vim.mpack): rename pack/unpack => encode/decode #16175Justin M. Keyes2021-10-30
| | | | | | | | | | | | | | | | | | | | | | | Problem: 1. "unpack" has an unrelated meaning in Lua: https://www.lua.org/manual/5.1/manual.html#pdf-unpack 2. We already have msgpackparse()/msgpackdump() and json_encode()/json_decode(), so introducing another name for the same thing is entropy. Solution: - Rename vim.mpack.pack/unpack => vim.mpack.encode/decode Caveat: This is incongruent with the `Unpacker` and `Packer` functions. - It's probably too invasive to rename those. - They also aren't part of our documented interface. - This commit is "reversible" in the sense that we can always revert it and add `vim.mpack.encode/decode` as _aliases_ to `vim.mpack.pack/unpack`, at any time in the future, if we want stricter fidelity with upstream libmpack. Meanwhile, `vim.mpack.encode/decode` is currently the total _documented_ interface of `vim.mpack`, so this change serves the purpose of consistent naming in the Nvim stdlib.
* fix(build): remove amalg build target for LuaJIT (#16178)Christian Clason2021-10-30
| | | | fixup for #16041 (`amalg` build is recommended by LuaJIT for performance but this way of doing it breaks parallel build with `make -j`)
* refactor(diagnostic): make display handlers generic (#16137)Gregory Anders2021-10-29
| | | | | | | Rather than treating virtual_text, signs, and underline specially, introduce the concept of generic "handlers", of which those three are simply the defaults bundled with Nvim. Handlers are called in `vim.diagnostic.show()` and `vim.diagnostic.hide()` and are used to handle how diagnostics are displayed.
* refactor: uncrustify #16090dundargoc2021-10-29
|
* fix(eval): fix has('wsl') #16153erw72021-10-29
| | | | | | | | Problem: has('wsl') is decided at build-time. Solution: Check os_uname(). Fixes #12642, #16143
* Merge pull request #16154 from bfredl/neoscriptBjörn Linse2021-10-30
|\ | | | | refactor(api): break out Vim script functions to its own file
| * refactor(api): break out Vim script functions to its own fileBjörn Linse2021-10-29
| |
| * refactor(api): break out vim_to_object/object_to_vim to own fileBjörn Linse2021-10-29
| |
* | build(deps): bump luv to 1.42.0-1 (#16113)Christian Clason2021-10-29
| | | | | | | | * Use uv_handle_size/uv_req_size instead of sizeof * LuaJIT: add missing LJ_ENDIAN and LJ_NO_UNWIND checks for DASM [fixes building on aarch64]
* | build(deps): bump luajit to latest commit (#16041)Christian Clason2021-10-29
|/ | | | | bump LuaJIT to https://github.com/LuaJIT/LuaJIT/commit/b4b2dce9fc3ffaaaede39b36d06415311e2aa516 now requires `-funwind-tables` build flag, which conflicts with `-DLUA_USE_ASSERT`
* feat(lsp): track pending+cancel requests on client object #15949jdrouhard2021-10-29
|
* fix(eval): checking for a non-empty string is too strict (#15987)Fabian2021-10-28
| | | | | | Cherry-pick check_for_nonempty_string() from patch vim-8.2.2133 and apply it on the bases of https://github.com/neovim/neovim/pull/13489 https://github.com/vim/vim/commit/2a9d5d386bea8455b37c1accebc45683ec51d6fb
* vim-patch:8.2.3556: filler lines are incorrect for other window in diff mode ↵Jaehwang Jerry Jung2021-10-28
| | | | | | | | (#16164) Problem: Filler lines are incorrect for other window in diff mode after making a change. Solution: Copy filler lines from the current window. (closes vim/vim#8809) https://github.com/vim/vim/commit/841c225b9ef8c5bdf5e02968a0bd62521fff6ca8
* Merge pull request #16141 from dundargoc/ci/split-jobsJames McCoy2021-10-28
|\