Hallo all,
Not sure it is worst posting, but just in case it will be useful
for somebody else...
Using _very_ good build howto from Tony page [1], I have got the
error [3] by trying to build with ruby 1.8.6. It seems that ruby
guys can't imagine their *.h files will be parsed with something
othe
On 24/12/08 09:21, Anton Sharonov wrote:
> Hallo all,
>
> Not sure it is worst posting, but just in case it will be useful
> for somebody else...
>
> Using _very_ good build howto from Tony page [1], I have got the
> error [3] by trying to build with ruby 1.8.6. It seems that ruby
> guys can't ima
> Did you get that Ruby package from the site linked to on my
> HowTo page?
Yes, I did.
Hmm, and now I know why I have downloaded 1.8.6 version, although
the actual stable ruby version is 1.8.7. It is because I was
initially redirected to the German download page:
http://www.ruby-lang.org/de/do
bill lam (2008-12-24 13:28 +0800) wrote:
> On Tue, 23 Dec 2008, Tony Mechelynck wrote:
>> See
>> :help ftplugins
>> :help filetype-plugins
>
> I think that OP does not satisfy with these plugins. I would really
> use language specific pretty print program to do that job.
The GNU "inden
On 24/12/08 11:02, Anton Sharonov wrote:
>> Did you get that Ruby package from the site linked to on my
>> HowTo page?
>
> Yes, I did.
[...]
OK, I've uploaded a new version. What do you think of it?
Best regards,
Tony.
--
Grelb's Reminder:
Eighty percent of all people consider themselv
> OK, I've uploaded a new version. What do you think of it?
In my humble opinion, now it is perfect :)
--
Anton
2008/12/24, Tony Mechelynck :
>
> On 24/12/08 11:02, Anton Sharonov wrote:
>>> Did you get that Ruby package from the site linked to on my
>>> HowTo page?
>>
>> Yes, I did.
> [...]
>
2008/12/24 Matt Wozniski :
> On Tue, Dec 23, 2008 at 11:26 PM, Tony Mechelynck wrote:
> >
> > On 24/12/08 01:04, Oliver Zheng wrote:
> > >
> > > So it seems like there is no feature available.
> > > I guess I'll request this feature on vim.org.
> >
> > It's hard for Vim to guess that in
On Wed, Dec 24, 2008 at 05:12, Tony Mechelynck
wrote:
> Don't. I use ":set list lcs=tab:\|_,eol:¶,nbsp:~" (and, in the light of
> another thread, I don't forget to set 'encoding' to UTF-8 first, not
> afterwards, if the locale is something else).
if &encoding == "utf-8"
set listchars=eol:$,t
On Wed, Dec 24, 2008 at 06:17, Matt Wozniski wrote:
> Which is still a far cry away from properly using tabs for indenting
> blocks and spaces for aligning code automatically. Like I said
> before, vim just isn't capable of doing the right thing here, and
> changing that would require making a
Max Waterman wrote:
> I feel the need to make my tuppence worth...so I'm gonna :
>
> I'm curious how the distinction between 'indent' and 'alignment' has
> been made. I see them as exactly the same thing; as English words, I
> mean. It's obvious from the diagram above what is meant, but the pu
I`m using GVim and Vim under Linux and GVim under Windows.
I have several recorded macro to some registers.
For example a: qa ... q, then I`m using @a to play it.
But how can I move saved macro from one OS to another?
Where do they saved on Linux (GVim and Vim) and on Windows (GVim) then
I`m quiti
>>>It's hard for Vim to guess that in
>>>
>>> if (a == b &&
>>> c == d &&
>>> e == f)
>>>
>>>you want c aligned with a (and not, let's say, one
>>>level of indent further than the "if").
>This is verging on the autistic. The main probl
On Wed, Dec 24, 2008 at 6:25 AM, Antony Scriven wrote:
>
> On Wed, Dec 24, 2008 at 12:17 AM, Matt Wozniski wrote:
>
>> On Tue, Dec 23, 2008 at 11:26 PM, Tony Mechelynck wrote:
>>
>>> However, as others have repeatedly said, with ":set
>>> autoindent copyindent" (and maybe 'preserveindent' but
>>>
On Dec 23, 6:57 pm, Max Waterman
wrote:
> I would like to be able to make use of a real compiler in order to do
> this kind of code parsing. I'm told that the gcc people, for example,
> aren't really interested in doing this.
It looks like the llvm people are trying to do it.
http://clang.llvm.
On 24/12/08 15:45, Richard Hartmann wrote:
> On Wed, Dec 24, 2008 at 05:12, Tony Mechelynck
> wrote:
>
>> Don't. I use ":set list lcs=tab:\|_,eol:¶,nbsp:~" (and, in the light of
>> another thread, I don't forget to set 'encoding' to UTF-8 first, not
>> afterwards, if the locale is something else
On 24/12/08 12:02, Шкоденко Тарас wrote:
> I`m using GVim and Vim under Linux and GVim under Windows.
> I have several recorded macro to some registers.
> For example a: qa ... q, then I`m using @a to play it.
> But how can I move saved macro from one OS to another?
> Where do they saved on Linux
Teemu Likonen 写道:
> The GNU "indent" utility seems to be full-featured tool for indenting C
> code. So if gg=G does not do what user wants then maybe
>
> :%!indent --preferred-indent-style-and-options
>
> will.
That is not going to work for someone who insists hard tabs should be
used in s
Sir Robert Burbridge wrote:
>
> Max Waterman wrote:
>
>> I feel the need to make my tuppence worth...so I'm gonna :
>>
>> I'm curious how the distinction between 'indent' and 'alignment' has
>> been made. I see them as exactly the same thing; as English words, I
>> mean. It's obvious from the
Max Waterman wrote:
> Sir Robert Burbridge wrote:
>> Max Waterman wrote:
>>
>>> I feel the need to make my tuppence worth...so I'm gonna :
>>>
>>> I'm curious how the distinction between 'indent' and 'alignment' has
>>> been made. I see them as exactly the same thing; as English words, I
>>> m
nico wrote:
> On Dec 23, 6:57 pm, Max Waterman
> wrote:
>
>
>> I would like to be able to make use of a real compiler in order to do
>> this kind of code parsing. I'm told that the gcc people, for example,
>> aren't really interested in doing this.
>>
>
> It looks like the llvm people are
On Wed, Dec 24, 2008 at 9:24 PM, Max Waterman wrote:
> This leads me to think that the person requesting this feature should use
> tabs and not spaces, and put a tab in the middle of the text to which he
> wishes to align.
>
> if (thisIsTrue ) {
> DoThis();
> }
>
> ...or something like that.
>
> O
Matt Wozniski 写道:
> Assuming this indent/alignment style is used, you could get code that
> looked like this:
Let's add something more, okay?
> int main() {
> .---int returnval = 5; /* This is the value that I will return.
> .--- It's nonzero, which means failure.
Matt Wozniski wrote:
> On Wed, Dec 24, 2008 at 9:24 PM, Max Waterman wrote:
>
>> This leads me to think that the person requesting this feature should use
>> tabs and not spaces, and put a tab in the middle of the text to which he
>> wishes to align.
>>
>> if (thisIsTrue ) {
>> DoThis();
>> }
>>
On 25/12/08 03:24, Max Waterman wrote:
[...]
> Of course, the flexibility to do what is asked/wanted would be nice, but
> I don't consider this particular case as being something that *should*
> be done because it's *the right way*. On the contrary, IMO, it's more a
> side case that is *the wrong
Tony Mechelynck wrote:
> On 25/12/08 03:24, Max Waterman wrote:
> [...]
>
>> Of course, the flexibility to do what is asked/wanted would be nice, but
>> I don't consider this particular case as being something that *should*
>> be done because it's *the right way*. On the contrary, IMO, it's more
On Wed, Dec 24, 2008 at 11:43 PM, pansz wrote:
>
> Matt Wozniski 写道:
>> Assuming this indent/alignment style is used, you could get code that
>> looked like this:
>
> Let's add something more, okay?
...
> The comment will not get aligned after you changed the tab size. mixed
> tab and spaces does n
26 matches
Mail list logo