jaawerth / fennel-nvim

running fennel-lang natively in neovim
MIT License
77 stars 2 forks source link

Module 'fennel' not found #6

Open Javyre opened 3 years ago

Javyre commented 3 years ago

Hi, I'm using neovim 0.5.

When loading fennel-nvim once installed, the fennelview.lua fails to load with module 'fennel' not found.

I was able to fix this with sed -i s/require("fennel")/require("fennel-nvim.lib.fennel")/g.

I'm not sure if this is a 0.5-only issue..

(Also, on installing the plugin, I also get an error from helptags about fennel.path being a duplicate tag. This occurs when using paq and packer but not vim-plug)

Javyre commented 3 years ago

If you're interested in a pr, I have fixes for both issues on my fork ready. (not sure how "correct" my fixes are though) https://github.com/jaawerth/fennel-nvim/compare/master...Javyre:master

yohannd1 commented 3 years ago

I'm also having the same issue. I made a workaround in my config since I didn't want to fork the project - I created a lua/fennel.lua at my config folder, and it just has a return require("fennel-nvim.lib.fennel").

avegancafe commented 1 year ago

I'm still getting this, is there any known fix for this?