Closed GregDeMare closed 9 months ago
Hey there! Thanks for giving Oatmeal a try.
That error I haven't seen before. A quick search through google looks to be something related to the terminal emulator you're using. Would you mind proving me the following please?
Thanks!
Hi,
I have updated the issue with the requested version numbers.
/Greg
On Sun, Dec 3, 2023 at 3:47 AM Dustin Blackman @.***> wrote:
Hey there! Thanks for giving Oatmeal a try.
So that error I haven't seen before. A quick search through google looks to be something related to the terminal emulator you're using. Would you mind proving me the following please?
- Terminal App
- Shell (zsh/bash/fish)
- Neovim version
Thanks!
— Reply to this email directly, view it on GitHub https://github.com/dustinblackman/oatmeal/issues/9#issuecomment-1837316521, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABDV35VZ65ZET75KWVH4U7LYHPR2VAVCNFSM6AAAAABAEJHB5WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMZXGMYTMNJSGE . You are receiving this because you authored the thread.Message ID: @.***>
-- Hälsningar,
Greger Samuel Sandström Sernemar http://www.google.com/profiles/117777012816363585200#
Ah I have a repro! I'm unfamiliar with prefixing !
before Oatmeal
in your visual selection command. What is the expected use case you're trying?
I'm just trying your example, but I can't do :<´, ´>Oatmeal I get an error 'E492: not a edtingcommand: <´, ´>Oatmeal' I'm running neovim but I'm a beginner with neovim so maybe I miss something when invoking the visual selection command I select the lines with the mouse, then I type : Neovim then present :<´, ´> at the bottum of the screen, I type Oatmeal and Return, then I get te error Am I doing something wrong?
I wouldn't call myself an expert in any way either, but it feels like you may be doing something wrong. Lemme try to walk you through it and tell me if you're still experiencing problems. Make sure you have the latest version of the extension installed. https://github.com/dustinblackman/oatmeal.nvim
First, I have the following code block:
function sayHi() {
console.log("hello world!");
}
I do the following:
j
twice to select the following two lines:
to open the command prompt, followed by Oatmeal
Does that get you there?
It works now, I had not installed the oatmeal plugin for neovim! My bad. I have learned new things about neovim:)
Good stuff! Glad it works :)
I think oatmeal is great! But I have a problem on my MacOs Sonoma Version 14.1.1 (23B81) Terminal App: terminal: 2.14 ; iterm2: 3.4.22 ; zellij: 0.39.2 Shell: zsh Neovim version: 0.9.4
When I select code in neovim and send it to oatmeal with <´, ´>!Oatmeal I get the following error:
Oh no! Oatmeal has failed with the following app version and error.
Version: 0.5.4 Commit: 67f5df6 Error: Device not configured (os error 6)
0: anyhow::backtrace::capture::Backtrace::capture 1: anyhow::error::<impl core::convert::From for anyhow::Error>::from
2: <tokio::future::poll_fn::PollFn as core::future::future::Future>::poll
3: oatmeal::main::{{closure}}.14890
4: oatmeal::main
5: std::sys_common::backtrace::__rust_begin_short_backtrace
6: _main