update nvim to remove deprecated functions
This commit is contained in:
parent
9e596d6252
commit
9bf5378b7e
1 changed files with 2 additions and 2 deletions
|
|
@ -53,7 +53,7 @@ map('n', 'gD', vim.lsp.buf.type_definition, { desc = 'Go To Type Definition' })
|
|||
map('n', '<leader>cl', vim.lsp.codelens.run, { desc = 'Code Lens' })
|
||||
map('n', '<leader>rn', vim.lsp.buf.rename, { desc = 'Rename' })
|
||||
map('n', '<leader>ca', vim.lsp.buf.code_action, { desc = 'Code Action' })
|
||||
map('n', '[c', '<cmd>lua vim.diagnostic.goto_prev({ wrap = false })<CR>', { desc = 'prev diagnostic' })
|
||||
map('n', ']c', '<cmd>lua vim.diagnostic.goto_next({ wrap = false })<CR>', { desc = 'next diagnostic' })
|
||||
map('n', '[c', '<cmd>lua vim.diagnostic.jump({ count = -1, float = true })<CR>', { desc = 'prev diagnostic' })
|
||||
map('n', ']c', '<cmd>lua vim.diagnostic.jump({ count = 1, float = true })<CR>', { desc = 'next diagnostic' })
|
||||
map('n', '<leader>ls', ':Telescope lsp_document_symbols<CR>', { desc = 'Browse Document Symbols' })
|
||||
map('n', '<leader>ld', ':Telescope lsp_dynamic_workspace_symbols<CR>', { desc = 'Browse Definitions' })
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue