Skip to content

Commit 05f97b7

Browse files
authored
Merge pull request #3357 from fatih/revert-3356-fix-syntax-setting-global
Revert "Set `b:main_syntax`, not `g:`"
2 parents 9b6e187 + 767c5ce commit 05f97b7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

syntax/gohtmltmpl.vim

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ if exists("b:current_syntax")
22
finish
33
endif
44

5-
if !exists("b:main_syntax")
6-
let b:main_syntax = 'html'
5+
if !exists("g:main_syntax")
6+
let g:main_syntax = 'html'
77
endif
88

99
runtime! syntax/gotexttmpl.vim

0 commit comments

Comments
 (0)