nyoom-engineering / nyoom.nvim

A Neovim framework and doom emacs alternative for the stubborn martian hacker. Powered by fennel and the oxocarbon theme
MIT License
1.4k stars 82 forks source link

`bin/nyoom sync` hotpot error #158

Open arpd opened 1 year ago

arpd commented 1 year ago

This is using the main branch at ref f808500883ffc552b53a421139cc1915955759b7 after a fresh install:

❯ ./bin/nyoom sync
Synchronizing your config with Nyoom Nvim

Nyoom version: f808500
NVIM v0.9.4
Build type: Release
LuaJIT 2.1.1693350652

Clearing cache
Loading Packer
Compiling Nyoom Doctor
The hotpot.api.make usage has changed, please see
:h hotpot-cookbook-using-dot-hotpot
:h hotpot.api.make
Unfortunately it was not possible to support both options simultaneously :( sorry.
Initializing Module System
Installing Packages
Compiling Nyoom Modules

Would you like to sync tree-sitter parsers for enabled modules? y/n: n
Would you like to sync tooling for enabled modules through Mason (language-servers, formatters, and linters)? y/n:

Nyoom successfully synced dependencies in 12s
shreyasSarve commented 11 months ago

did anyone happer to resulve this issue ?

mikemee commented 10 months ago

I was able to fix it with this error with a change to fnl/packages.fnl:

Old:

(build (vim.fn.stdpath :config) {:verbosity 0}
       (.. (vim.fn.stdpath :config) :/fnl/core/doctor.fnl)
       (fn []
         (.. (vim.fn.stdpath :config) :/lua/health.lua)))

New:

(build (vim.fn.stdpath :config) {:verbose true}
       [[(.. (vim.fn.stdpath :config) :/fnl/core/doctor.fnl)
          (fn [path]
            (.. (vim.fn.stdpath :config) :/lua/health.lua))]])

And then re-run bin/nyoom sync.

@shaunsingh would you like a PR?