Exemplo n.º 1
0
	def on_new(self, view):
		Linter.assign(view)
		settings = view.settings()
		syntax = settings.get('syntax')
		def on_change():
			if settings.get('syntax') != syntax:
				Linter.assign(view)

		settings.add_on_change('lint-syntax', on_change)
Exemplo n.º 2
0
		def on_change():
			if settings.get('syntax') != syntax:
				Linter.assign(view)