neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

commit 0923ba322b3435d641a9cc0432598aa74d5f2b69
parent 423eaf1b13c58d8e7e49696c6aa1ee3accdc9ee5
Author: bfredl <bjorn.linse@gmail.com>
Date:   Thu, 11 Sep 2025 12:00:13 +0200

Merge pull request #35706 from bfredl/fixdoc

fix(gen): prevent "make doc" failure due to temporary files
Diffstat:
Msrc/gen/gen_eval_files.lua | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/gen/gen_eval_files.lua b/src/gen/gen_eval_files.lua @@ -178,7 +178,7 @@ local function get_api_meta() --- @type table<string,nvim.cdoc.parser.fun> local functions = {} for path, ty in vim.fs.dir(f) do - if ty == 'file' then + if ty == 'file' and (vim.endswith(path, '.c') or vim.endswith(path, '.h')) then local filename = vim.fs.joinpath(f, path) local _, funs = cdoc_parser.parse(filename) for _, fn in ipairs(funs) do