Ledger mode font lock improvements