Skip to content

Commit

Permalink
neovim: replace vim-markdown with treesitter
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
donovanglover committed Oct 16, 2024
1 parent 94d26cf commit 0299a13
Showing 1 changed file with 1 addition and 11 deletions.
12 changes: 1 addition & 11 deletions home/neovim.nix
Original file line number Diff line number Diff line change
Expand Up @@ -353,17 +353,6 @@
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;
type = "lua";
Expand Down Expand Up @@ -415,6 +404,7 @@
and lang ~= "glsl"
and lang ~= "nix"
and lang ~= "prisma"
and lang ~= "markdown"
end,
additional_vim_regex_highlighting = true,
},
Expand Down

0 comments on commit 0299a13

Please sign in to comment.