Peter Hodge wrote:
Hello,

I am just curious as to why after/colors/ scripts are disabled instead of
behaving like after/ftplugin and after/syntax scripts?

regards,
Peter

I'm not sure if it's a bug or a feature, but

        :colorscheme foobar

works like

        :runtime colors/foobar.vim

with no exclamation mark after ":runtime". To use ~/.vim/colors/foobar.vim as a "user addition" to $VIMRUNTIME/colors/foobar.vim, invoke it with

        :runtime! colors/foobar.vim

(with exclamation mark) instead. You might even want to define a user-command

        :command ColorScheme -nargs=1 runtime! colors/<args>.vim

See
        :help :runtime


Best regards,
Tony.

Reply via email to