From 801416a8bce03588e6072f180441efeca505c4eb Mon Sep 17 00:00:00 2001 From: Thomas Vigouroux Date: Thu, 22 Oct 2020 10:27:44 +0200 Subject: fix(markdown): disable highlighting The markdown scanner errors out far too often to be usable, disabling it by default would avoid many issues until those assertion errors are fixed. --- lua/nvim-treesitter/configs.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua') diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 63165f9e0..6e1923768 100644 --- a/lua/nvim-treesitter/configs.lua +++ b/lua/nvim-treesitter/configs.lua @@ -20,7 +20,7 @@ local builtin_modules = { highlight = { module_path = 'nvim-treesitter.highlight', enable = false, - disable = {}, + disable = {'markdown'}, -- FIXME(vigoux): markdown highlighting breaks everything for now custom_captures = {}, is_supported = queries.has_highlights }, -- cgit v1.2.3-70-g09d2