summaryrefslogtreecommitdiffstats
path: root/init.lua
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-08 17:24:22 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-08 17:24:22 +0200
commit3e397405cdfb7e1d48536d14956fd51b5a96735a (patch)
tree9f721d9d59a1c8549a09f80b447386fb1bddaad3 /init.lua
parentf9f4cf4be302f6f5b59fd600b21aec37a56b6135 (diff)
downloadnvim-config-3e397405cdfb7e1d48536d14956fd51b5a96735a.tar.gz
nvim-config-3e397405cdfb7e1d48536d14956fd51b5a96735a.zip
misc(nvim): remove "file has changed on disk" notification
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua8
1 files changed, 0 insertions, 8 deletions
diff --git a/init.lua b/init.lua
index 5c17152..d215c9c 100644
--- a/init.lua
+++ b/init.lua
@@ -88,14 +88,6 @@ vim.api.nvim_create_autocmd({ "FileChangedShell" }, {
end
end,
})
-vim.api.nvim_create_autocmd({ "FileChangedShellPost" }, {
- desc = "Notify buffer reloaded because its file has changed on disk",
- group = vim.g.dotfiles.augroup,
- pattern = "*",
- callback = function(opts)
- vim.notify("File " .. opts.file .. " has changed on disk", vim.log.levels.WARN)
- end,
-})
------------------------------------------------------------------------------------------------------------------------
-- Commands (there's more in the different plugins)