Skip to content

Commit

Permalink
Fix CocList not opening because of interactive flag -I
Browse files Browse the repository at this point in the history
  • Loading branch information
phelipetls committed Jun 3, 2023
1 parent 3dce628 commit 32b97da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/nvim/lua/plugins/config/coc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,9 @@ vim.keymap.set("i", "<C-u>", function()
return "<C-u>"
end, { silent = true, expr = true, nowait = true, desc = "Scroll up within coc floating window" })

vim.keymap.set("n", "<space>cs", "<cmd>CocList -I symbols<CR>", { desc = "Open list with workspace symbols" })
vim.keymap.set("n", "<space>cs", "<cmd>CocList symbols<CR>", { desc = "Open list with workspace symbols" })

vim.keymap.set("n", "<space>cc", "<cmd>CocList -I commands<CR>", { desc = "Open list with all coc commands" })
vim.keymap.set("n", "<space>cc", "<cmd>CocList commands<CR>", { desc = "Open list with all coc commands" })

-- }}}
-- {{{ commands
Expand Down

0 comments on commit 32b97da

Please sign in to comment.