diff options
author | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:43:50 +0200 |
---|---|---|
committer | Gustaf Rydholm <gustaf.rydholm@gmail.com> | 2024-07-29 00:43:50 +0200 |
commit | f048e7a0042c10885ee37301464febc8c8f63e96 (patch) | |
tree | ead501d5675c0e57b90c82a952aa3dcb9d7c487e /fnl/settings/autocmds.fnl | |
parent | 55fbc6552e97e7f41c180adade95c467963c2af2 (diff) |
Replace lambda with λ
Diffstat (limited to 'fnl/settings/autocmds.fnl')
-rw-r--r-- | fnl/settings/autocmds.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
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 <silent> <buffer> q :close<CR>"}] [: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))}]]) |