Commits

Anonymous committed a06546c

Refactor: Rename variable.

  • Participants
  • Parent commits ac00938

Comments (0)

Files changed (1)

 class TablistCloseViewCommand(sublime_plugin.TextCommand):
 	def run(self, args):
 		v = self.view
-		w = v.window()
+		window = v.window()
 		line = v.substr(v.line(v.sel()[0].begin()))
 		sep_pos = line.find(':')
 		view_id = int(line[0:sep_pos])
-		all_views = w.views()
+		all_views = window.views()
 		for x in all_views:
 			if (x.id() == view_id):
-				w.focus_view(x)
-				w.run_command('close')
-				w.run_command('tablist')
+				window.focus_view(x)
+				window.run_command('close')
+				window.run_command('tablist')
 				return
 
 class TablistSwitchCommand(sublime_plugin.WindowCommand):