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/lualine.fnl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'fnl/plugins/lualine.fnl') diff --git a/fnl/plugins/lualine.fnl b/fnl/plugins/lualine.fnl index 0c11537..b2f7e14 100644 --- a/fnl/plugins/lualine.fnl +++ b/fnl/plugins/lualine.fnl @@ -14,7 +14,7 @@ (local ignore [:help :packer :spectre_panel :TelescopePrompt]) -(fn active-clients [] +(λ active-clients [] (let [clients (vim.lsp.get_clients) buf_num (vim.api.nvim_buf_get_number 0) client_names []] @@ -25,7 +25,7 @@ (table.concat client_names ", ") ""))) -(fn hide-in-width [] +(λ hide-in-width [] (> (vim.fn.winwidth 0) 80)) (local diagnostics {1 :diagnostics -- cgit v1.2.3-70-g09d2