Closed hopezh closed 7 months ago
Version 4 had a breaking change that added new config values.
You need to add them to your filetypes as well. :help headlines-bullet_highlights
and :help headlines-bullets
.
You can set them to empty lists if you don't want them, but they need to be defined.
I was using
headlines.nvim
previously to highlight the headers and code blocks inqmd
file, a type ofmarkdown
file basically for the[quarto](https://quarto.org/)
publication system, which works perfect.However, I got the following error message recently, trying to edit a
qmd
file, which is probably related to the callback function in line 26.Commenting out these lines related to the
vim.schedule
function will generate new error messages as shown below.Changing the
.qmd
suffix to.md
for the same file will makeheadlines.nvim
works again.May I ask:
headlines.nvim
to supportqmd
markdown files?Thanks.
My
headlines.lua
config file is shown below, which is from mylazyvim
fork: oatVim05