[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?)
- From: Sean Conner <sean@...>
- Date: Thu, 15 Jun 2017 01:36:14 -0400
It was thus said that the Great Daurnimator once stated:
> On 15 June 2017 at 14:15, Soni L. <fakedme@gmail.com> wrote:
> > \tlocal function f(u)
> > \t\tlocal v = u:match('^([^/]+)/') ..
> > \t\t\t\t\t\t\tu:match('^[^/]+/[^:]+(:.*)$')
> > \t\tif v:match("^nope:") then
> > \t\t\treturn nil, v:match("^nope:(.*)$")
> > \t\tend
> > \t\treturn v
> > \tend
> >
> > Have fun getting line 3 to align with line 2 when you're not using tab width
> > = 2.
>
> "Tabs for indentation, spaces for alignment"
> https://www.emacswiki.org/emacs/SmartTabs
> http://vim.wikia.com/wiki/Indent_with_tabs,_align_with_spaces
>
> But also: I don't (nor do I see other people regularly) align lua code.
<raises hand> I do.
https://github.com/spc476/lua-conmanorg/blob/master/lua/string.lua
-spc (The only rational is that it looks nicer to me)
- References:
- Tab versus space indentation, and source code control systems... (was: Re: Style guide?), sur-behoffski
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Sergey Rozhenko
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Enrico Colombini
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Charles Heywood
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), David Goehrig
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Soni L.
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), David Goehrig
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Coda Highland
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Soni L.
- Re: Tab versus space indentation, and source code control systems... (was: Re: Style guide?), Daurnimator