Skip to content

rtp_add_defaults() in config.vim causes issues for certain bundles. #456

@jonathanfilip

Description

@jonathanfilip

The addition of this function is breaking some installed bundles (in my case python syntax highlighting).

Since the function adds all the default vim runtime paths to the beginning of the list, all of the default Vim syntax files get loaded instead of any bundles we have installed.

In my particular example, I have:

Plugin 'hdima/python-syntax'

Before I pulled the update that included this function, my Vim would load this syntax file first, so the default one wouldn't. After the update, it checks the default one first and loads it, which in turns makes the bundle one not do anything.

I'm assuming the point of this function was to put the ~/.vim directory back at the start of runtimepath, but I don't think we want the system Vim directories at the start.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions