aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Vigouroux <tomvig38@gmail.com>2020-10-22 10:27:44 +0200
committerThomas Vigouroux <tomvig38@gmail.com>2020-10-22 10:42:03 +0200
commit801416a8bce03588e6072f180441efeca505c4eb (patch)
treeff50cbdaaf0d1cecfeb12a6160bb1bb8abed1387
parentLanguageTree: don't error when injecting a language (diff)
downloadnvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar.gz
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar.bz2
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar.lz
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar.xz
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.tar.zst
nvim-treesitter-801416a8bce03588e6072f180441efeca505c4eb.zip
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.
-rw-r--r--lua/nvim-treesitter/configs.lua2
1 files changed, 1 insertions, 1 deletions
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
},