diff --git a/home/config/nvim/nifoc/repl.fnl b/home/config/nvim/nifoc/repl.fnl index fe2c17f..ed7f1d4 100644 --- a/home/config/nvim/nifoc/repl.fnl +++ b/home/config/nvim/nifoc/repl.fnl @@ -7,7 +7,11 @@ program (program-fn)] (each [_ value (ipairs program)] (table.insert args value)) - (wezterm.exec args))) + (wezterm.exec args + (fn [result] + (when (not= result.code 0) + (vim.notify "wezterm: Error opening split window" + vim.log.levels.ERROR [])))))) (local elixir #[(exe :iex)]) (local erlang #[(exe :erl)])