leafOfTree
b899ab9d54
Highlight Vue 3.3+ APIs and <script setup> macros ( #24 )
...
Add the APIs from https://vuejs.org/api/ that were missing, like
defineProps, defineEmits, defineModel, withDefaults, useTemplateRef
and toValue, and the options emits, expose, slots and serverPrefetch.
Also highlight them before type arguments, e.g.
defineProps<{ foo: string }>() or ref<number>(1).
2026-10-19 13:43:00 +00:00
leafOfTree
ed318345cf
Simplify html syntax commands
2023-01-31 15:17:32 +08:00
leafOfTree
84ac1d2359
Highlight <script...> as htmlTagName instead of htmlSpecialTagName from built-in syntax
2022-10-11 14:16:21 +08:00
leafOfTree
b2bb4dd8f6
Fix miniprogram syntax containing blank
2022-03-03 15:27:17 +08:00
leafOfTree
469c43292d
Fix syntax error for directives without value
2021-11-05 17:50:11 +08:00
leafOfTree
3fa4bea6df
Fix keyword error from containedin pattern
2021-08-13 19:05:46 +08:00
leafOfTree
c248bd1488
Load syntax and then set syntax to fix syntax sync
2021-08-13 16:56:22 +08:00
leafOfTree
8d464e9506
Support vue3 API keywords
2021-08-13 16:29:57 +08:00
leafOfTree
ab96ba2585
Support global api syntax
2021-08-13 13:08:06 +08:00
leafOfTree
4dd559c860
Support vue3 composition api
2021-08-13 12:50:34 +08:00
leafOfTree
44b0071e2d
Add custom tags
2021-08-02 15:02:30 +08:00
leafOfTree
3d2680a859
Support view block
2021-07-30 14:41:13 +08:00
leafOfTree
f1b7ea05b8
Backwards compatibility with init_indent
2021-04-16 14:46:11 +08:00
leafOfTree
6a94c30ec7
Add new 'initial indent' option
2021-04-16 13:33:56 +08:00
leafOfTree
87922641ad
Fix various indent issues
2021-04-15 18:49:29 +08:00
leafOfTree
f460616735
Add patch for mustache syntax from vim-mustache-handlebars
2021-04-13 15:06:55 +08:00
leafOfTree
c70cd332ad
Support template string in vue attr
2021-04-08 18:50:15 +08:00
leafOfTree
e1dab23589
Improve code and performance
2021-03-29 15:58:50 +08:00
leafOfTree
2b050c42c1
Refactor the whole plugin
2021-03-23 11:50:46 +08:00