Giter Club home page Giter Club logo

Comments (5)

jakewvincent avatar jakewvincent commented on May 22, 2024

Hi Dan--I know it's been a while since you proposed this but I think this would improve the plugin, and I hope to implement it very soon.

from mkdnflow.nvim.

jakewvincent avatar jakewvincent commented on May 22, 2024

@olesendan I've pushed an implementation of this to the dev branch, if you want to give it a try. The dev readme is updated (see https://github.com/jakewvincent/mkdnflow.nvim/tree/dev), so you can see the sample config there. The links_relative_to key in the config table now requires a table itself, where you can specify which perspective you want the plugin-to take (e.g. relative to root, relative to current file, etc.). Setup will look for a key in the links_relative_to table called root_tell which should be a string that represents the "tell" of the root directory, or in other words, a file that the plugin can use to identify which directory is the root. If you happen to try it out, let me know if there are any issues or things that you think should be changed.

from mkdnflow.nvim.

jakewvincent avatar jakewvincent commented on May 22, 2024

(Just pushed this to main. Please let me know if you experience any issues with the new functionality!)

from mkdnflow.nvim.

olesendan avatar olesendan commented on May 22, 2024

Hi JAke.

Sorry for my late reply. I will do some testing in the next cuple of days. If I encounter any problems, I will raise a new issue.

Greetings from denmark
Dan Olesen

from mkdnflow.nvim.

jakewvincent avatar jakewvincent commented on May 22, 2024

Sounds good, thanks Dan! :)

By the way, after implementing this, I realized that your suggestion was to be able to specify multiple files that together could identify the root directory. That wouldn't be too crazy to implement, but currently only one file can be provided as the "tell", just FYI.

from mkdnflow.nvim.

Related Issues (20)

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.