Thursday, December 23, 2021

Re: vim9 | how to force legacy vimscript execution

Hi 
This issue is general.

This is for TagBar plugin : Plug 'https://github.com/preservim/tagbar.git'
Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\tagbar\
plugin\tagbar.vim:  line   39:  E10: \ should be followed by /, ? or &
line   40:  E10: \ should be followed by /, ? or &
Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\tagbar\
plugin\tagbar.vim[133]..function <SNR>63_setup_options: line   35: E697: Missing end of List ']': 
Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\tagbar\
plugin\tagbar.vim: line  136: E15: Invalid expression: "has('multi_byte') && has('unix') && &encoding
==# 'utf-8' &&" line  137: E10: \ should be followed by /, ? or &
Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\tagbar\
plugin\tagbar.vim[178]..function <SNR>63_setup_keymaps:  line    1:  E697: Missing end of List ']':



This is for coc.vim  :  Plug 'neoclide/coc.nvim'

Error detected while processing D:\Logiciels\Vim\vimfiles\plugged\coc.nvi
m\plugin\coc.vim[49]..function coc#rpc#start_server[17]..<SNR>48_start:

line   10: E723: Missing end of Dictionary '}':
line   11: E10: \ should be followed by /, ? or &
line   12: E10: \ should be followed by /, ? or &
line   13: E10: \ should be followed by /, ? or &
line   14: E10: \ should be followed by /, ? or &
line   15: E10: \ should be followed by /, ? or &
line   16: E10: \ should be followed by /, ? or &
line   17: E10: \ should be followed by /, ? or &
line   18: E10: \ should be followed by /, ? or &
line   19:  E10: \ should be followed by /, ? or &

Le jeudi 23 décembre 2021 à 13:23:06 UTC+1, antoine.m...@gmail.com a écrit :
On Thu, Dec 23, 2021 at 10:55 AM Ni Va <niva...@gmail.com> wrote:
>
> Hi,
>
> I am currently using this legacy vimscript https://github.com/tweekmonster/startuptime.vim.
>
> It is managed by Plug.vim plugins' manager in my vim9script _vimrc.
>
> It appears startuptime.vim warns on some script code such as :
>
> echomsg 'Tagbar: Vim versions lower than 7.0.167 have a bug'
> \ 'that prevents this version of Tagbar from working.'
> \ 'Please use the alternate version posted on the website.'
>
>
> identically warns on if brackets spread on multiple lines.
>
> How can I fix it or fix this call of legacy vimscript ?
>
> Thank you
> NiVa

I can't find this echomsg statement in startuptime.vim as linked. I
suppose it comes from somewhere in Tagbar. Could you please tell us
what code (if statement etc.) triggers this message? (I suppose you
are using Vim 8.2 aren't you?)

Best regards,
Tony.

--
--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/3887a327-54ff-4f1e-af14-cb5935aecf4bn%40googlegroups.com.

No comments:

Post a Comment