nextflow-vim
nextflow-vim copied to clipboard
Enable "go to filepath" on paths without .nf extension
Right now, if include paths are not including the .nf part in the file paths, like this:
include { FASTQC } from '../modules/nf-core/fastqc/main'
include { MULTIQC } from '../modules/nf-core/multiqc/main'
include { VSEARCH_CLUSTER } from '../modules/nf-core/vsearch/cluster/main'
include { FASTA_NEWICK_EPANG_GAPPA } from '../subworkflows/nf-core/fasta_newick_epang_gappa/main'
... it is not possible to use the built in "go to filepath" (g-f) when the cursor is on one of those paths.
Instead one gets an error like:
E447: Can't find file "../modules/nf-core/fastqc/main" in path
It would be useful if the extension could check for the same path with .nf appended if the path does not exist.
Related issues
- #5