mirror of
https://github.com/windwp/nvim-ts-autotag.git
synced 2025-01-01 13:59:13 -06:00
Fix conflict with coq_nvim
* fix coq_nvim conflict... using gpt3.5turbo * delete unnecessary comment
This commit is contained in:
parent
b525525b6a
commit
0716740e00
@ -330,11 +330,13 @@ M.close_tag = function()
|
||||
buf_parser:parse()
|
||||
local result, tag_name = check_close_tag()
|
||||
if result == true and tag_name ~= nil then
|
||||
vim.cmd(string.format([[normal! a</%s>]], tag_name))
|
||||
vim.cmd([[normal! F>]])
|
||||
end
|
||||
vim.api.nvim_put({string.format("</%s>", tag_name)}, "", true, false)
|
||||
vim.cmd([[normal! F>]])
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
|
||||
local function replace_text_node(node, tag_name)
|
||||
if node == nil then
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user