Skip to content

index.md for Jekyll causes wiki.vim to think it's a root #387

@aldur

Description

@aldur

First of all: thank you for such a pleasant plugin!

Description

This puzzled me for a bit before I figured it out. Every time I was editing Jekyll websites, :WikiJournal would create a new journal folder in the Jekyll root, instead of opening my usual journal.

I took a look at the code and the issue is related to this.

As the title states, Jekyll websites typically include a index.md file. wiki.vim sees the index.md file, think it marks a Wiki root, and creates the journal there. (I have configured md as my wiki extension).

I'd usually submit this as a PR, but what's the best approach here? Ignore the directory if there's also _config.yaml?

Minimal working example

Cloning any Jekyll template (e.g. this one), starting vim inside it, then using WikiJournal.

If helpful I can provide my wiki config or come up with a minimal example.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions