diff options
| author | Thomas Vigouroux <tomvig38@gmail.com> | 2020-10-22 10:27:44 +0200 |
|---|---|---|
| committer | Thomas Vigouroux <tomvig38@gmail.com> | 2020-10-22 10:42:03 +0200 |
| commit | 801416a8bce03588e6072f180441efeca505c4eb (patch) | |
| tree | ff50cbdaaf0d1cecfeb12a6160bb1bb8abed1387 | |
| parent | 72f5d72413b754af37c924603f9a01400b04e90b (diff) | |
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.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/nvim-treesitter/configs.lua b/lua/nvim-treesitter/configs.lua index 63165f9e..6e192376 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 }, |
