init.vim: borrar <space>f en LSP que reemplaza el otro <space>f FZF

This commit is contained in:
Cat /dev/Nulo 2021-11-16 08:34:36 -03:00
parent 1794c85308
commit 8388f0f613

View file

@ -58,8 +58,6 @@ local on_attach = function(client, bufnr)
buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts) buf_set_keymap('n', '[d', '<cmd>lua vim.lsp.diagnostic.goto_prev()<CR>', opts)
buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts) buf_set_keymap('n', ']d', '<cmd>lua vim.lsp.diagnostic.goto_next()<CR>', opts)
buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts) buf_set_keymap('n', '<space>q', '<cmd>lua vim.lsp.diagnostic.set_loclist()<CR>', opts)
buf_set_keymap('n', '<space>f', '<cmd>lua vim.lsp.buf.formatting()<CR>', opts)
end end
local servers = { 'zls', 'gopls' } local servers = { 'zls', 'gopls' }