Merge pull request #198 from mbromell/patch-1

fix: error message when using nvim-treesitter 'main' branch
This commit is contained in:
Price Hiller 2024-06-21 13:56:10 -05:00 committed by GitHub
commit ddfccbf0df
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, _)