From 350db0c34262ee2f925d788b3b57c2513807ba8a Mon Sep 17 00:00:00 2001 From: rootiest Date: Fri, 12 Jul 2024 21:38:04 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=96=A5=EF=B8=8F=20Add=20WezTerm=20Support?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Only loaded when WezTerm is used --- lua/plugins/wezterm.lua | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 lua/plugins/wezterm.lua diff --git a/lua/plugins/wezterm.lua b/lua/plugins/wezterm.lua new file mode 100644 index 0000000..7f50be2 --- /dev/null +++ b/lua/plugins/wezterm.lua @@ -0,0 +1,11 @@ +-- ----------------------------------------------------------------------------- +-- --------------------------------- WezTerm ----------------------------------- +-- ----------------------------------------------------------------------------- +return { + "willothy/wezterm.nvim", + config = true, + cond = function() -- Using WezTerm + local term = os.getenv("TERM_PROGRAM") + return term and string.find(term, "WezTerm") + end, +}