chore(nvim): few tweaks

This commit is contained in:
Afonso Franco 2024-12-28 22:14:20 +00:00
parent 236e096051
commit ee0e04842b
Signed by: afonso
SSH key fingerprint: SHA256:gkVPzsQQJzqi21ntQBV6pXTx4bYI53rFGI4XtvCpwd4
5 changed files with 29 additions and 11 deletions

View file

@ -84,13 +84,17 @@ return {
table.insert(newVirtText, { suffix, 'MoreMsg' })
return newVirtText
end
-- global handler
-- `handler` is the 2nd parameter of `setFoldVirtTextHandler`,
-- check out `./lua/ufo.lua` and search `setFoldVirtTextHandler` for detail.
require('ufo').setup({
fold_virt_text_handler = handler
})
end
},
{
"OXY2DEV/markview.nvim",
ft = "markdown",
dependencies = {
"nvim-treesitter/nvim-treesitter",
"nvim-tree/nvim-web-devicons"
}
}
}