mirror of
https://github.com/posva/vim-vue.git
synced 2025-12-08 10:24:45 +08:00
35 lines
534 B
Plaintext
35 lines
534 B
Plaintext
#
|
|
# HTML
|
|
#
|
|
Given vue(HTML template without lang attribute):
|
|
<template>
|
|
<div></div>
|
|
</template>
|
|
|
|
Execute:
|
|
AssertEqual 'htmlTag', SyntaxAt(2, 3)
|
|
|
|
#
|
|
# JavaScript
|
|
#
|
|
Given vue:
|
|
<script>
|
|
//
|
|
</script>
|
|
|
|
Execute:
|
|
AssertEqual 'javaScriptLineComment', SyntaxAt(2, 3)
|
|
" TODO: Assert that the script tag is highlighted as HTML
|
|
|
|
#
|
|
# CSS
|
|
#
|
|
Given vue(CSS region without lang attribute):
|
|
<style>
|
|
/**/
|
|
</style>
|
|
|
|
Execute:
|
|
AssertEqual 'cssComment', SyntaxAt(2, 3)
|
|
" TODO Assert that the style tag is highlighted as HTML
|