Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugin/jetpack.vim
Original file line number Diff line number Diff line change
Expand Up @@ -793,8 +793,8 @@ if !has('nvim') && !(has('lua') && has('patch-8.2.0775'))
endif

lua<<EOF
local dict = vim.dict or function(x) return x end
local list = vim.list or function(x) return x end
local dict = (type(vim.dict) == 'function' and vim.dict) or function(x) return x end
local list = (type(vim.list) == 'function' and vim.list) or function(x) return x end
local function cast(t)
if type(t) ~= 'table' then
return t
Expand Down