Commit 92edc071 authored by Steve Borho's avatar Steve Borho
Browse files

annotate: unconditionally set lexer (fixes #101)

parent 0ba7701bea1f
......@@ -227,7 +227,6 @@ class AnnotateView(qscilib.Scintilla):
def _updatelexer(self, fctx):
"""Update the lexer according to the given file"""
lex = lexers.get_lexer(fctx.path(), hglib.tounicode(fctx.data()), self)
if lex:
self.setLexer(lex)
def _updaterevmargin(self):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment