Re: RPM spec feedback directly in your editor

2022-02-23 Thread Samuel Sieb
On 2/23/22 08:54, Andreas Schneider wrote: On Tuesday, February 22, 2022 7:41:16 PM CET Artur Frenszek-Iwicki wrote: error: Unable to open /dev/stdin: No such device or address How about "/proc/self/fd/0"? Nope doesn't work ... /dev/stdin is a symlink to /proc/self/fd/0. I wonder if this is

Re: RPM spec feedback directly in your editor

2022-02-23 Thread Andreas Schneider
On Tuesday, February 22, 2022 7:41:16 PM CET Artur Frenszek-Iwicki wrote: > > error: Unable to open /dev/stdin: No such device or address > > How about "/proc/self/fd/0"? Nope doesn't work ... /dev/stdin is a symlink to /proc/self/fd/0. I wonder if this is only available with a shell ... __

Re: RPM spec feedback directly in your editor

2022-02-22 Thread Artur Frenszek-Iwicki
> error: Unable to open /dev/stdin: No such device or address How about "/proc/self/fd/0"? A.FI. ___ devel mailing list -- devel@lists.fedoraproject.org To unsubscribe send an email to devel-le...@lists.fedoraproject.org Fedora Code of Conduct: https://

RPM spec feedback directly in your editor

2022-02-22 Thread Andreas Schneider
Hi, I'm a big fan of neovim (emacs users jump to 'emacs:' ;-). neovim has support for the Language Server Protocol and there is a nice plugin called 'null-ls' [1] which allows you to hook linters and formatters into neovim. I've added support for rpmspec in 'null-ls' so you can get feedback dir

Re: RPM spec feedback directly in your editor

2022-02-22 Thread Andreas Schneider
On Tuesday, February 22, 2022 9:29:49 AM CET Ondrej Mosnacek wrote: > > What is currently missing in rpmspec is support to parse the input form > > stdin instead of a file [2]. But there is already a PR to support it > > [3]. > > `rpmspec -P /dev/stdin` seems to work already now. I use this "tric

Re: RPM spec feedback directly in your editor

2022-02-22 Thread Ondrej Mosnacek
On Tue, Feb 22, 2022 at 8:50 AM Andreas Schneider wrote: > Hi, > > I'm a big fan of neovim (emacs users jump to 'emacs:' ;-). neovim has support > for the Language Server Protocol and there is a nice plugin called 'null-ls' > [1] which allows you to hook linters and formatters into neovim. > > I'v

RPM spec feedback directly in your editor

2022-02-21 Thread Andreas Schneider
Hi, I'm a big fan of neovim (emacs users jump to 'emacs:' ;-). neovim has support for the Language Server Protocol and there is a nice plugin called 'null-ls' [1] which allows you to hook linters and formatters into neovim. I've added support for rpmspec in 'null-ls' so you can get feedback dir