From 5d81720c3313fd590d4fe5057931aad96903974c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Thu, 14 Sep 2023 23:50:45 +0200 Subject: Add format in visual mode instead of lsp mod format --- fnl/plugins/lsp/keymaps.fnl | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'fnl/plugins/lsp/keymaps.fnl') diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl index 5ab4f49..6a3544a 100644 --- a/fnl/plugins/lsp/keymaps.fnl +++ b/fnl/plugins/lsp/keymaps.fnl @@ -24,6 +24,10 @@ :e "lua vim.lsp.buf.format { async = true }" {:desc :Format}] + [:v + :e + "lua vim.lsp.buf.format { async = true }" + {:desc :Format}] [:n :i "lua vim.lsp.codelens.run()" -- cgit v1.2.3-70-g09d2