Hi, On Do, 24 Okt 2019, Sihera Andre wrote:
> > Error detected while processing function <SNR>13_Highlight_Matching_Pair: > line 97: > E475: Invalid argument: 0 > > I have traced this to: > > /usr/local/share/vim/plugin/matchparen.vim > > and this code: > > try > let [m_lnum, m_col] = searchpairpos(c, '', c2, s_flags, s_skip, > stopline, timeout) > catch /E118/ > [...] > I have just performed upgrades of my Ubuntu systems from 15.04 to > 18.10. This has meant upgrading VIM from the latest build at the time > 7.4.XXX to 8.1.2186 (sorry, previous version deleted so can't provide > the precise version number). The vim runtime appears to be 8.0.1766. > > SDK packages installed were: > > libncurses5-dev libgnome2-dev libgnomeui-dev libgtk2.0-dev > libatk1.0-dev libbonoboui2-dev libcairo2-dev libx11-dev > libxpm-dev libxt-dev > > 8.1.2186 was built locally with "configure --with-features=huge". > With patch 8.1.0112 Vim will throw an error, if the `skip` argument for the searchpair() function is not a string argument while previously Vim did ignore this error. This means the matchparen plugin needs to be updated to fix this bug. The problem could be either a local older version of the matchparen plugin below your ~/.vim directory or the system runtime files have not been updated yet. It looks like you build Vim yourself but are using the system provided runtime files. Try to install the runtime files that come with the source repository and un-install the packaged one from Ubuntu and it should work again. See also here for more information: https://github.com/vim/vim/issues/3225 https://vi.stackexchange.com/questions/18701 Best, Christian -- Bildung ist das was übrig bleibt, wenn man alles andere vergessen hat. -- -- You received this message from the "vim_dev" 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_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/vim_dev/20191024061929.GB26491%40256bit.org.
