Yihang "Corvo" Liu

Results 461 comments of Yihang "Corvo" Liu

I'm not sure how you achieved this via coroutine because I didn't make a demo code that works... But it would be great if we can add that too.

I just refactor the code a bit and add support to input prompt, but it seems problematic. And I guess this has something to do with repeat.vim because whenever I...

I guess this is an issue in `extract.prompt` rather than my side. Directly call `(extract.prompt "Input required: ")` gives me the same result.

@Olical I'm not pushing it but did you see this PR? (Sorry that I miss a word that completely changed the meaning of this sentence)

Sorry for my bad indentations, do you have a lint tool or something to fix them automatically?

Yeah, io is quirky and will cause issues. it would be good if we can somehow redirect it. But we have to write some codes at neovim's side. I've made...

I guess this has something to do with `mapping.buf`

Sorry but this seems like an issue at lua neovim client. Directly call works: `:lua require('conjure.extract').prompt('Hello')` But it's not working when I tried to call it.

Although the above method works, evaluating this won't work: In a clean inistall: Both ```fennel ((. (require "conjure.extract") :prompt) "Input required: ") ``` and ```lua require('conjure.extract').prompt('Input required') ``` returns `':silent!...

Is this what I'm supposed to be writing? ```fennel (defn prompt-promised [prefix] (let [promise (require "conjure.promise") p (promise.new) del (promise.deliver-fn p)] (vim.schedule (fn [] (let [(ok val) (pcall #(vim.fn.input (or...