Shougo/deoppet.nvim

Allow regexp capture group in snippet.

Closed this issue · 3 comments

It should be implemented by eval feature.

I have implemented it.

Please use g:deoppet#captures variable for it.

	snippet    .map
	options     word
	regexp     '\(\w\+\)s\.map$'
	  .map(`g:deoppet#captures[1]` => ${0})