diff options
-rw-r--r-- | lua/luatab/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/luatab/init.lua b/lua/luatab/init.lua index 5e419c2..6a5f9f9 100644 --- a/lua/luatab/init.lua +++ b/lua/luatab/init.lua @@ -11,7 +11,7 @@ local function tabName(bufnr) elseif file:sub(file:len()-2, file:len()) == 'FZF' then return 'FZF' elseif buftype == 'terminal' then - _, mtch = string.match(file, "term:(.*):(%a+)") + local _, mtch = string.match(file, "term:(.*):(%a+)") return mtch ~= nil and mtch or 'zsh' elseif file == '' then return '[No Name]' |