fixed formatting

This commit is contained in:
Jonathan Feinberg 2021-06-04 20:20:05 +02:00
parent f1a61debf2
commit c3f6755344
No known key found for this signature in database
GPG Key ID: 3673F898D24A40A7

View File

@ -33,7 +33,7 @@ end
local function find_terminal(args)
log.trace("_find_terminal(): Terminal:", args)
if type(args) == "number" then
args = { idx=args }
args = { idx = args }
end
local term_handle = terminals[args.idx]
if not term_handle or not vim.api.nvim_buf_is_valid(term_handle.buf_id) then