Ok, I’ve been trying this plugin out for Markdown (GitHub - MeanderingProgrammer/markdown.nvim: Plugin to improve viewing Markdown files in Neovim) and wanted to have the same for Livebook notebooks.
vim detects *.livemd as filetype = livebook.
So, we need this to make treesitter to understand livebook as markdown:
vim.treesitter.language.register("markdown", "livebook")
And we need to set markdown.nvim as well:
{
"MeanderingProgrammer/markdown.nvim",
opts = {
file_types = { "markdown", "livebook" },
},
},