neosnippet.vim
neosnippet.vim copied to clipboard
Feature request: Add a source to provide complete candicates
Hi @Shougo It will be nice if neosnippet could parse provide some candidates for neocomplete: I have a css snippet:
snippet fs
font-style:${1:normal|italic|oblique}
I hope neosnippet
could parse ${1:normal|italic|oblique}
and give me a complete list contains "normal","italic" and "oblique"
- :+1: The feature sounds very practical
- The notation needs to get changed, because it prohibits you to use
|
in default text
@ujihisa Thanks.
The notation needs to get changed, because it prohibits you to use | in default text
Agree!
@UncleBill This selection is occurred when snippet is expanded?
@UncleBill This selection is occurred when snippet is expanded?
I don't get it, my English is not good enough.
My idea is writing a neocomplete
source in neosnippet
which collects the candidates from the sippet.
Like this:
I type fst<tab>
, and I get
I try to change the snippet by calling ominfunc:
snippet fs
font-style:`"\<c-x>\<c-o>"`;
But I just get:
border-style: ^X^O;
I get it. I think complete()
is better than omnifunc.
@Shougo is it will be easy to be implemented by remote plugin?
No.
Found vscode support it, and support this feature will be great!