Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Is there any interest in indentation patches?
- X-seq: zsh-workers 25316
- From: "Nikolai Weibull" <now@xxxxxxxx>
- To: "Richard Hartmann" <richih.mailinglist@xxxxxxxxx>
- Subject: Re: Is there any interest in indentation patches?
- Date: Sun, 20 Jul 2008 18:10:27 +0200
- Cc: "Andrey Borzenkov" <arvidjaar@xxxxxxxxxx>, zsh-workers@xxxxxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender :to:subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references :x-google-sender-auth; bh=Qs/4Ngq9saPZUQiwDEjDvL2v1mawppuE5VrnoXEXo+A=; b=flLmLpBxwJ49D0+s/nkyFvVPTXZIKq4Dg6tZsAcyOC0g5UQMUsyaujxNCZO7aADShK wRzj4ee5DBV4gnkTW/sORpBZxdLfRx92rojJvuvseKkVhpusKUcQdcRA1gHg7eAVpwoI Jo6MoEYBMAoD3F4nY4MRmfcDxgVVyMECuDAAU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references:x-google-sender-auth; b=UERU/o0ZdZcoGnnd2l3iaXsRWtWMlGpH9uRAoKbtxLIi1uO19IIITgA9+tnTdwVkg3 B9qWXp9ZrbKHTGm8xtL9FRGH9O8cH6435ztrzu+98Zy41DiNecKfeMeUa2EfLq4kv2xO BoXjHFJgMccwgfE+ageqmKvWcBG5KRTuax9t8=
- In-reply-to: <2d460de70807200517g7a2c8067ucc3ca8337426a073@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <2d460de70807191721x683551cdifa946bf1b70e4cf7@xxxxxxxxxxxxxx> <200807200940.14695.arvidjaar@xxxxxxxxxx> <2d460de70807200133v162cad55p66a1a024dd869450@xxxxxxxxxxxxxx> <dbfc82860807200249g2b67ab54u69966b7bef16b98d@xxxxxxxxxxxxxx> <2d460de70807200517g7a2c8067ucc3ca8337426a073@xxxxxxxxxxxxxx>
- Sender: nikolai.weibull@xxxxxxxxx
On Sun, Jul 20, 2008 at 14:17, Richard Hartmann
<richih.mailinglist@xxxxxxxxx> wrote:
> On Sun, Jul 20, 2008 at 11:49, Nikolai Weibull <now@xxxxxxxx> wrote:
>> Please don't. Adding mode-lines is not the right way to maintain
>> consistency. Commit hooks, as you mention elsewhere, are far
>> superior.
> The modeline I would have the most interest in would be
>
> set ft=zsh
>
> so my highlighting works correctly :)
That will be fixed in Vim 7.3. Bram didn't want to add my addition to
$VIMRUNTIME/scripts.vim before 7.2. Anyway, it will look for
emulate zsh
and the like, which should be in more or less every Zsh script anyway.
Also, you can always add your own patterns to your own filetype.vim, for example
au BufNewFile,BufRead /usr/share/zsh/**/* setf zsh
(or something similar).
Messages sorted by:
Reverse Date,
Date,
Thread,
Author