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 > > 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] = g:tagbar_type_{type} > Le samedi 10 décembre 2022 à 15:02:35 UTC+1, Marc Chantreux a écrit : > >> 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 to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_use" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/4801e015-f4af-43de-acb5-2d796caf3a94n%40googlegroups.com.