errors.fyi community error code reference
E499
vim

Empty file name for '%' or '#', only works with ':p:h'

The % or # filename modifiers were expanded in a context where the buffer has no associated file name. Assign a file name with :file {name} before using these modifiers.

References

← all namespaces