Wednesday, August 26, 2015

Re: [SOLVED] Showmarks problems

* Tim Johnson <tim@akwebsoft.com> [150826 10:55]:
> * Christian Brabandt <cblists@256bit.org> [150826 01:10]:
> > On Di, 25 Aug 2015, Tim Johnson wrote:
> >
> > > -----------------------------------------------------------------
> > > Version info
> > > :version
> > > VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Aug 25 2015 13:38:04)
> > > MacOS X (unix) version
> > > Included patches: 1-729
> > > Huge version without GUI.
> > >
> > > NOTE : features set to +signs
> > > NOTE : Upgrade via macports
> >
> > What was the previous version?
> I believe it was 7.4 with patch 258.1
> > > -----------------------------------------------------------------
> > > Message :
> > > Error detected while processing CursorHold Auto commands for "*":
> > > E11: Invalid in command-line window; <CR> executes, CTRL-C quits:
> > > checktime
> > > Error detected while processing function <SNR>60_ShowMarks:
> > > line 39:
> > > E885: Not possible to change sign ShowMark72
> > > Error detected while processing function <SNR>60_ShowMarks:
> > > line 39:
> > > E885: Not possible to change sign ShowMark72
> > > -----------------------------------------------------------------
Replaced the following line :
exe 'sign place '.id.' name=ShowMark'.nm.' line='.ln.' buffer='.winbufnr(0)
by the following three lines

if ln > 0 " conditional which tests for the line number as greater than 0
exe 'sign place '.id.' name=ShowMark'.nm.' line='.ln.' buffer='.winbufnr(0)
endif " end conditional

Seems to be the easiest solution...
--
Tim
http://www.akwebsoft.com, http://www.tj49.com

--
--
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.
For more options, visit https://groups.google.com/d/optout.

No comments: