[code] Tabs and Indentation by file type

From: Michael Richter <ttmrichter.att.gmail.com>
Date: Sun, 18 Aug 2013 17:01:48 +0800

OK, I've tinkered with this for a while and can't figure it out.

How do I get Textadept to use tabs/8 for indentation for Makefiles *only*.

More generally, how do I set tabs/spaces/indentation amount by file type.

I've tried putting it into the lexer. I've tried making a subdirectory
under ~/.textadept/modules and putting the stuff in a post_init.lua file
and I never see the indentation/tabs settings change in the actual editor.

"Perhaps people don't believe this, but throughout all of the discussions
of entering China our focus has really been what's best for the Chinese
people. It's not been about our revenue or profit or whatnot."
--Sergey Brin, demonstrating the emptiness of the "don't be evil" mantra.
You are subscribed to code.att.foicica.com.
To change subscription settings, send an e-mail to code+help.att.foicica.com.
To unsubscribe, send an e-mail to code+unsubscribe.att.foicica.com.
Received on Sun 18 Aug 2013 - 05:01:48 EDT

This archive was generated by hypermail 2.2.0 : Sun 18 Aug 2013 - 06:37:31 EDT