Friday, July 22, 2022

vim9 _vimrc compatibility with vim8 plugin

Hi,

Encoutering this error as i attempt to use gutentag vim8 plugin and have $MYVIMRC in vim9script.

Error detected while processing foo:\barfoo\Vim\vimfiles\plugged\vim-gutentags\plugin\gutentags.vim:
line   44:
E745: Using a List as a Number
E16: Invalid range
" foo:\barfoo  \Vim\vimfiles\plugged\vim-gutentags\plugin\gutentags.vim" 120L, 4588B

--------------------------

In _vimrc I set a global var gutentags_add_default_project_roots in _vimrc vim9script that seems to have side effect to  vimfiles\plugged\vim-gutentags\plugin\gutentags.vim line 44.


any idea ?thanks NV

------------

Capture.PNG
Capture1.PNG

--
--
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/9369146f-f554-469d-b31e-89fbf8a6d843n%40googlegroups.com.

No comments: