Coder Social home page Coder Social logo

dendron.nvim's People

Contributors

namjul avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

tsnieman mquhuy

dendron.nvim's Issues

Not detecting dendron config file

From what I see in the source here https://github.com/namjul/dendron.nvim/blob/main/lua/dendron.lua#L68-L73 the extension doesn't detect my dendron.yml file. I get the following when I start neovim:

Started dendron server at 41253
packer.nvim: Error running config for dendron.nvim: ...nvim/site/pack/packer/start/dendron.nvim/lua/dendron.lua:72: not a dendron project

I configured the path as such:

  use 'namjul/dendron.nvim'
  require('dendron').setup({
    dendron_dir = '~/.dendron',
  })

I also tried to use the absolute path, copy to a folder without a dot, with or without trailiing slash and path to vault, but from what I understood this should be the correct setting and yet it doesn't work. This is the folder structure:

$ tree ~/.dendron -L 1
/home/marek/.dendron
├── dendron.code-workspace
├── dendron.yml
├── hooks
├── meta.json
└── vault

I'm sure the dendron executable is working, because I can get it to output some info from my workspace

$ dendron --wsRoot ~/.dendron note lookup --query root
[
    {
        "id": "root",
        "title": "root",
        "desc": "",
...

Thanks in advance for any help

How do I use this?

Hello! You may remember me from this Dendron discord thread.

I had some time today and decided to try to set this up in my local neovim environment and would love some help troubleshooting if it's not too much issue.

  • I'm installing the plugin using Plug.
  • After installing, I'm configuring in my neovim config like (inspired by your config):
require('dendron').setup({
  dendron_dir = '~/Dendron', -- the root folder that all my dendron files are in
})
  • However, I am hit with this upon trying to open a file in that directory afterword:
E5108: Error executing lua ...r/.local/share/nvim/plugged/dendron.nvim/lua/dendron.lua:57: de
ndron is not executable
stack traceback:
        [C]: in function 'error'
        ...r/.local/share/nvim/plugged/dendron.nvim/lua/dendron.lua:57: in function 'setup'
        [string ":lua"]:1: in main chunk

It's seemingly trying to communicate that dendron is not executable - but I don't know how to get it to an executable state.

If you can help me work through this issue, I'd more than happy to turn that help into a README for this repo and try to help others when I am knowledgable about how to help.

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.