Open salaerts opened 2 years ago
You can set svelte.plugin.html.completions.enable
to true
, and this will enable you to have auto closing tags for .svelte
files without using coc-html
.
You can then maybe disable coc-html
for svelte files and have it work correctly?
If I have both coc-svelte and coc-html loaded, with
html.autoClosingTags: true
then I get some weird behavior.Suppose I have this code:
If at this point I add another
</dl>dt>
:I can reproduce this with any HTML element.
If I only install coc-html, the auto closing feature works as expected. When I only use coc-svelte I have no auto close functionality. Not sure if this is the correct repo to report this issue.
Setting
html.autoClosingTags
to false acts as a workaround but of course disables auto closure entirely.