Skip to content

Commit ac74aaa

Browse files
author
DisposaBoy
committed
* close DisposaBoy#340 . sync the settings in all files
1 parent 91a9cb0 commit ac74aaa

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

gsev.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,8 @@ def do_sync_active_view(view):
6666
if fn.lower().endswith('.go'):
6767
gs.set_attr('last_active_go_fn', fn)
6868

69-
if gs.is_pkg_view(view):
69+
win = view.window()
70+
if win is not None and view in win.views():
7071
m = {}
7172
psettings = view.settings().get('GoSublime')
7273
if psettings and gs.is_a(psettings, {}):

0 commit comments

Comments
 (0)