       params  = [1..arity].map (i) -> "${#{i}:arg#{i}}"
       displayText = "#{func}/#{arity}"
 
-    snippet_params = params
-    snippet_params = snippet_params[1...] if snippet_params.length > 0 && pipeBefore
+    snippetParams = params
+    snippetParams = snippetParams[1...] if snippetParams.length > 0 && pipeBefore
 
     if captureBefore
       snippet = "#{func}/#{arity}"
-    else if snippet_params.length > 0
-      snippet = "#{func}(#{snippet_params.join(', ')})"
+    else if snippetParams.length > 0
+      snippet = "#{func}(#{snippetParams.join(', ')})"
 
     snippet = snippet.replace(/^:/, '') + "$0"
 


  moduleAndFuncName = (moduleParts, func) ->
    module = ''
    func_name = ''
    if func.match(/^:/)
      [module, func_name] = func.split('.')
    else if moduleParts.length > 0
      module = moduleParts[0]
      func_name = func
    [module, func_name]

        else                         ['unknown',  '?', '']

    if prefix.match(/^:/)
      [module, funcName] = moduleAndFuncName(moduleParts, func)
      description = "No documentation available."

    description = "```\n#{spec}```\n\n#{description}" if spec? && spec != ""
