diff options
author | Alvaro Sevilla <alvaro@chainalysis.com> | 2021-07-13 19:49:22 +0200 |
---|---|---|
committer | Alvaro Sevilla <alvaro@chainalysis.com> | 2021-07-13 19:49:22 +0200 |
commit | 79bae9df835eb0f80778b6eb48d0a8096b1580ce (patch) | |
tree | a145f455a476bd84839d8280d9e3058635e36af7 /lua/luatab/init.lua | |
parent | fe379762460d0b0e24dddafbc9cd93752544a06d (diff) | |
download | minitab.nvim-79bae9df835eb0f80778b6eb48d0a8096b1580ce.tar.xz minitab.nvim-79bae9df835eb0f80778b6eb48d0a8096b1580ce.zip |
Fix indentation + use local variables
Diffstat (limited to 'lua/luatab/init.lua')
-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]' |