Mercurial > vim
comparison runtime/doc/eval.txt @ 19952:82ea10d554fb v8.2.0532
patch 8.2.0532: cannot use simplify() as a method
Commit: https://github.com/vim/vim/commit/7035fd9d909c49cf5105a53753c1772c193d05b8
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Apr 8 20:03:52 2020 +0200
patch 8.2.0532: cannot use simplify() as a method
Problem: Cannot use simplify() as a method.
Solution: Add FEARG_1. (closes https://github.com/vim/vim/issues/5996)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 08 Apr 2020 20:15:04 +0200 |
parents | f92435f0f449 |
children | 1908e92b02fd |
comparison
equal
deleted
inserted
replaced
19951:d98f73cfabfa | 19952:82ea10d554fb |
---|---|
9022 a searchable directory or does not exist. On Unix, it is also | 9022 a searchable directory or does not exist. On Unix, it is also |
9023 removed when "dir" is a symbolic link within the same | 9023 removed when "dir" is a symbolic link within the same |
9024 directory. In order to resolve all the involved symbolic | 9024 directory. In order to resolve all the involved symbolic |
9025 links before simplifying the path name, use |resolve()|. | 9025 links before simplifying the path name, use |resolve()|. |
9026 | 9026 |
9027 Can also be used as a |method|: > | |
9028 GetName()->simplify() | |
9027 | 9029 |
9028 sin({expr}) *sin()* | 9030 sin({expr}) *sin()* |
9029 Return the sine of {expr}, measured in radians, as a |Float|. | 9031 Return the sine of {expr}, measured in radians, as a |Float|. |
9030 {expr} must evaluate to a |Float| or a |Number|. | 9032 {expr} must evaluate to a |Float| or a |Number|. |
9031 Examples: > | 9033 Examples: > |