refactor(plugins): change external terminal provider to ghostty

This commit is contained in:
Prad Nukala committed 2025-11-11 14:52:22 -05:00
1 parent 928a33a0de
commit 98adcdc503
1 file changed
+2 -5
+2 -5
View File
@@ -26,17 +26,14 @@ return {
terminal = {
split_side = "right", -- "left" or "right"
split_width_percentage = 0.30,
provider = "auto", -- "auto", "snacks", "native", "external", "none", or custom provider table
provider = "external", -- "auto", "snacks", "native", "external", "none", or custom provider table
auto_close = true,
snacks_win_opts = {}, -- Opts to pass to `Snacks.terminal.open()` - see Floating Window section below
-- Provider-specific options
provider_opts = {
-- Command for external terminal provider. Can be:
-- 1. String with %s placeholder: "alacritty -e %s" (backward compatible)
-- 2. String with two %s placeholders: "alacritty --working-directory %s -e %s" (cwd, command)
-- 3. Function returning command: function(cmd, env) return "alacritty -e " .. cmd end
external_terminal_cmd = nil,
external_terminal_cmd = "ghostty --working-directory %s -e %s",
},
},
},