Code Monkey home page Code Monkey logo

Comments (5)

c4dr01d avatar c4dr01d commented on June 20, 2024 1

I just updated hotpot, the cookbook part of init.fnl creation is nicely to work.

from hotpot.nvim.

rktjmp avatar rktjmp commented on June 20, 2024

Sorry I left out the final instruction.

You have to run the run the autocommand once to bootstrap your init.fnl file into init.lua.

Open ~/.config/nvim/init.fnl, run the command :Fnlfile % to execute the fennel code, then :w to save the file, which should then execute the autocommand and generate a init.lua file.

You should then be able to quit nvim and restart it, and it should work (optionally check init.lua to ensure your compilation worked).

Note this: $XDG_DATA_HOME/nvim/site/pack/hotpot/start/hotpot.nvim should probably be $XDG_DATA_HOME/.local/share/nvim/site/pack/hotpot/start/hotpot.nvim incase you have issues running :Fnlfile.

from hotpot.nvim.

c4dr01d avatar c4dr01d commented on June 20, 2024

I followed the instruction for running :FnlFile % and :w, restart neovim still not working, and not init.lua compiled.
My XDG_DATA_HOME is set to ~/.local/share.

from hotpot.nvim.

rktjmp avatar rktjmp commented on June 20, 2024

Can you confirm your fnl file is at ~/.config/nvim/init.fnl? What does ~/.config/nvim/init.lua contain? What is your nvim version?

Also what operating system are you using? It's possible the libUV file watcher is not compatible (but that seems unlikely).

Also you may want to set verbosity 1 in build-init so you get some output when the compiler runs.

from hotpot.nvim.

c4dr01d avatar c4dr01d commented on June 20, 2024

I can confirm that fnl file is ~/.config/nvim/init.fnl. Actually the ~/.config/nvim/init.lua not generate after run the command :Fnlfile %. My neovim is 0.9.0, but 0.9.1 also have this issue.
And I set verbosity to 1 and save init.fnl, restart neovim, redo reproduce part, still not generate init.lua

from hotpot.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.