mirror of
https://github.com/donovanglover/nix-config.git
synced 2024-11-28 11:13:59 +01:00
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:
parent
94d26cfae6
commit
0299a132f7
@ -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,
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user