-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
Consider the following function:
function get_acf_option($option = '', $location = 'options', $format = true) {
When I use pdv#DocumentCurrentLine() on it, I get the following output:
/**
* ${1:get_acf_option}
*
* @param ${2:string} $option${3}
* @param ${4:string} $location${5}
* @param ${6:mixed} $format${7}
*/
function get_acf_option($option = '', $location = 'options', $format = true) {
I'm using Vundle to manage my plugins, and I've installed both vmustache & pdv:
let g:pdv_template_dir = $HOME ."/.vim/bundle/pdv/templates_snip"
Plugin 'tobyS/vmustache'
Plugin 'tobyS/pdv'
map <F6> :call pdv#DocumentCurrentLine()<CR>
While the current output is definitely better than manually typing all that, I have to quite a bit of cleanup afterwards. Am I doing something wrong perhaps?
Metadata
Metadata
Assignees
Labels
No labels