Skip to content

Commit

Permalink
fix(nvim): use built-in lua unpack
Browse files Browse the repository at this point in the history
  • Loading branch information
kutsan committed Sep 15, 2024
1 parent 9506918 commit 91b442e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion .config/nvim/lua/specs/cmp.lua
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ Plugin.opts = function()
}),
['<Tab>'] = cmp.mapping(function(fallback)
local has_words_before = function()
unpack = unpack or table.unpack
local line, col = unpack(vim.api.nvim_win_get_cursor(0))
return col ~= 0
and vim.api
Expand Down

0 comments on commit 91b442e

Please sign in to comment.