From 7584f7f430aca1b4eacfb6df09ad9fe8d100478e Mon Sep 17 00:00:00 2001 From: rootiest Date: Tue, 9 Jul 2024 16:36:31 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=91=EF=B8=8F=20Clean=20Duplicates?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Remove duplicate autocmd for chezmoi --- lua/config/auto-cmds.lua | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/lua/config/auto-cmds.lua b/lua/config/auto-cmds.lua index 44f27c2..1c4eb25 100644 --- a/lua/config/auto-cmds.lua +++ b/lua/config/auto-cmds.lua @@ -1,11 +1,5 @@ -- ----------------------------------------------------------------------------- -- -------------------------------- AUTO-CMDS ---------------------------------- -- ----------------------------------------------------------------------------- +-- None at the moment -- --- Chez-moi auto-edit-apply source -vim.api.nvim_create_autocmd({ "BufRead", "BufNewFile" }, { - pattern = { os.getenv("HOME") .. "/.local/share/chezmoi/*" }, - callback = function() - vim.schedule(require("chezmoi.commands.__edit").watch) - end, -}) \ No newline at end of file