Re: vim9script userdef

2022-12-10 Thread Salman Halim
On Sat, Dec 10, 2022 at 9:23 AM N i c o l a s wrote: > Port in vim9script, do i have to pass by exécutable command as you de > scribe it ? > > Thank you Marc > > Le samedi 10 décembre 2022 à 15:17:52 UTC+1, N i c o l a s a écrit : > >> let defdict[type] = g:tagbar_type_{type} >> >>

Re: vim9script userdef

2022-12-10 Thread N i c o l a s
Port in vim9script, do i have to pass by exécutable command as you de scribe it ? Thank you Marc Le samedi 10 décembre 2022 à 15:17:52 UTC+1, N i c o l a s a écrit : > Hi Marc, > > >- Not it is not OK. E488 when i try to port autoload/tagbar.vim lin386 > >

Re: vim9script userdef

2022-12-10 Thread N i c o l a s
Hi Marc, - Not it is not OK. E488 when i try to port autoload/tagbar.vim lin386 https://github.com/preservim/tagbar/blob/master/autoload/tagbar.vim function! s:LoadUserTypeDefs(...) abort if a:0 > 0 let type = a:1 let defdict = {} let defdict[type] =

Re: vim9script userdef

2022-12-10 Thread Marc Chantreux
hello, > let defdict[type] = g:tagbar_type_{type} is this ok for you? let type ="grep" exec $"let defdict[type] = g:gitgutter_{type}" regards marc -- -- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying

Re: Reply to my own post didn't register

2022-12-10 Thread Tony Mechelynck
On Sat, Dec 10, 2022 at 11:20 AM Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Sat, 10 Dec 2022 16:17:27 +0600 > Enan Ajmain <3nan.ajm...@gmail.com> wrote: > > On Wed, 28 Sep 2022 09:37:10 +0200 > > Christian Brabandt wrote: > > > On Mi, 28 Sep 2022, Enan Ajmain wrote: > > > > > > > I posted

vim9script userdef

2022-12-10 Thread N i c o l a s
Hi, In vim9script, is it possible to write the equivalent of this legacy vimscript code : let defdict[type] = g:tagbar_type_{type} For instant it results to E488: Trailing characters: {ftype} Thank you Nicolas -- -- You received this message from the "vim_use" maillist. Do not top-post!

Re: Reply to my own post didn't register

2022-12-10 Thread Enan Ajmain
On Sat, 10 Dec 2022 16:17:27 +0600 Enan Ajmain <3nan.ajm...@gmail.com> wrote: > On Wed, 28 Sep 2022 09:37:10 +0200 > Christian Brabandt wrote: > > On Mi, 28 Sep 2022, Enan Ajmain wrote: > > > > > I posted a new conversation with the title: "termguicolors in Windows > > > Terminal outputs wrong

Re: Reply to my own post didn't register

2022-12-10 Thread Enan Ajmain
On Wed, 28 Sep 2022 09:37:10 +0200 Christian Brabandt wrote: > On Mi, 28 Sep 2022, Enan Ajmain wrote: > > > I posted a new conversation with the title: "termguicolors in Windows > > Terminal outputs wrong color." I created it with the web interface of > > Google Groups. Then I sent a reply to my