Skip to content
Commit 8212e343 authored by Aleix Pol Gonzalez's avatar Aleix Pol Gonzalez 🐧 Committed by Igor Kushnir
Browse files

clang: Make sure completion priority is verbose enough

We are squeezing a 0-80 priority range into 0-10 one, all integers. This
makes it easy for us to lose information rather soon.

Since we are only setting the MatchQuality for those Clang claims to be
between 0-20 (i.e. under CCP_SuperCompletion), we can narrow our
conversion to 0-20 too.

This allows us to properly sort some items that clang was properly
sorting but we were unable to express correctly.
parent 77e503c7
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