This is static, the behavior is not updated when the preference is modified. The user has to close and reopen the editor.

The same problem happens for the `tab` key, it put spaces or a tab character accordingly to the value of the preference when the editor was created.
Maybe open a more general ticket.