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/plugins/snippets.fnl | |
| parent | 55fbc6552e97e7f41c180adade95c467963c2af2 (diff) | |
Replace lambda with λ
Diffstat (limited to 'fnl/plugins/snippets.fnl')
| -rw-r--r-- | fnl/plugins/snippets.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/plugins/snippets.fnl b/fnl/plugins/snippets.fnl index 91865d6..569af44 100644 --- a/fnl/plugins/snippets.fnl +++ b/fnl/plugins/snippets.fnl @@ -16,16 +16,16 @@ (ls.config.set_config {:history false :updateevents "TextChanged,TextChangedI"}) (vim.keymap.set [:i :s] :<c-u> - (lambda [] + (λ [] (when (ls.expand_or_jumpable) (ls.expand_or_jump))) {:silent true}) (vim.keymap.set [:i :s] :<c-l> - (lambda [] + (λ [] (when (ls.jumpable -1) (ls.jump -1)) {:silent true})) (vim.keymap.set [:i] :<c-j> - (lambda [] + (λ [] (when (ls.choice_active) (ls.change_choice 1))) {:silent true}))) |