Skip to content

Commit

Permalink
Fix #74: allow jumping to next tabstop when cmp window is open (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
smjonas authored Apr 22, 2022
1 parent c6ace8c commit 21f02b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/cmp_nvim_ultisnips/mappings.lua
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ local function t(keys)
end

local function can_execute(arg)
return cmp.get_selected_entry() == nil and vim.fn[arg]() == 1
return vim.fn[arg]() == 1
end

-- The <Plug> mappings are defined in autoload/cmp_nvim_ultisnips.vim.
Expand Down

0 comments on commit 21f02b6

Please sign in to comment.