Auto merge of #3006 - micbou:fix-diacritic-table, r=puremourning

[READY] Fix smart matching example in documentation

The smart matching example is wrong: `o` can't match `ø` because `ø` is a letter on its own, not a `o` with a combining mark.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/valloric/youcompleteme/3006)
<!-- Reviewable:end -->
This commit is contained in:
zzbot 2018-04-30 07:56:26 -07:00 committed by GitHub
commit d665f817ea
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 7 deletions

View File

@ -866,9 +866,9 @@ letter with or without marks:
<tr>
<th>matches</th>
<th>foo</th>
<th>føo</th>
<th>fôo</th>
<th>fOo</th>
<th>fØo</th>
<th>fÔo</th>
</tr>
<tr>
<th>foo</th>
@ -878,7 +878,7 @@ letter with or without marks:
<td>✔️</td>
</tr>
<tr>
<th>føo</th>
<th>fôo</th>
<td></td>
<td>✔️</td>
<td></td>
@ -892,7 +892,7 @@ letter with or without marks:
<td>✔️</td>
</tr>
<tr>
<th>fØo</th>
<th>fÔo</th>
<td></td>
<td></td>
<td></td>

View File

@ -1118,15 +1118,15 @@ both). On top of that, a letter with no diacritic marks will match that letter
with or without marks:
---------------------------------------------
| _matches_ | _foo_ | _føo_ | _fOo_ | _fØo_ |
| _matches_ | _foo_ | _fôo_ | _fOo_ | _fÔo_ |
---------------------------------------------
| _foo_ | ✔️ | ✔️ | ✔️ | ✔️ |
---------------------------------------------
| _føo_ | ❌ | ✔️ | ❌ | ✔️ |
| _fôo_ | ❌ | ✔️ | ❌ | ✔️ |
---------------------------------------------
| _fOo_ | ❌ | ❌ | ✔️ | ✔️ |
---------------------------------------------
| _fØo_ | ❌ | ❌ | ❌ | ✔️ |
| _fÔo_ | ❌ | ❌ | ❌ | ✔️ |
---------------------------------------------