diff options
| author | mvink <mike1994vink@gmail.com> | 2022-11-16 12:43:46 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-16 12:43:46 +0100 |
| commit | 5e255e41669f1f7c985bc0f44a5f551b8caebaf3 (patch) | |
| tree | 6f01b4bc2ad83a6f6455b47c71c9b797a3dee3ea /lua/nvim-treesitter/shell_command_selectors.lua | |
| parent | fdaab4dff7768fd63430fb29f80cb7ebea6fe887 (diff) | |
| parent | dc27512e0019dcf4b6fbf0e0d5f285b4c9858308 (diff) | |
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 |
