You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a way to teach cspell that a custom regex (not just a word) is an error?
Behind this, I'm looking for a way to catch myself when I use two spaces after a sentence. I'm an old dog who learned to type on a typewriter and have always used two spaces after a sentence. Kids these days insist on one space, and I'm trying to evolve. I'm wondering if cspell can, for example, flag the regex "/(.|?|!) /" (yeah, there should be two spaces in there, but GitHub markdown is probably going to fight me on it) as a spelling error, so I teach myself when I've entered elderly comments. 😜
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Is there a way to teach cspell that a custom regex (not just a word) is an error?
Behind this, I'm looking for a way to catch myself when I use two spaces after a sentence. I'm an old dog who learned to type on a typewriter and have always used two spaces after a sentence. Kids these days insist on one space, and I'm trying to evolve. I'm wondering if cspell can, for example, flag the regex "/(.|?|!) /" (yeah, there should be two spaces in there, but GitHub markdown is probably going to fight me on it) as a spelling error, so I teach myself when I've entered elderly comments. 😜
Beta Was this translation helpful? Give feedback.
All reactions