Mercurial > vim
comparison runtime/doc/eval.txt @ 9587:05a56bbe34a1 v7.4.2071
commit https://github.com/vim/vim/commit/f562e72df726c6191fa305e1c0a113f1cfb87f76
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 19 17:25:25 2016 +0200
patch 7.4.2071
Problem: The return value of type() is difficult to use.
Solution: Define v:t_ constants. (Ken Takata)
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Tue, 19 Jul 2016 17:30:06 +0200 |
parents | 9560a5b782ee |
children | 172131507c85 |
comparison
equal
deleted
inserted
replaced
9586:6ef05911e376 | 9587:05a56bbe34a1 |
---|---|
1824 v:swapcommand Normal mode command to be executed after a file has been | 1824 v:swapcommand Normal mode command to be executed after a file has been |
1825 opened. Can be used for a |SwapExists| autocommand to have | 1825 opened. Can be used for a |SwapExists| autocommand to have |
1826 another Vim open the file and jump to the right place. For | 1826 another Vim open the file and jump to the right place. For |
1827 example, when jumping to a tag the value is ":tag tagname\r". | 1827 example, when jumping to a tag the value is ":tag tagname\r". |
1828 For ":edit +cmd file" the value is ":cmd\r". | 1828 For ":edit +cmd file" the value is ":cmd\r". |
1829 | |
1830 *v:t_TYPE* *v:t_bool* *t_bool-varialble* | |
1831 v:t_bool Value of Boolean type. Read-only. See: |type()| | |
1832 *v:t_channel* *t_channel-varialble* | |
1833 v:t_channel Value of Channel type. Read-only. See: |type()| | |
1834 *v:t_dict* *t_dict-varialble* | |
1835 v:t_dict Value of Dictionary type. Read-only. See: |type()| | |
1836 *v:t_float* *t_float-varialble* | |
1837 v:t_float Value of Float type. Read-only. See: |type()| | |
1838 *v:t_func* *t_func-varialble* | |
1839 v:t_func Value of Funcref type. Read-only. See: |type()| | |
1840 *v:t_job* *t_job-varialble* | |
1841 v:t_job Value of Job type. Read-only. See: |type()| | |
1842 *v:t_list* *t_list-varialble* | |
1843 v:t_list Value of List type. Read-only. See: |type()| | |
1844 *v:t_none* *t_none-varialble* | |
1845 v:t_none Value of None type. Read-only. See: |type()| | |
1846 *v:t_number* *t_number-varialble* | |
1847 v:t_number Value of Number type. Read-only. See: |type()| | |
1848 *v:t_string* *t_string-varialble* | |
1849 v:t_string Value of String type. Read-only. See: |type()| | |
1829 | 1850 |
1830 *v:termresponse* *termresponse-variable* | 1851 *v:termresponse* *termresponse-variable* |
1831 v:termresponse The escape sequence returned by the terminal for the |t_RV| | 1852 v:termresponse The escape sequence returned by the terminal for the |t_RV| |
1832 termcap entry. It is set when Vim receives an escape sequence | 1853 termcap entry. It is set when Vim receives an escape sequence |
1833 that starts with ESC [ or CSI and ends in a 'c', with only | 1854 that starts with ESC [ or CSI and ends in a 'c', with only |