Skip to content

Commit

Permalink
Disable treesitter highlighting due to Neovim TS bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed Jun 4, 2024
1 parent 4324de4 commit ba5100f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lua/autocomplete/buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,8 @@ local function complete_changed(args)
vim.wo[wininfo.winid].conceallevel = 2
vim.wo[wininfo.winid].concealcursor = 'niv'
vim.bo[wininfo.bufnr].syntax = 'markdown'
vim.treesitter.start(wininfo.bufnr, 'markdown')
-- FIXME: Treesitter is *very* buggy with some LSPs, do not use. Already thought it was fixed once before but no
-- vim.treesitter.start(wininfo.bufnr, 'markdown')
end
end,
args.buf
Expand Down

0 comments on commit ba5100f

Please sign in to comment.