Fix config
This commit is contained in:
parent
64d6fbfdbc
commit
83b8a2fc23
|
@ -20,7 +20,7 @@ vim.opt.listchars = {
|
||||||
}
|
}
|
||||||
|
|
||||||
-- Trailing whitespace
|
-- Trailing whitespace
|
||||||
vim.fn.matchadd("errorMsg", [[\s\+$]])
|
-- vim.fn.matchadd("errorMsg", [[\s\+$]])
|
||||||
vim.api.nvim_create_autocmd("BufWritePre", { command = [[%s/\s\+$//e]] })
|
vim.api.nvim_create_autocmd("BufWritePre", { command = [[%s/\s\+$//e]] })
|
||||||
|
|
||||||
vim.filetype.add({
|
vim.filetype.add({
|
||||||
|
@ -34,7 +34,8 @@ vim.filetype.add({
|
||||||
-- Workaround: https://github.com/neovim/neovim/issues/21856
|
-- Workaround: https://github.com/neovim/neovim/issues/21856
|
||||||
vim.api.nvim_create_autocmd({ "VimLeave" }, {
|
vim.api.nvim_create_autocmd({ "VimLeave" }, {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.fn.jobstart('notify-send "hello"', {detach=true})
|
-- vim.fn.jobstart('notify-send "hello"', {detach=true})
|
||||||
|
vim.cmd([[sleep 10m]])
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue