Re: Out of memory error using function() in a Vim9 script

2022-02-21 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > > > > > The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the > > > > > following line in the autoload/lsp/lspserver.vim file: > > > > > > > > > > hover: function(Hover, [lspserver]), > > > > > > > > > > If this line is changed to: > > > > > > > > > > hover: function('H

Re: Out of memory error using function() in a Vim9 script

2022-02-20 Fir de Conversatie Yegappan Lakshmanan
Hi Bram, On Sun, Feb 20, 2022 at 8:48 AM Bram Moolenaar wrote: > > Yegappan wrote: > > > > > The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the > > > > following line in the autoload/lsp/lspserver.vim file: > > > > > > > > hover: function(Hover, [lspserver]), > > > > > > > > If this li

Re: Out of memory error using function() in a Vim9 script

2022-02-20 Fir de Conversatie Bram Moolenaar
Yegappan wrote: > > > The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the > > > following line in the autoload/lsp/lspserver.vim file: > > > > > > hover: function(Hover, [lspserver]), > > > > > > If this line is changed to: > > > > > > hover: function('Hover', [lspserver]), > > > > > >

Re: Out of memory error using function() in a Vim9 script

2022-02-20 Fir de Conversatie Yegappan Lakshmanan
Hi, On Sun, Feb 20, 2022 at 12:16 AM Dominique Pellé wrote: > > Yegappan Lakshmanan wrote: > > > Hi, > > > > The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the > > following line in the autoload/lsp/lspserver.vim file: > > > > hover: function(Hover, [lspserver]), > > > > If this line i

Re: Out of memory error using function() in a Vim9 script

2022-02-20 Fir de Conversatie Dominique Pellé
Yegappan Lakshmanan wrote: > Hi, > > The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the > following line in the autoload/lsp/lspserver.vim file: > > hover: function(Hover, [lspserver]), > > If this line is changed to: > > hover: function('Hover', [lspserver]), > > then Vim crashes with

Out of memory error using function() in a Vim9 script

2022-02-19 Fir de Conversatie Yegappan Lakshmanan
Hi, The Vim9 LSP plugin (https://github.com/yegappan/lsp) has the following line in the autoload/lsp/lspserver.vim file: hover: function(Hover, [lspserver]), If this line is changed to: hover: function('Hover', [lspserver]), then Vim crashes with the "E342: Out of memory! (allocating 18446744