parent
4718ba3003
commit
675b40ad38
|
@ -91,7 +91,7 @@ class DumpAggregateTokenData(Method):
|
|||
class GetToken(Method):
|
||||
'''View type and data of the "current" token'''
|
||||
def _execute(self, w, **vargs):
|
||||
if w.mode.name in w.buffer.highlights:
|
||||
if w.mode.name not in w.buffer.highlights:
|
||||
w.set_error('No Token Data')
|
||||
return
|
||||
|
||||
|
|
Loading…
Reference in New Issue