Don't return current prefix in auto-complete list

This commit is contained in:
James Allen 2014-03-05 11:16:33 +00:00
parent 06831e555e
commit f781001280

View file

@ -1,6 +1,4 @@
define [
"auto-complete/commands"
], (commands) ->
define [], () ->
class Parser
constructor: (@doc) ->
@ -84,7 +82,7 @@ define [
snippet += "{${#{i}}}"
caption += "{}"
i++
unless caption == prefix
completions.push {
caption: caption
snippet: snippet