Change format keymap to avoid clash with telescope

This commit is contained in:
Edward Litherland-Smith 2022-09-27 11:58:27 +01:00
parent 97e9544d56
commit 510edddbed

View file

@ -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>ca', vim.lsp.buf.code_action, 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
require("aerial").on_attach(client, bufnr)
end