fix(utils): disable spell checking for notifications

This commit is contained in:
Micah Halter
2023-07-05 14:36:43 -04:00
parent 04b36ef724
commit 02c2f50149
+7 -4
View File
@@ -139,10 +139,13 @@ function M.notify(msg, type, opts)
vim.notify(
msg,
type,
M.extend_tbl(
{ title = "AstroNvim", on_open = function(win) vim.bo[vim.api.nvim_win_get_buf(win)].filetype = "markdown" end },
opts
)
M.extend_tbl({
title = "AstroNvim",
on_open = function(win)
vim.bo[vim.api.nvim_win_get_buf(win)].filetype = "markdown"
vim.wo[win].spell = false
end,
}, opts)
)
end)
end