Neovim: Provide command line arguments of neovim

Created on 19 Sep 2019  路  1Comment  路  Source: neovim/neovim

Hi,

It would be nice if neovim would provide the exact arguments that were used to run it.
I mean if I called it "nvim -u NONE" , a variable would contain "-u NONE".

For example, we can decide if we want to load last unsaved workspace depending on the args.

enhancement

Most helpful comment

Note that there's argv() already, but a bit different.

As for a new feature it would be best to have a list for it, instead of a string then I think.

>All comments

Note that there's argv() already, but a bit different.

As for a new feature it would be best to have a list for it, instead of a string then I think.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

nhooyr picture nhooyr  路  3Comments

mqudsi picture mqudsi  路  3Comments

Phlosioneer picture Phlosioneer  路  3Comments

gnujeremie picture gnujeremie  路  3Comments

jdowd picture jdowd  路  3Comments