diff options
author | sefidel <contact@sefidel.net> | 2024-05-22 14:56:47 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2024-05-22 14:56:47 +0900 |
commit | 811b5ae91117efc586fd7f80c31b236df708768f (patch) | |
tree | b331d70ee11c9889e248c2a7a7249555c1c046f4 /fnl/nvrc/keymaps.fnl | |
parent | c1086f1f88b5335bfd0106264d2b4e5541956620 (diff) | |
download | nvimrc-811b5ae91117efc586fd7f80c31b236df708768f.tar.gz nvimrc-811b5ae91117efc586fd7f80c31b236df708768f.zip |
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.
Diffstat (limited to 'fnl/nvrc/keymaps.fnl')
-rw-r--r-- | fnl/nvrc/keymaps.fnl | 2 |
1 files changed, 1 insertions, 1 deletions
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<cr>") (map! [n] :fa (vim.lsp.buf.code_action)) (map! [n] :fu (vim.lsp.buf.implementation)) (map! [n] :fi (vim.lsp.buf.incoming_calls)) |