diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-11-03 18:39:21 +0100 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-11-03 20:16:54 +0100 |
commit | 826efc41fa3cc29112a68f767e5ed2116ea91db4 (patch) | |
tree | d244be70e3573683c0b15bccd82ccbaaf204b798 /.config | |
parent | dbbde08d80dcc483d6f6fcbefa93c3f10eab3e26 (diff) |
nvim: Simplify callback
Diffstat (limited to '.config')
-rw-r--r-- | .config/nvim/lua/mango/set.lua | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/.config/nvim/lua/mango/set.lua b/.config/nvim/lua/mango/set.lua index 0576e73..3c80c33 100644 --- a/.config/nvim/lua/mango/set.lua +++ b/.config/nvim/lua/mango/set.lua @@ -50,9 +50,7 @@ api.nvim_create_autocmd('BufEnter', { }) api.nvim_create_autocmd('FocusGained', { - callback = function() - vim.cmd('checktime') - end, + command = 'checktime', group = augroup, }) |