Keep Mac OS X from mangling your Lua code

If you write Lua, you might find yourself trying to type three dots in a row for a function with variable parameters. When doing this recently, I found that it was frustratingly being turned into an ellipse (the “three dots in one character” symbol) despite the fact that my text editor had all the auto-everything turned off.

It turns out that Mac OS X (at least 10.6, might be earlier too) can “helpfully” perform some MS Word-style autocorrections for you. I had a little difficulty finding where, so I thought I’d archive it in spiderable-space here. Here’s how to turn down the offer of help:

  • Open System Preferences, and choose the Language & Text item.

  • Choose the Text tab.
  • Uncheck all undesired corrections.

Comments are closed.