Commits

lotabout committed a251d35

translate [text] [/text] markup for newlisp.

Comments (0)

Files changed (1)

ftplugin/swank.py

     """Parses a Lisp s-expression, returns parsed string length
        and a Python list built from the s-expression
     """
+    # translate [text] [/text] markup for newlisp
+    sexpr = sexpr.replace('[text]', '"');
+    sexpr = sexpr.replace('[/text]', '"');
     return parse_sub_sexpr( sexpr, '(', ')' )
 
 
     #logtime('[-Response-]')
     for k,a in sorted(actions.items()):
         if not a.pending and (name == '' or name == a.name):
-            logprint("a.name="+a.name+"\ta.result="+a.result+"\n")
             vc = ":let s:swank_action='" + a.name + "'"
             vim.command(vc)
             #sys.stdout.write(a.result)