Mercurial > vim
comparison runtime/doc/builtin.txt @ 29290:dc4de65a7fb7
Update runtime files
Commit: https://github.com/vim/vim/commit/8a3b805c6c9cae341d560df9c3567ebbe42a7404
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jun 26 12:21:15 2022 +0100
Update runtime files
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 26 Jun 2022 13:30:04 +0200 |
parents | 729a7c00fabc |
children | 0b1d7e910b23 |
comparison
equal
deleted
inserted
replaced
29289:430376616aac | 29290:dc4de65a7fb7 |
---|---|
4896 List, Dict or Float argument causes an error. Example: > | 4896 List, Dict or Float argument causes an error. Example: > |
4897 :let bits = invert(bits) | 4897 :let bits = invert(bits) |
4898 < Can also be used as a |method|: > | 4898 < Can also be used as a |method|: > |
4899 :let bits = bits->invert() | 4899 :let bits = bits->invert() |
4900 | 4900 |
4901 isabsolutepath({directory}) *isabsolutepath()* | 4901 isabsolutepath({path}) *isabsolutepath()* |
4902 The result is a Number, which is |TRUE| when {path} is an | 4902 The result is a Number, which is |TRUE| when {path} is an |
4903 absolute path. | 4903 absolute path. |
4904 < On Unix, a path is considered absolute when it starts with '/'. | 4904 On Unix, a path is considered absolute when it starts with '/'. |
4905 On MS-Windows, it is considered absolute when it starts with an | 4905 On MS-Windows, it is considered absolute when it starts with an |
4906 optional drive prefix and is followed by a '\' or '/'. UNC paths | 4906 optional drive prefix and is followed by a '\' or '/'. UNC paths |
4907 are always absolute. | 4907 are always absolute. |
4908 Example: > | 4908 Example: > |
4909 echo isabsolutepath('/usr/share/') " 1 | 4909 echo isabsolutepath('/usr/share/') " 1 |
4910 echo isabsolutepath('./foobar') " 0 | 4910 echo isabsolutepath('./foobar') " 0 |
4911 echo isabsolutepath('C:\Windows') " 1 | 4911 echo isabsolutepath('C:\Windows') " 1 |
4912 echo isabsolutepath('foobar') " 0 | 4912 echo isabsolutepath('foobar') " 0 |
4913 echo isabsolutepath('\\remote\file') " 1 | 4913 echo isabsolutepath('\\remote\file') " 1 |
4914 | 4914 < |
4915 Can also be used as a |method|: > | 4915 Can also be used as a |method|: > |
4916 GetName()->isabsolutepath() | 4916 GetName()->isabsolutepath() |
4917 | 4917 |
4918 | 4918 |
4919 isdirectory({directory}) *isdirectory()* | 4919 isdirectory({directory}) *isdirectory()* |
10593 vim9script Compiled with |Vim9| script support | 10593 vim9script Compiled with |Vim9| script support |
10594 viminfo Compiled with viminfo support. | 10594 viminfo Compiled with viminfo support. |
10595 vimscript-1 Compiled Vim script version 1 support | 10595 vimscript-1 Compiled Vim script version 1 support |
10596 vimscript-2 Compiled Vim script version 2 support | 10596 vimscript-2 Compiled Vim script version 2 support |
10597 vimscript-3 Compiled Vim script version 3 support | 10597 vimscript-3 Compiled Vim script version 3 support |
10598 vimscript-4 Compiled Vim script version 4 support | |
10598 virtualedit Compiled with 'virtualedit' option. (always true) | 10599 virtualedit Compiled with 'virtualedit' option. (always true) |
10599 visual Compiled with Visual mode. (always true) | 10600 visual Compiled with Visual mode. (always true) |
10600 visualextra Compiled with extra Visual mode commands. (always | 10601 visualextra Compiled with extra Visual mode commands. (always |
10601 true) |blockwise-operators|. | 10602 true) |blockwise-operators|. |
10602 vms VMS version of Vim. | 10603 vms VMS version of Vim. |