Code Monkey home page Code Monkey logo

Comments (5)

serenevoid avatar serenevoid commented on May 23, 2024 1

Thank you for the details! I could reproduce the issue. Will update the plugin soon!
And to answer your questions,

  • No, its not caused by your plugins clashing since I could reproduce it
  • Yes, the plugin is currently meant for flat directory structure since that is easier for fast wiki note creation. But you could create a custom wiki link by typing the proper path relative to the wiki directory and use it as normal. You can't create notes in custom subdirectories. That's all

from kiwi.nvim.

avastmick avatar avastmick commented on May 23, 2024

Sorry, update, the behaviour is now regardless of the number of wiki locations: I thought it was working for one, but it was actually creating files in the wrong place.

from kiwi.nvim.

serenevoid avatar serenevoid commented on May 23, 2024

Hi @avastmick! Thanks for reporting this issue. I have two questions though.

  • Is the index file created in the correct location for these two wiki locations?
  • This path trimming is failing only when the notes are created from the wiki note?

from kiwi.nvim.

avastmick avatar avastmick commented on May 23, 2024

Hi @avastmick! Thanks for reporting this issue. I have two questions though.

  • Is the index file created in the correct location for these two wiki locations?
  • This path trimming is failing only when the notes are created from the wiki note?

Firstly, yes, an index.md is created.
Secondly, yes, when I create a new note the path is duplicated as per the screenshot in the OP.

I spent a bit of time trying to reproduce and when I create two empty wiki, the path handling is consistent with your GH README. In fact, I thought that the issue was resolved and all good. However, when I return to either wiki with an index.md created (say in a new nvim session), any new pages show the path duplication issue.

The path issue only occurs on an existing wiki. The behaviour is consistent. Have an index.md, create a new page, and the page is created in a nonexistent path that is duplicated.

Could this be a plugin clash? My list of plugins are as follows:

.
├── alpha-nvim.lua
├── cmp.lua
├── db-ui.lua
├── harpoon.lua
├── init.lua
├── kiwi.lua
├── leap.lua
├── lsp.lua
├── lualine.lua
├── neogit.lua
├── no-neck-pain.lua
├── noice.lua
├── oil.lua
├── rustaceanvim.lua
├── surround.lua
├── telescope.lua
├── themes.lua
├── todo-comments.lua
├── treesitter.lua
├── undotree.lua
└── which-key.lua

Thanks for the work on this and getting back so promptly on the issue I raised. The issue may be found between the computer and the chair 😀

from kiwi.nvim.

avastmick avatar avastmick commented on May 23, 2024

Thanks for resolving. Great stuff!

from kiwi.nvim.

Related Issues (9)

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.