mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2025-01-01 12:49:15 -06:00
fix #103
This commit is contained in:
parent
cac97f3b47
commit
59840f6f2f
@ -552,11 +552,8 @@ M.attach = function(bufnr, lang)
|
||||
if M.enable_rename == true then
|
||||
bufnr = bufnr or vim.api.nvim_get_current_buf()
|
||||
vim.api.nvim_create_autocmd('InsertLeave', {
|
||||
group = vim.api.nvim_create_augroup('ts-autotag-rename', { clear = true }),
|
||||
buffer = bufnr,
|
||||
callback = function()
|
||||
M.rename_tag()
|
||||
end
|
||||
callback = M.rename_tag
|
||||
})
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user