Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit04c3fb2

Browse files
committed
Load all tags after syntax instead of only style
1 parent58ac69b commit04c3fb2

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

‎syntax/vue.vim‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ endfunction
7575
function!s:AfterLoadSyntax(syntax)
7676
letsyntax=a:syntax
7777
calls:LoadPatchSyntax(syntax)
78-
calls:LoadStyleAfterSyntax(syntax)
78+
calls:LoadAfterSyntax(syntax)
7979
endfunction
8080

8181
function!s:LoadPatchSyntax(syntax)
@@ -85,11 +85,8 @@ function! s:LoadPatchSyntax(syntax)
8585
endif
8686
endfunction
8787

88-
function!s:LoadStyleAfterSyntax(syntax)
89-
letsyntax=a:syntax
90-
ifcount(['scss','sass','less','stylus'],syntax)==1
91-
execute'runtime! after/syntax/'.syntax.'.vim'
92-
endif
88+
function!s:LoadAfterSyntax(syntax)
89+
execute'runtime! after/syntax/'.a:syntax.'.vim'
9390
endfunction
9491

9592
function!s:GetSyntaxLangName(syntax)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp