errors.fyi community error code reference
E170
vim

Missing :endfunction

A :function definition block was not terminated with a matching :endfunction. Every :function must have a corresponding :endfunction at the end of its body.

References

← all namespaces