eraserhd / parinfer-rust

A Rust port of parinfer.
ISC License
546 stars 42 forks source link

Parinfer-rust not found debug message in Kakoune #113

Closed Anomalocaridid closed 3 years ago

Anomalocaridid commented 3 years ago

When I try to use the parinfer-rust Kakoune plugin, it no longer works. Also, the following message appears in the *debug* buffer:

shell stderr: <<<
/bin/sh: line 40: exec: parinfer-rust: not found
>>>

My configuration for the parinfer-rust plugin in my config file is this:

plug "eraserhd/parinfer-rust" do %{
    cargo install --force --path .
    cargo clean
} config %{
    hook global WinSetOption filetype=(clojure|lisp|scheme|racket) %{
        parinfer-enable-window -smart
    }
}
eraserhd commented 3 years ago

It seems like parinfer-rust is not in the path. Try cloning the repo manually and running those two "cargo" commands. Do you get any errors? Is parinfer-rust in the path after that?

Anomalocaridid commented 3 years ago

Apparently, it was in issue in my zsh config. My $PATH declaration was commented out for some reason. I thought that I checked that my $PATH wasn't changed from how I had set it, but I guess that I somehow missed it. Sorry for bothering you.

eraserhd commented 3 years ago

No problem! Glad it is solved.