Mercurial > vim
comparison runtime/doc/eval.txt @ 18477:e93cab5d0f0f v8.1.2233
patch 8.1.2233: cannot get the Vim command line arguments
Commit: https://github.com/vim/vim/commit/69bf634858a2a75f2984e42b1e4017bc529a040a
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Oct 29 04:16:57 2019 +0100
patch 8.1.2233: cannot get the Vim command line arguments
Problem: Cannot get the Vim command line arguments.
Solution: Add v:argv. (Dmitri Vereshchagin, closes https://github.com/vim/vim/issues/1322)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 29 Oct 2019 04:30:05 +0100 |
parents | 18d7337b6837 |
children | e9a47bcf7b94 |
comparison
equal
deleted
inserted
replaced
18476:2eb22798b5a7 | 18477:e93cab5d0f0f |
---|---|
1 *eval.txt* For Vim version 8.1. Last change: 2019 Oct 26 | 1 *eval.txt* For Vim version 8.1. Last change: 2019 Oct 29 |
2 | 2 |
3 | 3 |
4 VIM REFERENCE MANUAL by Bram Moolenaar | 4 VIM REFERENCE MANUAL by Bram Moolenaar |
5 | 5 |
6 | 6 |
1659 | 1659 |
1660 | 1660 |
1661 PREDEFINED VIM VARIABLES *vim-variable* *v:var* *v:* | 1661 PREDEFINED VIM VARIABLES *vim-variable* *v:var* *v:* |
1662 *E963* | 1662 *E963* |
1663 Some variables can be set by the user, but the type cannot be changed. | 1663 Some variables can be set by the user, but the type cannot be changed. |
1664 | |
1665 *v:argv* *argv-variable* | |
1666 v:argv The command line arguments Vim was invoked with. This is a | |
1667 list of strings. The first item is the Vim command. | |
1664 | 1668 |
1665 *v:beval_col* *beval_col-variable* | 1669 *v:beval_col* *beval_col-variable* |
1666 v:beval_col The number of the column, over which the mouse pointer is. | 1670 v:beval_col The number of the column, over which the mouse pointer is. |
1667 This is the byte index in the |v:beval_lnum| line. | 1671 This is the byte index in the |v:beval_lnum| line. |
1668 Only valid while evaluating the 'balloonexpr' option. | 1672 Only valid while evaluating the 'balloonexpr' option. |
3032 :endwhile | 3036 :endwhile |
3033 < Without the {nr} argument, or when {nr} is -1, a |List| with | 3037 < Without the {nr} argument, or when {nr} is -1, a |List| with |
3034 the whole |arglist| is returned. | 3038 the whole |arglist| is returned. |
3035 | 3039 |
3036 The {winid} argument specifies the window ID, see |argc()|. | 3040 The {winid} argument specifies the window ID, see |argc()|. |
3041 For the Vim command line arguments see |v:argv|. | |
3037 | 3042 |
3038 | 3043 |
3039 assert_ functions are documented here: |assert-functions-details| | 3044 assert_ functions are documented here: |assert-functions-details| |
3040 | 3045 |
3041 | 3046 |