Shougo / neosnippet.vim

neo-snippet plugin
Other
1.12k stars 108 forks source link

Only set alternative trigger name in SnipMate mode if duplicate exists #419

Closed jsit closed 6 years ago

jsit commented 6 years ago

The way these duplicate snippet triggers were turning into things like "snippet__L_i_d_s_a_c" bugged me, so I changed it so that it would be "snippet" and "snippet0", and only start with "snippet0" if it was indeed a duplicate. Most snippet files don't have duplicates like this.

Shougo commented 6 years ago

OK. Merged.