Re: [dev] suckless indentation with vim

2022-07-05 Thread Robert Winkler
On Tue Jul 5, 2022 at 7:44 AM CDT, wrote: > >>> If someone's using vim and follows this style, what plugin and/or > >>> setting do you use? > >> > >>set tabstop=8 > >>set softtabstop=0 > >>set shiftwidth=0 > >>set noexpandtab > >> > >>Not being lazy to type text,

Re: [dev] suckless indentation with vim

2022-07-05 Thread NRK
On Tue, Jul 05, 2022 at 08:54:20AM +0200, David Demelier wrote: > I'm not sure if it's really easy to implement a smart alignment. Do you mean implementing it in vimscript/externally or internally? Because I don't think implementing it internally should be difficult, given that it already can do

Re: [dev] suckless indentation with vim

2022-07-05 Thread David Demelier
On Sat, 2022-07-02 at 23:07 +0600, NRK wrote: > Hi, > > The suckless coding style follows "tabs for indent, spaces for > alignment" philosophy. But afaik, vim doesn't support it natively. > > I remember trying out a couple plugins from here: >