Skip to content

Commit

Permalink
Stop error message when using 'main' branch treesitter
Browse files Browse the repository at this point in the history
  • Loading branch information
markmacode authored Jun 19, 2024
1 parent 06fe07d commit 30aea00
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lua/nvim-ts-autotag.lua
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ function M.init()
if not nvim_ts then
return
end
if nvim_ts.define_modules == nil then
return
end
nvim_ts.define_modules({
autotag = {
attach = function(bufnr, _)
Expand Down

0 comments on commit 30aea00

Please sign in to comment.