Skip to content
Commit 03a3ce34 authored by Sergey Kalinichev's avatar Sergey Kalinichev
Browse files

Use match accuracy when asking for mime type.

Ask KMimeType about match accuracy and if it's very low don't
register languages for that mime type.

Otherwise we can accidently register e.g. *.txt files as supported by
c++ language support plugin.

REVIEW: 120085
parent 1f111414
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