Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neovim-qt does not support option "-S" or "-c" #224

Closed
xeyownt opened this issue Jan 13, 2017 · 2 comments
Closed

neovim-qt does not support option "-S" or "-c" #224

xeyownt opened this issue Jan 13, 2017 · 2 comments

Comments

@xeyownt
Copy link

xeyownt commented Jan 13, 2017

vim/gvim/nvim supports option -S {file} to specify a file that is sourced after the first file has been read. The same way they support option -c {command} to execute a command. One use case for this is to restore session file.

Currently neovim-qt does not support these options. Both give the error message Unknown option '...'.

@equalsraf
Copy link
Owner

nvim-qt simply calls the nvim command. You can forward additional arguments directly to nvim after "--" e.g.

nvim-qt filename -- -S file.vim

which is the same as

nvim-qt -- -S file.vim filename

internally this calls

nvim -S file.vim filename

@xeyownt
Copy link
Author

xeyownt commented Jan 13, 2017

Ok, excellent. Rather obvious in fact. Tx for quick reply, I close the issue.

@xeyownt xeyownt closed this as completed Jan 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants