summaryrefslogtreecommitdiff
path: root/.config/nvim/lua/mango
diff options
context:
space:
mode:
Diffstat (limited to '.config/nvim/lua/mango')
-rw-r--r--.config/nvim/lua/mango/set.lua4
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,
})