Skip to content

Commit 767c5ce

Browse files
authored
Revert "Set b:main_syntax, not g:"
1 parent 9b6e187 commit 767c5ce

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)