Cleanup completions mappings todos
This commit is contained in:
parent
68d50081ff
commit
c62bffa083
@ -103,9 +103,9 @@ return {
|
||||
callback = function(ev)
|
||||
local opts = { noremap = true, buffer = ev.buf }
|
||||
|
||||
-- TODO: Should I drop this? It's only for expanding snippets because
|
||||
-- TODO: inoremap <silent><expr> <TAB> coc#pum#visible() ? coc#pum#confirm() : "\<TAB>"
|
||||
-- Should I drop this? It's only for expanding snippets because
|
||||
-- coc.nvim was being weird about it
|
||||
-- inoremap <silent><expr> <TAB> coc#pum#visible() ? coc#pum#confirm() : "\<TAB>"
|
||||
|
||||
-- Fixit mapping, or close enough, actually any code action
|
||||
vim.keymap.set('n', '<leader>fi', vim.lsp.buf.code_action, opts)
|
||||
@ -113,7 +113,7 @@ return {
|
||||
-- Goto definition mapping
|
||||
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, opts)
|
||||
-- TODO: nnoremap <silent> <leader>gt <Plug>(coc-type-definition)
|
||||
-- nnoremap <silent> <leader>gu <Plug>(coc-references-used)
|
||||
-- TODO: nnoremap <silent> <leader>gu <Plug>(coc-references-used)
|
||||
|
||||
-- Get references to symbol under cursor, store in quickfix window
|
||||
vim.keymap.set('n', '<leader>gr', vim.lsp.buf.references, opts)
|
||||
|
Loading…
x
Reference in New Issue
Block a user