Lazy Vim?
Maybe I'm just new to Lazy, but I'm having trouble getting the Pico8Run to work
Here is the code under ~/.config/nvim/lua/plugins/PICO-8.lua
return{
"bakudankun/pico-8.vim",
name="PICO-8",
-- lazy-load on filetype
ft = "pico8",
}
and here is the error when I run :Pico8Run
Not a vim expert, but the error here does not seem related to the lazy loading, rather a straightforward PATH configuration issue.
Have you installed the pico8 executable on a directory that’s in your PATH envvar so that you can run it by typing pico8 from anywhere?
Oh!! I have not. How do I do that? If there's already a thread or resource drop it here :)
https://www.digitalocean.com/community/tutorials/how-to-view-and-update-the-linux-path-environment-variable
@J-H-Freedman You need to set the path to the pico8 executable. See :help g:pico8_config.pico8_path.
I don't know what to do with LazyVim.
@J-H-Freedman This code worked for me! ty