From 83b8a2fc2346a97d8f3b23031ec684c5213e35e7 Mon Sep 17 00:00:00 2001 From: Maciej Jur Date: Mon, 24 Jul 2023 22:08:33 +0200 Subject: [PATCH] Fix config --- nvim/lua/global.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/nvim/lua/global.lua b/nvim/lua/global.lua index 15c1bd9..c9fc5ad 100644 --- a/nvim/lua/global.lua +++ b/nvim/lua/global.lua @@ -20,7 +20,7 @@ vim.opt.listchars = { } -- Trailing whitespace -vim.fn.matchadd("errorMsg", [[\s\+$]]) +-- vim.fn.matchadd("errorMsg", [[\s\+$]]) vim.api.nvim_create_autocmd("BufWritePre", { command = [[%s/\s\+$//e]] }) vim.filetype.add({ @@ -34,7 +34,8 @@ vim.filetype.add({ -- Workaround: https://github.com/neovim/neovim/issues/21856 vim.api.nvim_create_autocmd({ "VimLeave" }, { callback = function() - vim.fn.jobstart('notify-send "hello"', {detach=true}) + -- vim.fn.jobstart('notify-send "hello"', {detach=true}) + vim.cmd([[sleep 10m]]) end, })