Fix config

This commit is contained in:
Maciej Jur 2023-07-24 22:08:33 +02:00
parent 64d6fbfdbc
commit 83b8a2fc23

View file

@ -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,
})