From b2978b4fd2dbecc33876bf27be8d795c48e9f4b4 Mon Sep 17 00:00:00 2001 From: qwjyh Date: Mon, 18 Mar 2024 10:34:11 +0900 Subject: [PATCH] update: nvim: add load condition to term_powershell --- dotfiles/neovim/init.lua | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotfiles/neovim/init.lua b/dotfiles/neovim/init.lua index 7337660..03c2efe 100644 --- a/dotfiles/neovim/init.lua +++ b/dotfiles/neovim/init.lua @@ -18,6 +18,9 @@ require('lazy').setup({ { "catppuccin/nvim", name = "catppuccin" }, -- Color scheme { dir = "./lua/term_powershell.lua", + cond = function() + return vim.fn.has('win32') == 1 + end, event = "CmdlineEnter", config = function() require("term_powershell").setup {