Skip to content

liquidz/iced-nrepl

Repository files navigation

iced nREPL

nREPL middleware to support vim-iced.

GitHub Actions for build workflow GitHub Actions for lint workflow GitHub Actions for dependencies workflow Codecov Clojars Project

Ops

Op name Required Optional Return Note

iced-version

:version

iced-project-ns-list

:project-ns-list

iced-pseudo-ns-path

:ns

:path

iced-java-class-candidates

:symbol

:class-map

:candidates

iced-set-indentation-rules

:rules

:overwrite?

default indentation rule is cljfmt.core/default-indents
If :overwrite? is If logical true, cljfmt.core/default-indents will not be used.

iced-format-code-with-indents

:code, :alias-map

:formatted

iced-calculate-indent-level

:code, :line-number, :alias-map

:indent-level, :error (if occurred)

:line-number is zero-based

iced-refactor-thread-first

:code

:code, :error (if occurred)

iced-refactor-thread-last

:code

:code, :error (if occurred)

iced-spec-check

:symbol, :num-tests

:result, :num-tests, :error (if errored), :failed-input (if errored)

:result is "OK" or "NG"
:num-tests must be positive integer

iced-list-tapped

:max-depth, :max-list-length, :max-vector-length, :max-set-length, :max-string-length

:tapped, :error (if errored)

:tapped is a map containing :unique-id and :value keys.

iced-browse-tapped

keys

:max-depth, :max-list-length, :max-vector-length, :max-set-length, :max-string-length

:value, :error (if errored)

The first element of keys must be one of index number or unique-id.

iced-fetch-tapped-children

keys

:children, :error (if errored)

iced-complete-tapped

keys

:max-depth, :max-list-length, :max-vector-length, :max-set-length, :max-string-length

:complete, :error (if errored)

iced-delete-tapped

key

:result, :error (if errored)

key must be one of index number or unique-id.

iced-clear-tapped

:result, :error (if errored)

License

Copyright © 2018-2023 Masashi Iizuka

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.