mirror of
https://github.com/neovim/neovim.git
synced 2026-04-26 17:24:18 +00:00
eval: Add id() function and make printf("%p") return something useful (#6095)
This commit is contained in:
committed by
Justin M. Keyes
parent
b1cf50c684
commit
abdbfd26bc
@@ -232,6 +232,12 @@ Additional differences:
|
||||
itself.
|
||||
- ShaDa file keeps search direction (|v:searchforward|), viminfo does not.
|
||||
|
||||
|printf()| returns something meaningful when used with `%p` argument: in Vim
|
||||
it used to return useless address of the string (strings are copied to the
|
||||
newly allocated memory all over the place) and fail on types which cannot be
|
||||
coerced to strings. See |id()| for more details, currently it uses
|
||||
`printf("%p", {expr})` internally.
|
||||
|
||||
==============================================================================
|
||||
5. Missing legacy features *nvim-features-missing*
|
||||
*if_lua* *if_perl* *if_mzscheme* *if_tcl*
|
||||
|
||||
Reference in New Issue
Block a user