mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2024-12-28 21:19:16 -06:00
Merge pull request #198 from mbromell/patch-1
fix: error message when using nvim-treesitter 'main' branch
This commit is contained in:
commit
ddfccbf0df
@ -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, _)
|
||||
|
Loading…
Reference in New Issue
Block a user