Change format keymap to avoid clash with telescope
This commit is contained in:
parent
97e9544d56
commit
510edddbed
|
@ -44,7 +44,7 @@ local on_attach = function(client, bufnr)
|
||||||
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
|
vim.keymap.set('n', '<leader>rn', vim.lsp.buf.rename, bufopts)
|
||||||
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
|
vim.keymap.set('n', '<leader>ca', vim.lsp.buf.code_action, bufopts)
|
||||||
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
vim.keymap.set('n', 'gr', vim.lsp.buf.references, bufopts)
|
||||||
vim.keymap.set('n', '<leader>f', vim.lsp.buf.formatting, bufopts)
|
vim.keymap.set('n', '<leader>i', vim.lsp.buf.formatting, bufopts)
|
||||||
-- Enable aerial support
|
-- Enable aerial support
|
||||||
require("aerial").on_attach(client, bufnr)
|
require("aerial").on_attach(client, bufnr)
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue