From f5ba84b3a73a4e2aa4648c14707ce6847c29169b Mon Sep 17 00:00:00 2001 From: Folke Lemaitre Date: Tue, 26 Mar 2024 17:18:19 +0100 Subject: [PATCH] fix: configure pwsh on windows --- nvim/lua/config/options.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/nvim/lua/config/options.lua b/nvim/lua/config/options.lua index 7964fee5..147f472e 100644 --- a/nvim/lua/config/options.lua +++ b/nvim/lua/config/options.lua @@ -29,4 +29,6 @@ vim.keymap.set = function(mode, lhs, rhs, opts) end vim.g.lazyvim_python_lsp = "basedpyright" --- LazyVim.terminal.setup("bash") +if vim.fn.has("win32") == 1 then + LazyVim.terminal.setup("pwsh") +end