numToStr / Comment.nvim

:brain: :muscle: // Smart and powerful comment plugin for neovim. Supports treesitter, dot repeat, left-right/up-down motions, hooks, and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Vue comments are broken

YTheSeven opened this issue · comments

The submission from a month ago still seems to be correct

Expected behaviour (filetype=vue)

<style>
/* display: flex; */
</style>

Actual behaviour:

<style>
<!-- display: flex;  -->
</style>

Please provide proper steps.

Please provide proper steps.

It was working fine before, after I did an update this problem occurs

Working just fine for me. Make sure you are on 0.9 stable and vue treesitter parser installed.

Working just fine for me. Make sure you are on 0.9 stable and vue treesitter parser installed.

on commit ab62084,it's ok

If you are using nvim 0.8, then you can stick to that commit. I am on nvim 0.9 and everything is working fine for me.

I also using 0.9

NVIM v0.9.0-dev
Build type: RelWithDebInfo
LuaJIT 2.1.0-beta3

It seems you are a nightly user. Would you mind updating to the latest nightly?

It seems you are a nightly user. Would you mind updating to the latest nightly?

OK,i will try,thank you so much😊

Now it works!

<style>
/* display: flex; */
</style>

but use scss work bad

<style lang="scss" scoped>
<!-- display: flex;  -->
</style>

Do you have scss parser installed?

Do you have scss parser installed?

i install nvim-ts-context-commentstring and it worked fine,thanks!🎉🎉🎉