docker syntax files

2014-08-21 Fir de Conversatie Lokesh Mandvekar
Hi, I was hoping syntax highlighting for docker could be included by default in vim. The files can be found here: https://github.com/docker/docker/tree/master/contrib/syntax/vim Would the BSD license cause any trouble in this matter? Thanks, -- Lokesh pgpeuXBUWT3pd.pgp Description: PGP

Re: {func} of sort()

2014-08-21 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 21.08.2014 um 03:50 schrieb mattn: About making list sorted by string of one of value. echo 3 3 0 This is TRUE, then: echo MapSort([{foo:{bar: 3}}, {foo:{bar: 3 0}}], 'v:val[foo][bar]') We expecet it should be kept: [{foo:{bar: 3}}, {foo:{bar: 3 0}}] But results are: [{'foo': {'bar':

Re: [Bulk] Re: [Bulk] Re: Add count to :close and :hide commands

2014-08-21 Fir de Conversatie 'Andy Wokula' via vim_dev
Am 21.08.2014 um 07:49 schrieb Christian Brabandt: Am 2014-08-20 19:03, schrieb 'Andy Wokula' via vim_dev: Some people expect :1,$bd or :%bd to delete all buffers. That only works by accident, because your current buffer has more lines than you have open buffers. Or saying it differently,

Re: [Bulk] [Bulk] Add count to :close and :hide commands

2014-08-21 Fir de Conversatie Christian Brabandt
On Do, 21 Aug 2014, 'Andy Wokula' via vim_dev wrote: Am 21.08.2014 um 07:49 schrieb Christian Brabandt: Am 2014-08-20 19:03, schrieb 'Andy Wokula' via vim_dev: Some people expect :1,$bd or :%bd to delete all buffers. That only works by accident, because your current buffer has more

Re: docker syntax files

2014-08-21 Fir de Conversatie Bram Moolenaar
Lokesh Mandvekar wrote: I was hoping syntax highlighting for docker could be included by default in vim. The files can be found here: https://github.com/docker/docker/tree/master/contrib/syntax/vim Would the BSD license cause any trouble in this matter? I prefer the author sending the

Re: docker syntax files

2014-08-21 Fir de Conversatie Benjamin R. Haskell
(The following assumes I haven't missed something about the Vim development process during my extended absence from vim-{dev/use}.) On Thu, Aug 21, 2014 at 3:39 PM, Bram Moolenaar b...@moolenaar.net wrote: Lokesh Mandvekar wrote: I was hoping syntax highlighting for docker could be included

minor issue with c.vim

2014-08-21 Fir de Conversatie Will Fiveash
The C syntax file doesn't appear to handle this properly (the {} braces are highlighted in red which isn't correct): #define ALIGNOF(_t) offsetof(struct { char c; _t _m; }, _m) I'm running very current vim (changeset: 6146:7af530381fec) with c.vim at this changeset: changeset:

Re: {func} of sort()

2014-08-21 Fir de Conversatie mattn
We need to escape string to avoid to handle index as value. I don't think so. I don't want to need to provide this function in all plugins. Just want to get it in official sort function. The reason is: :echo sort(['3 0', '3 0 1']) ['3 0 1', '3 0'] I'd expect ['3 0', '3 0 1'].

Re: {func} of sort()

2014-08-21 Fir de Conversatie John Little
On Friday, August 22, 2014 12:05:33 PM UTC+12, mattn wrote: Bug in sort() function? See :help sort() The sort is stable, items which compare equal (as number or as... There is indeed a bug in sort(). The stability of the sort is not relevant. I haven't been following the thread too

Re: docker syntax files

2014-08-21 Fir de Conversatie Lokesh Mandvekar
On Thu, Aug 21, 2014 at 04:43:58PM -0400, Benjamin R. Haskell wrote: As with the Docker Zsh completion file that just got included in upstream Zsh, I'd prefer that this doesn't make it into Vim proper. Including it in another project just makes changes harder to From a distro package