Closed sharefantasy closed 3 years ago
Hey there! I'll try my best to answer although I'm worried I won't be very helpful 😓
*
/ #
to search in buffer. I don't have any jump to reference, if there's a Fennel language server (which I doubt?) we could use the Neovim LSP client for that functionality. I would love to add support for this but that information doesn't exist, there's no metadata on functions that lets me check where they were defined 😠=-
or ==
on forms to indent them, I perform all formatting by hand in Clojure and Fennel right now.aniseed.compile
module and run your source code through that to compile it to Lua and return the resulting string within Neovim itself: https://github.com/Olical/aniseed/blob/c15c4e49d6ecb7ad7252902bb1b4310ba161617a/fnl/aniseed/compile.fnlI know this doesn't fully answer your questions, but I hope it's a helpful start! A mapping to compile a form under the cursor and print the resulting Lua in the log buffer would be a pretty cool addition to Conjure 😄
Thank you for the answers. I get several ideas to developing this actions. I found this emacs plugin for fennel fennel-mode, maybe I can mimic its implementation. And now I'm trying to use null-ls first.
Hi, Olical, I'm a big fan of your idea of making fennel as the only configuration language in neovim. I try to adapt your configuration to my daily use but some how stuck in some basic problems developing in fennel.
I assume that both fennel syntax support and the actions above are implemented in Aniseed, but I haven't found it yet. Could you help me please? Thanks !