From 811b5ae91117efc586fd7f80c31b236df708768f Mon Sep 17 00:00:00 2001 From: sefidel Date: Wed, 22 May 2024 14:56:47 +0900 Subject: feat(packs): add conform * Replaces LSP-based formatter. No action is needed as the formatter would always fall back to LSP when it's available. --- fnl/nvrc/keymaps.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fnl/nvrc/keymaps.fnl') diff --git a/fnl/nvrc/keymaps.fnl b/fnl/nvrc/keymaps.fnl index c98a78a..fd74449 100644 --- a/fnl/nvrc/keymaps.fnl +++ b/fnl/nvrc/keymaps.fnl @@ -80,7 +80,7 @@ ; LSP (map! [n] :fl (vim.lsp.buf.declaration)) (map! [n] :fd (vim.lsp.buf.definition)) -(map! [n] :fs (vim.lsp.buf.format)) +(map! [nv :silent] :fs ":ConformFormat") (map! [n] :fa (vim.lsp.buf.code_action)) (map! [n] :fu (vim.lsp.buf.implementation)) (map! [n] :fi (vim.lsp.buf.incoming_calls)) -- cgit 1.4.1