update: nvim: add load condition to term_powershell

This commit is contained in:
qwjyh 2024-03-18 10:34:11 +09:00
parent 700cecd2ae
commit b2978b4fd2

View file

@ -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 {