-
Notifications
You must be signed in to change notification settings - Fork 9
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
Support Composition Api Syntax #24
Comments
Hey, thank you for mentioning it. Of course we should support it. |
Hi, I've added Vue3 composition API syntax highlight based on https://v3.vuejs.org/api/composition-api.html. They were tested in a demo Vue3 project created by the latest vue-cli.
Since it's new, maybe we should keep this issue open and update the plugin if something changes. |
@leafOfTree I'm wondering if there's a js plugin you recommend to use in conjunction with this plugin? A lot of my project is in vue files, but I often have pure js files for some utilites which don't get picked up without a js plugin. I was using pangloss/vim-javascript, but that seems to conflict with this plugin: |
@Mootook, thank you for the feedback. I'm using Vim8.2 without any js plugin. The default syntax with a little adjustment works well for me. As you mentioned, By the way, I just fixed the issue which is shown in the screenshot. |
@leafOfTree Thanks! Really appreciate the work on this plugin. Also, just as a note, seems like vue-next (vue3) has some experimental changes to the setup/composition API out right now. https://github.com/vuejs/rfcs/blob/script-setup-2/active-rfcs/0000-script-setup.md. Probably worth waiting till its official though. |
I see. We could wait until it's stable. |
#24 (comment) |
Exactly. I see that below are considered stable.
The documentations are
I'll try to support these new syntax highlights. |
Hi, @Mootook . I've added these new API syntaxes. Would you like to help test it and let me know if it works? |
@leafOfTree, I've been using them in my team's project since they were released. Seems good! |
Great! Thanks a lot. |
Do this plugin has a plan support composition api syntax highlight ?
it will be very nice.
The text was updated successfully, but these errors were encountered: