vim

For discussion on all things (neo)vim.
2021-03-30T04:06:12.032200Z

@timofey.sitnikov In my environment, vim-iced opens test result buffer (not stdout buffer) with the following contents automatically.

;; foo.core-test/b-test: FIXME, I fail.
expected: (= 2 1)
  actual: (not (= 2 1))
c.f. https://liquidz.github.io/vim-iced/vim-iced.html#%3AIcedTestBufferOpen

NoahTheDuke 2021-03-30T21:09:19.034400Z

quick vim-iced question: I have a namespace that refers a function from another namespace. i want to move that function into this namespace. so i delete it from the other file, copy it into this file, remove the :refer part of the ns macro, and then use vim-iced to evaluate the function definition in the new file/namespace.

NoahTheDuke 2021-03-30T21:10:24.035500Z

however, this throws the error CompilerException java.lang.IllegalStateException: private-card already refers to: #'game.core.card/private-card in namespace: game.core.diffs

NoahTheDuke 2021-03-30T21:16:36.037Z

i solved it by using the repl to run (ns-unmap *ns* 'private-card), and then reevaluate the function, but that feels messy