My attempt to fix #1867 (closed). I noticed that 1 arabic letter is detected as 2 letters. VSCode has the same behaviour.