I’m interested to hear how people are writing Nextflow code in emacs?
I have set up the emacs nextflow mode, but the syntax highlighting is somewhat wonky and I’m not sure it is still developed. Also it would be really nice to have some kind of interactive mode, but I’m not sure it is even possible to support that in emacs because of the way it has been implemented in Nextflow.
Tree-sitter is definitely the direction neovim/Emacs/Zed are moving in and rightly so. I just can’t find the motivation to try to get bash script syntax highlighting in Nextflow script directives with elisp.
In terms of interactivity, I’ve seen that snakemake-mode has some of those features, but I haven’t played around with them. Thought about doing some of it for Nextflow, but I always find this code launching bits in Emacs to be flakey.
My Emacs Nextflow Workflow
Decided to just make a quick blog-post since I’ve talked about this enough with David Gemperline and others.