From 7096adce11b93787170c09b79a6170d97b4a977c Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Jul 2024 00:03:58 +0200 Subject: Replace fn with λ and how cmds are imported MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fnl/plugins/lsp/keymaps.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fnl/plugins/lsp/keymaps.fnl') diff --git a/fnl/plugins/lsp/keymaps.fnl b/fnl/plugins/lsp/keymaps.fnl index 2c01d15..72e03cd 100644 --- a/fnl/plugins/lsp/keymaps.fnl +++ b/fnl/plugins/lsp/keymaps.fnl @@ -40,7 +40,7 @@ [:n :K "lua vim.lsp.hover()" {:desc "Hover documentation"}] [:n :li :LspInfo {:desc "Lsp Info"}]]) -(fn on-attach [buffer] +(λ on-attach [buffer] (let [opts {:noremap true :silent true : buffer}] (each [_ mapping (ipairs mappings)] (match mapping -- cgit v1.2.3-70-g09d2