From 242d0334ba4b12164ea422a0b36d60d22ae42816 Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Wed, 4 Dec 2019 10:17:00 +0800 Subject: [PATCH] Improve code comment --- syntax/vue.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/syntax/vue.vim b/syntax/vue.vim index 0cc8385..69ed3fb 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -75,13 +75,14 @@ endfunction " Load main syntax {{{ " """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" -" Load syntax/*.vim to syntax group +" Load syntax/html.vim to syntax group, which loads full JavaScript and CSS +" syntax. It defines group htmlJavaScript and htmlCss. call s:LoadSyntax('@HTMLSyntax', 'html') " Load vue-html syntax runtime syntax/vue-html.vim -" Avoid overload. 'syntax/html.vim' defines htmlCss and htmlJavaScript +" Avoid overload. if hlexists('cssTagName') == 0 call s:LoadSyntax('@htmlCss', 'css') endif