VIM Showmarks: highlighting entire file, even after being removed

53 views
Skip to first unread message

Dotan Cohen

unread,
Apr 4, 2012, 2:24:35 PM4/4/12
to vim use
I just installed the Showmarks [1] VIM plugin. Now, when opening files
the entire file is highlighted in orange! rming the
~/.vim/plugin/showmarks.vim file does not return VIM to it's previous
state, the files are still highlighted in orange. What might have
happened, and how might I fix it? This is on a CentOS 5.x machine.

[1] http://www.vim.org/scripts/script.php?script_id=152

--
Dotan Cohen

http://gibberish.co.il
http://what-is-what.com

Ben Fritz

unread,
Apr 5, 2012, 11:40:44 AM4/5/12
to vim...@googlegroups.com
On Wednesday, April 4, 2012 1:24:35 PM UTC-5, dotancohen wrote:
> I just installed the Showmarks [1] VIM plugin. Now, when opening files
> the entire file is highlighted in orange! rming the
> ~/.vim/plugin/showmarks.vim file does not return VIM to it's previous
> state, the files are still highlighted in orange. What might have
> happened, and how might I fix it? This is on a CentOS 5.x machine.
>
> [1] http://www.vim.org/scripts/script.php?script_id=152
>

This may be a stupid question, but did you restart Vim after removing the plugin?

Charles Campbell

unread,
Apr 5, 2012, 1:13:51 PM4/5/12
to vim...@googlegroups.com
Another item - you might want to try removing .viminfo, too.

I haven't had any problems with showmarks, myself. I suggest clearing
up your problem and trying showmarks again.
Did the problem occur after you typed :ShowMarks ? That would suggest
that it is, indeed, the showmarks plugin causing the problem.

Regards,
Chip Campbell

Dotan Cohen

unread,
Apr 7, 2012, 11:19:15 AM4/7/12
to vim...@googlegroups.com
On Thu, Apr 5, 2012 at 11:40, Ben Fritz <fritzo...@gmail.com> wrote:
> This may be a stupid question, but did you restart Vim after removing the plugin?
>

Actually, closing VIM and reopening did not help, but logging out of
the server and logging back in did.

Dotan Cohen

unread,
Apr 7, 2012, 11:23:57 AM4/7/12
to vim...@googlegroups.com
On Thu, Apr 5, 2012 at 13:13, Charles Campbell
<Charles.E...@nasa.gov> wrote:
> Another item - you might want to try removing .viminfo, too.
>

Thanks.

> I haven't had any problems with showmarks, myself.  I suggest clearing up
>  your problem and trying showmarks again.
> Did the problem occur after you typed  :ShowMarks  ? That would suggest that
> it is, indeed, the showmarks plugin causing the problem.
>

The problem occurred when I first opened VIM after installing
ShowMarks. I tried to open the showmarks.vim file itself and the issue
occurred. I think that I also got a message that ~/.vim/doc/ShowMarks
(or similar) was now being created.

Reply all
Reply to author
Forward
0 new messages