0

"filetype.vim" has line:

if exists("*fnameescape")

What '*' means here? Is it suppose to dereference any value?

1 Answer 1

4

The star is used to check if a function exists. In this case fnameescape().

See :help exists() for details of what other prefixes you can use.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.