Skip to content

Commit 6a41a97

Browse files
committed
Handle eval of #_ forms in nREPL JVM
1 parent 389afbd commit 6a41a97

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
### WIP
22

33
- Remove bg on quoted strings inside metadata
4+
- Handle eval of `#_` forms in nREPL JVM
45

56
### 4.2.2 - Sep 27, 2024
67

cs_conn_nrepl_jvm.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ def handle_msg(self, msg):
133133
or self.handle_new_session(msg) \
134134
or self.handle_value(msg) \
135135
or self.handle_exception(msg) \
136-
or self.handle_lookup(msg)
136+
or self.handle_lookup(msg) \
137+
or self.handle_done(msg)
137138

138139
class ClojureSublimedConnectNreplJvmCommand(sublime_plugin.WindowCommand):
139140
def run(self, address, timeout = 0):

cs_eval.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -258,7 +258,7 @@ def format_form(form):
258258

259259
if doc:
260260
body += "<p>" + "</p><p>".join(html.escape(doc).split("\n")) + "</p>"
261-
body += "</div>"
261+
body += "</body>"
262262
return body
263263

264264
def on_lookup(id, value):

0 commit comments

Comments
 (0)