fix(util): concealcursor
This commit is contained in:
parent
03c1fbf518
commit
e01c99eb36
|
@ -43,9 +43,9 @@ function M.notify(msg, opts)
|
||||||
replace = opts.id and notif_ids[opts.id] or nil,
|
replace = opts.id and notif_ids[opts.id] or nil,
|
||||||
title = opts.title or "Trouble",
|
title = opts.title or "Trouble",
|
||||||
on_open = function(win)
|
on_open = function(win)
|
||||||
vim.wo.conceallevel = 3
|
vim.wo[win].conceallevel = 3
|
||||||
vim.wo.concealcursor = "n"
|
vim.wo[win].concealcursor = "n"
|
||||||
vim.wo.spell = false
|
vim.wo[win].spell = false
|
||||||
vim.treesitter.start(vim.api.nvim_win_get_buf(win), "markdown")
|
vim.treesitter.start(vim.api.nvim_win_get_buf(win), "markdown")
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Reference in New Issue