From 0299a132f7f89946ad179ad4e934306c301dfd68 Mon Sep 17 00:00:00 2001 From: Donovan Glover Date: Wed, 16 Oct 2024 02:25:55 -0400 Subject: [PATCH] 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. --- home/neovim.nix | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/home/neovim.nix b/home/neovim.nix index 78cae76e..672af598 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -353,17 +353,6 @@ nnoremap c (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"; @@ -415,6 +404,7 @@ and lang ~= "glsl" and lang ~= "nix" and lang ~= "prisma" + and lang ~= "markdown" end, additional_vim_regex_highlighting = true, },