Skip to content

Send input to nix repl? #185

@alejandrogallo

Description

@alejandrogallo

Maybe I'm just missing something, but I could not find a functionality like this
for instacne

(defun ale/nix-send-buffer-to-repl (&optional arg)
    (interactive "P")
    (let ((contents (buffer-string)))
      (save-excursion
        (nix-repl-show)
        (when arg
          (insert (format "%s = "
                          (read-string "Variable to store expression: "))))
        (insert contents)
        (comint-send-input))))

is there something planned to send input and so on to the repl?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions