Hello all,

Apologies for posting to the mailing list before filing a bug report
but I just wanted to make sure that I was facing a bug and not a silly
build error of some kind.

The problem is that while editing scripts (e.g., .bashrc), or anything
where the file type is set to "sh", when I cursor onto or off any kind
of character that comes in pairs (bracket, parenthesis, braces, etc.)
the following error occurs:

   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/

Why would this be erroring? Does it look like a build error, a bug in
VIM, or a bug in the run-time? Any comments would be welcome because
this problem makes editing scripts impossible (currently, I've knocked
the offending module out by renaming it so it doesn't get loaded).

Background behind this situation and other System information below.

Thanks in advance,

Andre.


[ SYSTEM INFO ]

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".

-- 
-- 
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/PS2P216MB0275F56E3C776571F8453493C06A0%40PS2P216MB0275.KORP216.PROD.OUTLOOK.COM.

Raspunde prin e-mail lui