Re: [textadept] Re: Change Tab Width

From: Robert <ro....at.web.de>
Date: Sat, 26 Feb 2011 16:45:11 +0100

To have this setting persist with new views and buffers it's better to
put this in
a modified version of your theme's buffer.lua which you can copy
to your ~/.textadept directory and modify.

See
http://caladbolg.net/luadoc/textadept/manual/8_Themes.html

Robert

On Sat, Feb 26, 2011 at 4:28 PM, Howie <zhehao.....at.gmail.com> wrote:
> Oh, wait, nevermind, I figured it out, it's buffer.indent. Sorry about
> asking a stupid question, I should have read the previous discussions
> first.
>
> On Feb 26, 10:25 am, Howie <zhehao.....at.gmail.com> wrote:
>> I am trying to change tab width by putting
>>
>> _G.buffer.tab_width = 4 in my init.lua, but the tab_width is still set
>> to 2.
>>
>> Am I doing something wrong?
>
> --
> You received this message because you are subscribed to the Google Groups "textadept" group.
> To post to this group, send email to textadept.at.googlegroups.com.
> To unsubscribe from this group, send email to textadept+unsubscribe.at.googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/textadept?hl=en.
>
>
Received on Sat 26 Feb 2011 - 10:45:11 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 12:00:15 EST