Re: [textadept] Re: Change Tab Width

From: mitchell <c....at.caladbolg.net>
Date: Sat, 26 Feb 2011 07:24:03 -0500 (EST)

Hi,

> 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

I will add an extra reference in the themes section about tab settings
since this kind of situation is probably commonplace.

mitchell

>
> 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.
>>
>>
>
> --
> 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.
>
>

mitchell
Received on Sat 26 Feb 2011 - 07:24:03 EST

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