Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Suggestion for sshconfig.vim
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Leonard Ehrenfried  
View profile  
 More options Feb 19 2012, 5:29 pm
From: Leonard Ehrenfried <leonard.ehrenfr...@web.de>
Date: Sun, 19 Feb 2012 23:29:51 +0100
Local: Sun, Feb 19 2012 5:29 pm
Subject: Re: Suggestion for sshconfig.vim

Dear list,

I have an update for the sshconfig.vim syntax file, which has been
suggested by Tom Ryder.

The output of hg diff is as follows:

diff -r 25b3106f17bd runtime/syntax/sshconfig.vim
--- a/runtime/syntax/sshconfig.vim Sun Feb 19 18:19:30 2012 +0100
+++ b/runtime/syntax/sshconfig.vim Sun Feb 19 22:20:27 2012 +0000
@@ -4,7 +4,7 @@
 " Maintainer:   Leonard Ehrenfried <leonard.ehrenfr...@web.de>
 " Modified By: Thilo Six
 " Originally: 2009-07-09
-" Last Change: 2011 Oct 31
+" Last Change: 2012 Feb 19
 " SSH Version: 5.9p1
 "

@@ -92,7 +92,8 @@
 syn match sshconfigHostPort "\<\(\d\{1,3}\.\)\{3}\d\{1,3}\(:\d\+\)\?\>"
 syn match sshconfigHostPort
"\<\([-a-zA-Z0-9]\+\.\)\+[-a-zA-Z0-9]\{2,}\(:\d\+\)\?\>"
 syn match sshconfigHostPort "\<\(\x\{,4}:\)\+\x\{,4}[:/]\d\+\>"
-
+syn match sshconfigHostPort "\(Host \)\@<=.\+"
+syn match sshconfigHostPort "\(HostName \)\@<=.\+"

 " case off
 syn case ignore

I have attached an updated version of the file.

Thanks,
Leonard

On 18 February 2012 15:50, Tom Ryder <t...@sanctum.geek.nz> wrote:

  sshconfig.vim
11K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bram Moolenaar  
View profile  
 More options Feb 22 2012, 11:03 am
From: Bram Moolenaar <B...@Moolenaar.net>
Date: Wed, 22 Feb 2012 17:03:47 +0100
Local: Wed, Feb 22 2012 11:03 am
Subject: Re: Suggestion for sshconfig.vim

Leonard Ehrenfried wrote:
> I have an update for the sshconfig.vim syntax file, which has been
> suggested by Tom Ryder.

> The output of hg diff is as follows:

Thanks.

Can we adjust the header to remove:

   " Modified By: Thilo Six
   " Originally: 2009-07-09

Now that you, as the maintainer, sent a new version I don't think we
need these.

--
You can't have everything.  Where would you put it?
                -- Steven Wright

 /// Bram Moolenaar -- B...@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Thilo Six  
View profile  
 More options Feb 22 2012, 1:38 pm
From: Thilo Six <T....@gmx.de>
Date: Wed, 22 Feb 2012 19:38:54 +0100
Local: Wed, Feb 22 2012 1:38 pm
Subject: Re: Suggestion for sshconfig.vim
Bram Moolenaar wrote the following on 22.02.2012 17:03

Hello

> Can we adjust the header to remove:

>    " Modified By: Thilo Six
>    " Originally: 2009-07-09

> Now that you, as the maintainer, sent a new version I don't think we
> need these.

/me thinks so, too.

--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Tom Ryder  
View profile  
 More options Feb 23 2012, 5:18 am
From: Tom Ryder <tej.ry...@gmail.com>
Date: Thu, 23 Feb 2012 02:18:16 -0800 (PST)
Local: Thurs, Feb 23 2012 5:18 am
Subject: Re: Suggestion for sshconfig.vim
I would be interested in helping out for known problems in other
syntax files; I've been wanting to contribute to Vim for quite a
while.

On Feb 23, 7:38 am, Thilo Six <T....@gmx.de> wrote:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Help with runtimefiles (was: Re: Suggestion for sshconfig.vim)" by Thilo Six
Thilo Six  
View profile  
 More options Feb 23 2012, 12:37 pm
From: Thilo Six <T....@gmx.de>
Date: Thu, 23 Feb 2012 18:37:51 +0100
Local: Thurs, Feb 23 2012 12:37 pm
Subject: Help with runtimefiles (was: Re: Suggestion for sshconfig.vim)
Tom Ryder wrote the following on 23.02.2012 11:18

> I would be interested in helping out for known problems in other
> syntax files; I've been wanting to contribute to Vim for quite a
> while.

That would be appreciated. There are quite a number runtimefiles which use
linecontinuation but are known not to take care of cpoptions, see ':h cpo-C'.

When providing patches, one might also check the value of 'ts' in modelines. For
official runtimefiles a 'ts=8' is preferred. Probably a reindent is necessary then.

Also i think there a quite a common mistake which i made myself, too. Inside
square brackets '[]' characters like '[.~' do not need to be escaped. But then
one can find often '[\[\~\.]' and so on. These just mean '\' is added to list
which might or might not be what is intended.

I'm currently a bit short of time myself.
--
Regards,
Thilo

4096R/0xC70B1A8F
721B 1BA0 095C 1ABA 3FC6  7C18 89A4 A2A0 C70B 1A8F


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Discussion subject changed to "Suggestion for sshconfig.vim" by Leonard Ehrenfried
Leonard Ehrenfried  
View profile  
 More options Feb 24 2012, 5:46 am
From: Leonard Ehrenfried <leonard.ehrenfr...@web.de>
Date: Fri, 24 Feb 2012 10:46:48 +0000
Local: Fri, Feb 24 2012 5:46 am
Subject: Re: Suggestion for sshconfig.vim

I agree with Thilo and Bram and have removed the two lines and reattached
the file.

Leonard

On 23 February 2012 10:18, Tom Ryder <tej.ry...@gmail.com> wrote:

  sshconfig.vim
11K Download

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bram Moolenaar  
View profile  
 More options Feb 24 2012, 3:36 pm
From: Bram Moolenaar <B...@Moolenaar.net>
Date: Fri, 24 Feb 2012 21:36:18 +0100
Local: Fri, Feb 24 2012 3:36 pm
Subject: Re: Suggestion for sshconfig.vim

Leonard Ehrenfried wrote:
> I agree with Thilo and Bram and have removed the two lines and reattached
> the file.

I'll include it, thanks.

--
I AM THANKFUL...
...for the clothes that fit a little too snug because it
means I have more than enough to eat.

 /// Bram Moolenaar -- B...@Moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »