This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-03-29
Channels
- # announcements (8)
- # babashka (41)
- # beginners (45)
- # calva (23)
- # cider (17)
- # cljdoc (2)
- # cljfx (9)
- # clojure (40)
- # clojure-bay-area (13)
- # clojure-czech (4)
- # clojure-europe (46)
- # clojure-germany (6)
- # clojure-nl (13)
- # clojure-serbia (3)
- # clojure-uk (9)
- # clojurescript (76)
- # conjure (7)
- # cursive (5)
- # data-science (6)
- # deps-new (7)
- # fulcro (41)
- # graalvm (2)
- # jobs (6)
- # lsp (10)
- # malli (1)
- # mid-cities-meetup (1)
- # off-topic (77)
- # polylith (40)
- # re-frame (18)
- # releases (1)
- # remote-jobs (9)
- # reveal (1)
- # rewrite-clj (1)
- # shadow-cljs (11)
- # tools-deps (3)
- # tree-sitter (3)
- # vim (8)
- # xtdb (45)
Is there something like :put
but you get the text inline at the cursor position in vim?
I have very similar mapping nnoremap <leader>dt a<C-R>=strftime(time_format)<CR><Esc>
it uses <c-r>=
to evaluate expression in insert mode
❤️ 3
Not sure where I picked this up from, but mine looks like this: "=strftime("%Y-%m-%d %H:%M:%S")<CR>P
❤️ 3
Good morning vimmers, I am using vim-iced and when I start is with the kaocha option and test the following:
(deftest a-test
(testing "FIXME, I pass"
(is (= 1 1))))
(deftest b-test
(testing "FIXME, I fail."
(is (= 2 1))))
I get the following output:
;;
;; Iced Buffer
;;
Testing: :unit
Testing ns(1/1): :sittim.ssm-characterization-test
Testing var(1/2): :sittim.ssm-characterization-test/b-test
Testing var(2/2): :sittim.ssm-characterization-test/a-test
What confuses me is the second test should fail and there should be indication, but there is none.@U012GN57FJ9 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