neosnippet.vim icon indicating copy to clipboard operation
neosnippet.vim copied to clipboard

Ability to use previous placeholder value in expression

Open naquad opened this issue 9 years ago • 4 comments

Illustrated with the following snippet:

snippet getter
    public function get${1:variable}()
    {
          return $this->`tolower(GetHolderValue(1))`;
    }

Basically whats need is the way to get to the other holders values. In this case I'm doing it with global function, but anyting will do. Thank you.

naquad avatar Apr 11 '15 23:04 naquad

Unfortunatelly, it is hard to implement.

Shougo avatar Apr 13 '15 02:04 Shougo

This feature would be invaluable!

j5shi avatar Feb 22 '16 13:02 j5shi

It is implemented in deoppet.nvim. So closing.

Shougo avatar Jan 23 '20 13:01 Shougo

Oh... different feature.

Shougo avatar Jan 23 '20 13:01 Shougo