Fix conflict with coq_nvim

* fix coq_nvim conflict... using gpt3.5turbo

* delete unnecessary comment
This commit is contained in:
Alex 2023-04-12 08:12:16 -04:00 committed by GitHub
parent b525525b6a
commit 0716740e00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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