Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

syntax highlight randomly crashed when editing/scrolling through vue SFC #307

Closed
lzl19971215 opened this issue Sep 13, 2023 · 2 comments
Closed

Comments

@lzl19971215
Copy link

Hi,
I have installed coc-volar and enable take over mode in my vue project. I find volar syntax highlight crashed randomly when I edit or browse through a SFC vue file:
image

this is my coc log:
image

Can anyone help? Thanks!

@yaegassy
Copy link
Owner

I think notifiacation: highlight [] you are seeing in your logs is due to the inclusion of this setting shown in the README for coc.nvim. However, I don't think this is a particular problem, but if you are concerned about that log, try removing it from the configuration file.

I think the frequent crashe of syntax highlighting in Vue files is other problem. Try adding a syntax highlighting plugin for Vue or use nvim-treesitter

@lzl19971215
Copy link
Author

Thanks a lot, adding a syntax highlighting plugin for Vue can solve this problem!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants