From f048e7a0042c10885ee37301464febc8c8f63e96 Mon Sep 17 00:00:00 2001 From: Gustaf Rydholm Date: Mon, 29 Jul 2024 00:43:50 +0200 Subject: Replace lambda with λ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fnl/settings/autocmds.fnl | 6 +++--- fnl/settings/init.fnl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'fnl/settings') diff --git a/fnl/settings/autocmds.fnl b/fnl/settings/autocmds.fnl index 3b9cecb..a87976a 100644 --- a/fnl/settings/autocmds.fnl +++ b/fnl/settings/autocmds.fnl @@ -4,7 +4,7 @@ {:pattern [:qf :help :man :lspinfo] :command "nnoremap q :close"}] [:TextYankPost - {:callback (lambda [] + {:callback (λ [] (vim.highlight.on_yank {:higroup :Visual :timeout 200}))}] [:BufWinEnter {:command "setlocal formatoptions-=cro"}] @@ -15,11 +15,11 @@ [[:FocusGained :BufEnter :CursorHold :CursorHoldI] {:command :checktime}] [[:InsertLeave :WinEnter] - {:callback (lambda [] + {:callback (λ [] (let [cursorline (require :settings.cursorline)] cursorline.show))}] [[:InsertEnter :WinLeave] - {:callback (lambda [] + {:callback (λ [] (let [cursorline (require :settings.cursorline)] cursorline.hide))}]]) diff --git a/fnl/settings/init.fnl b/fnl/settings/init.fnl index dd392a8..6fcc9c7 100644 --- a/fnl/settings/init.fnl +++ b/fnl/settings/init.fnl @@ -6,6 +6,6 @@ {:group (vim.api.nvim_create_augroup :Lazy {:clear true}) :pattern :VeryLazy - :callback (lambda [] + :callback (λ [] (require :settings.autocmds) (require :settings.keymaps))}) -- cgit v1.2.3-70-g09d2