From 705b518a058f8fc4de4c74222b71cc1130f52bf5 Mon Sep 17 00:00:00 2001 From: leafOfTree Date: Sun, 26 Apr 2020 17:39:33 +0800 Subject: [PATCH] Add comment for LoadFullSyntax() --- syntax/vue.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/syntax/vue.vim b/syntax/vue.vim index b3ea074..e06e646 100644 --- a/syntax/vue.vim +++ b/syntax/vue.vim @@ -58,6 +58,8 @@ function! s:LoadDefaultSyntax(group, type) endfor endfunction +" Load all syntax files in 'runtimepath' +" Useful if there is no default syntax file provided by vim function! s:LoadFullSyntax(group, type) call s:SetCurrentSyntax(a:type) execute 'syntax include '.a:group.' syntax/'.a:type.'.vim'