-
Notifications
You must be signed in to change notification settings - Fork 66
index.md for Jekyll causes wiki.vim to think it's a root #387
Description
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.