neovim: replace vim-markdown with treesitter

Seems like vim-markdown started having highlighting issues in the
recent neovim update. Since treesitter does everything we were using
vim-markdown for, we can use that instead.
This commit is contained in:
Donovan Glover 2024-10-16 02:25:55 -04:00
parent 94d26cfae6
commit 0299a132f7
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -353,17 +353,6 @@
nnoremap <localleader>c <plug>(vimtex-env-change) nnoremap <localleader>c <plug>(vimtex-env-change)
''; '';
} }
{
plugin = vim-markdown;
config = # vim
''
let g:vim_markdown_folding_disabled = 1
let g:vim_markdown_conceal = 0
let g:vim_markdown_frontmatter = 1
let g:vim_markdown_toml_frontmatter = 1
let g:vim_markdown_json_frontmatter = 1
'';
}
{ {
plugin = nvim-ts-autotag; plugin = nvim-ts-autotag;
type = "lua"; type = "lua";
@ -415,6 +404,7 @@
and lang ~= "glsl" and lang ~= "glsl"
and lang ~= "nix" and lang ~= "nix"
and lang ~= "prisma" and lang ~= "prisma"
and lang ~= "markdown"
end, end,
additional_vim_regex_highlighting = true, additional_vim_regex_highlighting = true,
}, },