feat(emmy): add emmylua annotations

This commit is contained in:
Lewis Russell 2022-10-31 10:52:52 +00:00 committed by Christian Clason
parent 4392211d77
commit 0948bf2274
8 changed files with 257 additions and 121 deletions

View file

@ -49,6 +49,7 @@ function M.select_rm_file_cmd(file, info_msg)
end
end
---@return string|nil
function M.select_executable(executables)
return vim.tbl_filter(function(c)
return c ~= vim.NIL and fn.executable(c) == 1