Shougo / neosnippet-snippets

The standard snippets repository for neosnippet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

php "function" snippet doesn't work properly

cvlmtg opened this issue · comments

I'm using neosnippet + neocomplete, when I type "fu" and press tab, i get the function snippet. I select it and I have the choice to change "public " as the first argument of the snippet.

  • If I skip it everything works.
  • If I type "protected" I can jump to the next argument (function name) but the code is
protectedfunction #:FunctionName(<'3'>)
  • If I type "protected " (with a space) I cannot jump anymore to the next arguments.
  • If I delete "public" I cannot jump anymore to the next arguments.

If I type "protected " (with a space) I cannot jump anymore to the next arguments.

I tested it, but it works perfectly. I think this is config/plugins conflict.
You should create minimal .vimrc(less than 50 lines) for it.

I did some test to find a minimal .vimrc and indeed it was my fault. sorry for that and thanks for the help.