 			doc = session.getValue()
 			parser = new Parser(doc)
 			commands = parser.parse()
-			
+
 			completions = []
 			for command in commands
 				caption = "\\#{command[0]}"

					snippet += "{${#{i}}}"
					caption += "{}"
					i++

				completions.push {
					caption: caption
					snippet: snippet
					meta: "cmd"
				}

			callback null, completions


define [], () ->
	class Parser
		constructor: (@doc) ->

