1
0
forked from extern/nix-config

feat(neovim): Highlight markdown code blocks

This adds syntax highlighting to code blocks with vim-markdown while
keeping pretty much everything else the same.
This commit is contained in:
Donovan Glover 2023-08-01 12:15:58 -04:00
parent 5f629bf0d6
commit 4e4ceeb6fb
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65

View File

@ -386,6 +386,16 @@ in
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 = alpha-nvim; plugin = alpha-nvim;
type = "lua"; type = "lua";