Skip to content

Latest commit

 

History

History
17 lines (12 loc) · 639 Bytes

evaluation.adoc

File metadata and controls

17 lines (12 loc) · 639 Bytes

Evaluation

Eval inside comment

comment form is useful for checking behavior. You can use [evaluate_outer_list] range to evaluate codes inside comment form, but it is bored that some cursor movements are required.

{help_html}#g%3Aiced%23eval%23inside_comment[g:iced#eval#inside_comment] is a configuration that allow you to evaluate inside comment form with [evaluate_outer_top_list] range, and it is enabled by default.

Example (📍 means cursor position)
(comment📍      ;; Execute `:IcedEvalOuterTopList`
  (+ 1 2 3))    ;; => 6