diff options
Diffstat (limited to 'lua/nvim-treesitter/shell_command_selectors.lua')
| -rw-r--r-- | lua/nvim-treesitter/shell_command_selectors.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lua/nvim-treesitter/shell_command_selectors.lua b/lua/nvim-treesitter/shell_command_selectors.lua index 522ac727..59bbb0e4 100644 --- a/lua/nvim-treesitter/shell_command_selectors.lua +++ b/lua/nvim-treesitter/shell_command_selectors.lua @@ -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 |
