aboutsummaryrefslogtreecommitdiff
path: root/lua/luatab/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/luatab/init.lua')
-rw-r--r--lua/luatab/init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/luatab/init.lua b/lua/luatab/init.lua
index 9533564..6f513a6 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]'