summaryrefslogtreecommitdiff
path: root/fnl/settings
diff options
context:
space:
mode:
authorGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:43:50 +0200
committerGustaf Rydholm <gustaf.rydholm@gmail.com>2024-07-29 00:43:50 +0200
commitf048e7a0042c10885ee37301464febc8c8f63e96 (patch)
treeead501d5675c0e57b90c82a952aa3dcb9d7c487e /fnl/settings
parent55fbc6552e97e7f41c180adade95c467963c2af2 (diff)
Replace lambda with λ
Diffstat (limited to 'fnl/settings')
-rw-r--r--fnl/settings/autocmds.fnl6
-rw-r--r--fnl/settings/init.fnl2
2 files changed, 4 insertions, 4 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))}]])
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))})