3 ms·
With regards to writing extensions, I wrote one [1] to integrate the Luacheck analyzer for Lua code which pipes the buffer to an arbitrary program. It doesn't p
by Cyberdog 5y ago
With regards to writing extensions, I wrote one [1] to integrate the Luacheck analyzer for Lua code which pipes the buffer to an arbitrary program. It doesn't put the result in a pop-up (for that I think you can use Workspace.showInformativeMessage() [2] and its siblings, though I haven't tried it) but it does show how the output of the program can be fetched and parsed. Feel free to shoot me an email if you have any questions I might be able to help with. The dev forums [3] are useful too even though they use that godawful Discourse forum system.
1: https://github.com/GarrettAlbright/Luacheck.novaextension/blob/master/Scripts/main.js https://github.com/GarrettAlbright/Luacheck.novaextension/bl...
2: https://docs.nova.app/api-reference/workspace/#showinformativemessagemessage https://docs.nova.app/api-reference/workspace/#showinformati...
3: https://devforum.nova.app https://devforum.nova.app