From acdae75e179d189e328b90c39e9df12f5308ab35 Mon Sep 17 00:00:00 2001 From: Yigit Sever Date: Mon, 15 Nov 2021 20:52:31 +0300 Subject: nvim: change lsp format binding --- .config/nvim/lua/plugin_settings.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/nvim/lua') diff --git a/.config/nvim/lua/plugin_settings.lua b/.config/nvim/lua/plugin_settings.lua index 56612f5..a09bcac 100644 --- a/.config/nvim/lua/plugin_settings.lua +++ b/.config/nvim/lua/plugin_settings.lua @@ -327,7 +327,7 @@ local on_attach = function(client, bufnr) buf_set_keymap('n', '[d', 'lua vim.lsp.diagnostic.goto_prev()', opts) buf_set_keymap('n', ']d', 'lua vim.lsp.diagnostic.goto_next()', opts) buf_set_keymap('n', 'q', 'lua vim.lsp.diagnostic.set_loclist()', opts) - buf_set_keymap('n', 'f', 'lua vim.lsp.buf.formatting()', opts) + buf_set_keymap('n', 'fm', 'lua vim.lsp.buf.formatting()', opts) end local servers = { 'rust_analyzer', 'jedi_language_server', 'texlab', 'clangd' } -- cgit v1.2.3-70-g09d2