Mercurial > vim
view runtime/doc/vimtutor.1 @ 33532:f99f5a56ff27 v9.0.2015
patch 9.0.2015: Vim9: does not handle islocked() from a method correctly
Commit: https://github.com/vim/vim/commit/4c8da025ef8140168b7a09d9fe922ce4bb40f19d
Author: Ernie Rael <errael@raelity.com>
Date: Wed Oct 11 21:35:11 2023 +0200
patch 9.0.2015: Vim9: does not handle islocked() from a method correctly
Problem: Vim9: does not handle islocked() from a method correctly
Solution: Handle islocked() builtin from a method.
- Setup `lval_root` from `f_islocked()`.
- Add function `fill_exec_lval_root()` to get info about executing method.
- `sync_root` added in get_lval to handle method member access.
- Conservative approach to reference counting.
closes: #13309
Signed-off-by: Christian Brabandt <cb@256bit.org>
Co-authored-by: Ernie Rael <errael@raelity.com>
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Wed, 11 Oct 2023 21:45:04 +0200 |
parents | b2e8663e6dcc |
children | 4a958ef2dc5e |
line wrap: on
line source
.TH VIMTUTOR 1 "2001 April 2" .SH NAME vimtutor \- the Vim tutor .SH SYNOPSIS .br .B vimtutor [\-g] [language] .SH DESCRIPTION .B Vimtutor starts the .B Vim tutor. It copies the tutor file first, so that it can be modified without changing the original file. .PP The .B Vimtutor is useful for people that want to learn their first .B Vim commands. .PP The optional argument \-g starts vimtutor with gvim rather than vim, if the GUI version of vim is available, or falls back to Vim if gvim is not found. .PP The optional [language] argument is the two-letter name of a language, like "it" or "es". If the [language] argument is missing, the language of the current locale will be used. If a tutor in this language is available, it will be used. Otherwise the English version will be used. .PP .B Vim is always started in Vi compatible mode. .SH FILES .TP 15 /usr/local/lib/vim/tutor/tutor[.language] The .B Vimtutor text file(s). .TP 15 /usr/local/lib/vim/tutor/tutor.vim The Vim script used to copy the .B Vimtutor text file. .SH AUTHOR The .B Vimtutor was originally written for Vi by Michael C. Pierce and Robert K. Ware, Colorado School of Mines using ideas supplied by Charles Smith, Colorado State University. E-mail: bware@mines.colorado.edu (now invalid). .br It was modified for .B Vim by Bram Moolenaar. For the names of the translators see the tutor files. .SH SEE ALSO vim(1)