nvim: don't crash on no pywal + other random

This commit is contained in:
2024-04-19 13:34:12 +03:00
parent bc821b1197
commit b4d779f5fc
3 changed files with 35 additions and 35 deletions

View File

@ -17,6 +17,7 @@ vim.opt.sw = 4
vim.opt.swapfile = false
vim.opt.timeoutlen = 500
vim.opt.ts = 4
vim.opt.linebreak = true
-- trigger autoread on file change
vim.api.nvim_create_autocmd({ "FocusGained", "BufEnter", "CursorHold", "CursorHoldI" }, {

View File

@ -4,7 +4,7 @@ return {
{ "mbrea-c/wal-colors.nvim" },
},
config = function()
vim.cmd([[colorscheme mbc]])
pcall(vim.cmd, "colorscheme mbc")
end,
priority = 1000,
}