From d06e7b8f2de3e37cb16b9bfb7a14d6b13ec38758 Mon Sep 17 00:00:00 2001 From: dlond Date: Mon, 26 May 2025 00:26:05 +1200 Subject: [PATCH] filter exes --- lua/custom/utils.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/custom/utils.lua b/lua/custom/utils.lua index a07d704d..ca866b78 100644 --- a/lua/custom/utils.lua +++ b/lua/custom/utils.lua @@ -8,7 +8,7 @@ local function collect_executables(dir) local files = vim.fn.globpath(dir, '**', true, true) local binaries = {} for _, path in ipairs(files) do - if vim.fn.filereadable(path) == 1 and is_executable(path) then + if vim.fn.filereadable(path) == 1 and is_executable(path) and not path:match 'CMakeFiles' then table.insert(binaries, path) end end