From d0bf155fa861a75e14f28989dba3ca29d551dac7 Mon Sep 17 00:00:00 2001 From: Steven Crawford Date: Wed, 22 Apr 2026 15:37:14 -0500 Subject: [PATCH] update for updates --- lua/shelbybark/core/options.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/shelbybark/core/options.lua b/lua/shelbybark/core/options.lua index 50ca50a..2cd41d7 100644 --- a/lua/shelbybark/core/options.lua +++ b/lua/shelbybark/core/options.lua @@ -46,3 +46,10 @@ opt.splitbelow = true -- split horizontal window to the bottom -- turn off swapfile opt.swapfile = false + +-- auto-reload files changed outside neovim +opt.autoread = true +vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, { + pattern = "*", + command = "checktime", +})