On Nov 19, 8:19 pm, Pablo Giménez <[email protected]> wrote:
> I have a statement in the sl.vim filety plugin to load the proper compiler:
> compiler shader
>
> I got an error everytime I open a *.sl file, telling that:
> Command already exists: add ! to replace it
>
> This error happens in the compiler statement line.
> So I changed it by compiler! shader.
>

:compiler! does not force an overwrite of anything, it applies your
compiler setting to all buffers instead of just the current one.

It could be that something within the script loaded by your :compiler
command defines a command with :command instead of :command!, or
doesn't check whether it exists before defining it.
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to