Skip to content

Commit bef24c6

Browse files
committed
Don't do blocking IO in go
1 parent 4f5f801 commit bef24c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/neovim_client/nvim.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@
108108
"Returns a channel which will contain true if the buffer is currently
109109
visible."
110110
[nvim buffer-name]
111-
(async/go
111+
(async/thread
112112
(let [visible-buffers (map (comp #(buffer-get-name nvim %)
113113
#(window-get-buffer nvim %))
114114
(vim-get-windows nvim))]

0 commit comments

Comments
 (0)