Skip to content

Commit

Permalink
Enable treesitter for docs
Browse files Browse the repository at this point in the history
  • Loading branch information
deathbeam committed Apr 25, 2024
1 parent ccd16d7 commit cac8e6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lua/autocomplete/buffer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -221,6 +221,7 @@ 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')
end
end,
args.buf
Expand Down

0 comments on commit cac8e6a

Please sign in to comment.