diff options
Diffstat (limited to 'fnl/settings')
-rw-r--r-- | fnl/settings/autocmds.fnl | 6 | ||||
-rw-r--r-- | fnl/settings/init.fnl | 2 |
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))}) |