From 0bc2381b6b4c41c9fe3404b9703ff4426f7be6b6 Mon Sep 17 00:00:00 2001 From: "Justin M. Keyes" Date: Sun, 23 Nov 2025 12:45:31 -0500 Subject: [PATCH] docs: misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Maria José Solano Co-authored-by: glepnir --- .github/workflows/build.yml | 4 ++-- .github/workflows/build_dummy.yml | 4 ++-- BUILD.md | 7 +++++++ CONTRIBUTING.md | 1 + runtime/doc/vimfn.txt | 4 ++-- runtime/lua/vim/_meta/builtin_types.lua | 2 +- runtime/lua/vim/_meta/vimfn.lua | 4 ++-- src/nvim/eval.lua | 7 ++++++- 8 files changed, 23 insertions(+), 10 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 32dce9ed0b..d685e622b9 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,8 +21,8 @@ env: INSTALL_PREFIX: ${{ github.workspace }}/nvim-install jobs: + # Test the minimum supported cmake. old-cmake: - name: Test oldest supported cmake runs-on: ubuntu-latest timeout-minutes: 15 env: @@ -54,8 +54,8 @@ jobs: - name: Install run: make install + # Offline build (USE_EXISTING_SRC_DIR=ON with no network access) use-existing-src: - name: Test USE_EXISTING_SRC_DIR=ON builds with no network access runs-on: ubuntu-latest steps: - uses: actions/checkout@v5 diff --git a/.github/workflows/build_dummy.yml b/.github/workflows/build_dummy.yml index b499ba7fa2..141bdfaeda 100644 --- a/.github/workflows/build_dummy.yml +++ b/.github/workflows/build_dummy.yml @@ -19,15 +19,15 @@ concurrency: cancel-in-progress: ${{ github.event_name == 'pull_request' }} jobs: + # Test the minimum supported cmake. old-cmake: - name: Test oldest supported cmake runs-on: ubuntu-latest timeout-minutes: 15 steps: - run: echo "success" + # Offline build (USE_EXISTING_SRC_DIR=ON with no network access) use-existing-src: - name: Test USE_EXISTING_SRC_DIR=ON builds with no network access runs-on: ubuntu-latest steps: - run: echo "success" diff --git a/BUILD.md b/BUILD.md index 747bd68a79..7a8ed7069f 100644 --- a/BUILD.md +++ b/BUILD.md @@ -402,6 +402,13 @@ Similarly to develop on Neovim: `nix run github:nix-community/neovim-nightly-ove To use a specific version of Neovim, you can pass `--override-input neovim-src .` to use your current directory, or a specific SHA1 like `--override-input neovim-src github:neovim/neovim/89dc8f8f4e754e70cbe1624f030fb61bded41bc2`. +### Haiku + +Some deps can be pulled from haiku repos, the rest need "bundled" deps: + + cmake -DUSE_BUNDLED_LIBUV=OFF -DUSE_BUNDLED_UNIBILIUM=OFF -DUSE_BUNDLED_LUAJIT=OFF -B .deps ./cmake.deps + make -C .deps + ### FreeBSD ``` diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9500d56d18..409ea0c9f2 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -51,6 +51,7 @@ Developer guidelines Pull requests (PRs) --------------------- +- Fork the repository first. - To avoid duplicate work, create a draft pull request. - Your PR must include [test coverage][run-tests]. - Avoid cosmetic changes to unrelated files in the same commit. diff --git a/runtime/doc/vimfn.txt b/runtime/doc/vimfn.txt index 2af7fbeea0..f05e6ffa6b 100644 --- a/runtime/doc/vimfn.txt +++ b/runtime/doc/vimfn.txt @@ -8970,9 +8970,9 @@ setloclist({nr}, {list} [, {action} [, {what}]]) *setloclist()* Parameters: ~ • {nr} (`integer`) - • {list} (`any`) + • {list} (`vim.quickfix.entry[]`) • {action} (`string?`) - • {what} (`table?`) + • {what} (`vim.fn.setqflist.what?`) Return: ~ (`any`) diff --git a/runtime/lua/vim/_meta/builtin_types.lua b/runtime/lua/vim/_meta/builtin_types.lua index 6886cd6bb7..00ee038731 100644 --- a/runtime/lua/vim/_meta/builtin_types.lua +++ b/runtime/lua/vim/_meta/builtin_types.lua @@ -152,7 +152,7 @@ --- a function or a funcref or a lambda. Refer --- to |quickfix-window-function| for an explanation --- of how to write the function and an example. ---- @field quickfixtextfunc? function +--- @field quickfixtextfunc? string|function --- --- quickfix list title text. See |quickfix-title| --- @field title? string diff --git a/runtime/lua/vim/_meta/vimfn.lua b/runtime/lua/vim/_meta/vimfn.lua index 34862b6dc2..d3e48a89f8 100644 --- a/runtime/lua/vim/_meta/vimfn.lua +++ b/runtime/lua/vim/_meta/vimfn.lua @@ -8169,9 +8169,9 @@ function vim.fn.setline(lnum, text) end --- for the list of supported keys in {what}. --- --- @param nr integer ---- @param list any +--- @param list vim.quickfix.entry[] --- @param action? string ---- @param what? table +--- @param what? vim.fn.setqflist.what --- @return any function vim.fn.setloclist(nr, list, action, what) end diff --git a/src/nvim/eval.lua b/src/nvim/eval.lua index 67aa3c1595..2f949327f4 100644 --- a/src/nvim/eval.lua +++ b/src/nvim/eval.lua @@ -9900,7 +9900,12 @@ M.funcs = { ]=], name = 'setloclist', - params = { { 'nr', 'integer' }, { 'list', 'any' }, { 'action', 'string' }, { 'what', 'table' } }, + params = { + { 'nr', 'integer' }, + { 'list', 'vim.quickfix.entry[]' }, + { 'action', 'string' }, + { 'what', 'vim.fn.setqflist.what' }, + }, signature = 'setloclist({nr}, {list} [, {action} [, {what}]])', }, setmatches = {