-- DO NOT change the paths and don't remove the colorscheme
local root = vim.fn.fnamemodify("./.repro", ":p")
-- set stdpaths to use .repro
for _, name in ipairs({ "config", "data", "state", "cache" }) do
vim.env[("XDG_%s_HOME"):format(name:upper())] = root .. "/" .. name
end
-- bootstrap lazy
local lazypath = root .. "/plugins/lazy.nvim"
if not vim.loop.fs_stat(lazypath) then
vim.fn.system({ "git", "clone", "--filter=blob:none", "https://github.com/folke/lazy.nvim.git", lazypath })
end
vim.opt.runtimepath:prepend(lazypath)
-- install plugins
local plugins = {
{
"nvim-treesitter/nvim-treesitter",
build = ":TSUpdate",
main = "nvim-treesitter.configs",
opts = {
ensure_installed = { "markdown", "markdown_inline" },
highlight = { enable = true },
},
},
{ "EdenEast/nightfox.nvim" },
}
require("lazy").setup(plugins, {
root = root .. "/plugins",
})
vim.cmd.colorscheme("nightfox")
Neovim version (nvim -v)
NVIM v0.9.5
Operating system/version
macOS 14.1 (arm)
Describe the bug
A few markdown treesitter capture groups are missing, most notably:
@markup.list
@markup.raw.markdown_inline
Steps To Reproduce
Create a new file with
Expected Behavior
to have those groups highlighted
Repro