Giter Club home page Giter Club logo

Comments (6)

ElPiloto avatar ElPiloto commented on May 22, 2024 1

Thanks for reporting this issue @codevion . Just submitted a fix, please update and write back here if you find any issues.

from telescope-vimwiki.nvim.

kandodev avatar kandodev commented on May 22, 2024

Alright, it seems to work great on non index.md pages. But I have a nested structure of index.md pages where I have an index.md page inside each folder. Whenever I try to link on a subfolder index.md page, it assumes I'm in the root index.md I guess?

from telescope-vimwiki.nvim.

ElPiloto avatar ElPiloto commented on May 22, 2024

Hmmm, can you give an example of directory layout where this fails? With the following directory structure below, it seems to be working fine:

wiki_root/index.md
wiki_root/coding/index.md
wiki_root/coding/web_dev.md

Then from wiki_root/coding/web_dev.md:

  • linking to wiki_root/coding/index.md produces the expected link: index.md
  • linking to wiki_root/index.md produces the expected link: ../index.md

And conversely, from wiki_root/coding/index.md linking to wiki_root/coding/web_dev.md produces the expected link: web_dev.md

from telescope-vimwiki.nvim.

kandodev avatar kandodev commented on May 22, 2024

So think two different substructures:
root/coding/index.md
root/linux/arch.md

Trying to link to arch.md from index.md tries to find path root/coding/linux/arch.md.

from telescope-vimwiki.nvim.

ElPiloto avatar ElPiloto commented on May 22, 2024

Thanks for the extra info. I'm still not reproducing this bug unfortunately. With my analogous directory structure:

wiki_root/index.md
wiki_root/coding/index.md
wiki_root/coding/web_dev.md
wiki_root/family/values.md

and then from wiki_root/coding/index.md:

  • linking to wiki_root/family/values.md produces the expected relative link: ../family/values

Not sure where to go from here. I don't typically use nested index.md pages. Is there a special way to make them or do you just make them like any other page in a subdirectory i.e. from wiki_root/index.md add a link to coding/index.md and then hit enter to make that page? Do you explicitly define the nested index pages as their own vimwikis? In any case, can you post your full vimwiki config?

from telescope-vimwiki.nvim.

ElPiloto avatar ElPiloto commented on May 22, 2024

Closing this since I cannot reproduce it and no follow up from OP.

from telescope-vimwiki.nvim.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.