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/servers.fnl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fnl/plugins/lsp/servers.fnl') diff --git a/fnl/plugins/lsp/servers.fnl b/fnl/plugins/lsp/servers.fnl index ab8cad6..0dbb16f 100644 --- a/fnl/plugins/lsp/servers.fnl +++ b/fnl/plugins/lsp/servers.fnl @@ -10,7 +10,7 @@ :settings {:json {:schemas (let [schemastore (require :schemastore)] (schemastore.json.schemas)) :validate {:enable true}}} - :setup {:commands {:Format [(fn [] + :setup {:commands {:Format [(λ [] (vim.lsp.buf.range_formatting [] [0 0] [(vim.fn.line "$" 0)]))]}}} -- cgit v1.2.3-70-g09d2