From ce688eb670783b7d1963ab20e51c94c362392a1a Mon Sep 17 00:00:00 2001 From: JuanZoran <1430359574@qq.com> Date: Thu, 26 Jan 2023 23:55:19 +0800 Subject: [PATCH] fix: fix window open and neovim version --- lua/Trans/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/Trans/init.lua b/lua/Trans/init.lua index 5bd4672..a2cb24c 100644 --- a/lua/Trans/init.lua +++ b/lua/Trans/init.lua @@ -1,7 +1,7 @@ local M = {} -local title = vim.fn.has('nvim-0.9') and { +local title = vim.fn.has('nvim-0.9') == 1 and { { '', 'TransTitleRound' }, { ' Trans', 'TransTitle' }, { '', 'TransTitleRound' },