onivim / oni

Oni: Modern Modal Editing - powered by Neovim
https://www.onivim.io
MIT License
11.35k stars 300 forks source link

[WIP] Fix #2690 - Allow extra args to pass directly to Neovim #2694

Open bryphe opened 5 years ago

bryphe commented 5 years ago

This is a fix proposed by @CrossR for #2690 - we can pass any additional arguments after a -- directly to Neovim. For example, oni some-file.js -- -S my-session.vim

Still needs to be tested / validated.

justinmk commented 5 years ago

For what it's worth, my thoughts on this are at https://github.com/equalsraf/neovim-qt/issues/449 .

Unless the UI plans to introduce a bunch of CLI options that potentially conflict with nvim options, it would be better to just forward all unrecognized options to nvim, rather than using this -- workaround.