From time to time, let's say once a month, when I program, I introduce a No-Break space instead of a regular space, before opening a curly brace.
This happens let's say when I'm writing () {
This leads to mysterious lint bugs. CSS clauses that don't apply. Until I remember this might be it.
As far as I'm aware, this only happens in vim, but since it's my main editor it might just never have happened in other software. But none of my coworkers' in my last jobs ever had that problem, even though they use the same keyboard layout as me. I'm the only one to use vim regularly though, that's why I though of posting here...
This happened to me at least in ubuntu 14.04, 16.04, and mac os x.
:set list
doesn't reveal it.
I'm using a french-canadien keyboard layout, meaning the brace character is done by pressing alt + `
I'm very tired of this causing problems, it's infrequent enough I keep forgetting about it.
If you cannot tell me why this keeps happening, some sort of config to highlight that character in some sort of obvious way would be a suitable answer and really help with this problem.