summaryrefslogtreecommitdiff
path: root/dot_config/nvim/fnl/toast/nvim.fnl
blob: fddc0e7a2c838ac10e9f04f43881ae0b4bc5d8a8 (plain) (blame)
1
2
3
4
5
6
7
(local {: every?} (require :toast.core))

(fn executable? [& paths]
  "Check if every argument specified is an executable that neovim can resolve."
  (every? #(not= 0 (vim.fn.executable $)) paths))

{: executable?}