fix(util): concealcursor

This commit is contained in:
Folke Lemaitre 2024-07-14 21:19:09 +02:00
parent 03c1fbf518
commit e01c99eb36
No known key found for this signature in database
GPG Key ID: 41F8B1FBACAE2040
1 changed files with 3 additions and 3 deletions

View File

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