Stop error message when using 'main' branch treesitter

This commit is contained in:
mbromell 2024-06-19 21:00:25 +01:00 committed by GitHub
parent 06fe07d752
commit 30aea007e0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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, _)