honza/vim-snippets

Ultisnips head get filename not work

hxxful opened this issue · 0 comments

This is the head snippet code, can not get the file name , only return 0

snippet head "File Header" b
/******************************************************************************

  • File: !p snip.rv = fn
  • Author: ${2}
  • Created: date +%m/%d/%y
  • Description: ${4:${VISUAL}}
    *****************************************************************************/
    ${0}
    endsnippet