Re: Patch 8.2.4050

2022-01-10 Fir de Conversatie Maxim Kim
Oops, I take it back -- it doesn't work :) вторник, 11 января 2022 г. в 09:31:54 UTC+3, Maxim Kim: > Following: > > import autoload 'comment.vim' > nnoremap gc comment.Toggle() > xnoremap gc comment.Toggle() > nnoremap gcc comment.Toggle() .. '_' > > Now works (as of 8.2.4058) >

Re: Patch 8.2.4050

2022-01-10 Fir de Conversatie Maxim Kim
Following: import autoload 'comment.vim' nnoremap gc comment.Toggle() xnoremap gc comment.Toggle() nnoremap gcc comment.Toggle() .. '_' Now works (as of 8.2.4058) понедельник, 10 января 2022 г. в 15:17:40 UTC+3, Bram Moolenaar: > > Maxim Kim wrote: > > > I have tried new way of autoload

Re: Patch 8.2.4050

2022-01-10 Fir de Conversatie Bram Moolenaar
Maxim Kim wrote: > I have tried new way of autoload and for me it didn't work (windows > 8.2.4050) > > I have autoload/comment.vim: > > vim9script autoload > > # Toggle comments > # Usage: > # 1. Save in ~/.vim/autoload/comment.vim > # 2. Add following mappings to vimrc: > # import

Re: Patch 8.2.4050

2022-01-10 Fir de Conversatie Bram Moolenaar
John Marriott wrote: > On 10-Jan-2022 08:37, Bram Moolenaar wrote: > > Patch 8.2.4050 > > Problem:Vim9: need to prefix every item in an autoload script. > > Solution: First step in supporting "vim9script autoload" and "import > >

Re: Patch 8.2.4050

2022-01-09 Fir de Conversatie Maxim Kim
I have tried new way of autoload and for me it didn't work (windows 8.2.4050) I have autoload/comment.vim: vim9script autoload # Toggle comments # Usage: # 1. Save in ~/.vim/autoload/comment.vim # 2. Add following mappings to vimrc: # import autoload 'comment.vim' # nnoremap gc

Re: Patch 8.2.4050

2022-01-09 Fir de Conversatie John Marriott
On 10-Jan-2022 08:37, Bram Moolenaar wrote: Patch 8.2.4050 Problem:Vim9: need to prefix every item in an autoload script. Solution: First step in supporting "vim9script autoload" and "import autoload". Files: runtime/doc/repeat.txt, runtime/doc/vim

Patch 8.2.4050

2022-01-09 Fir de Conversatie Bram Moolenaar
Patch 8.2.4050 Problem:Vim9: need to prefix every item in an autoload script. Solution: First step in supporting "vim9script autoload" and "import autoload". Files: runtime/doc/repeat.txt, runtime/doc/vim9.txt, src/structs.h, src/errors.h, s