Patch 9.0.1411

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1411 Problem:Accuracy of profiling is not optimal. Solution: Use CLOCK_MONOTONIC if possible. (Ernie Rael, closes #12129) Files: runtime/doc/builtin.txt, runtime/doc/repeat.txt, src/evalfunc.c, src/profiler.c, src/time.c, src/vim.h, src/testdir/test_pr

Patch 9.0.1410

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1410 Problem:MacOS: sed fails on .po files. Solution: Set $LANG to "C". (Yee Cheng Chin, closes #12153) Files: runtime/lang/Makefile, src/po/Make_all.mak, src/po/Makefile, src/po/zh_TW.UTF-8.po, src/po/zh_TW.po *** ../vim-9.0.1409/runtime/lang/Makefile 202

Patch 9.0.1409

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1409 Problem:Racket files are recognized as scheme. Solution: Recognize rackets files separately. (Gabriel Kakizaki, closes #12164, closes #12162) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1408/runtime/filetype.vim2023-03-

Patch 9.0.1408

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1408 Problem:QMLdir files are not recognized. Solution: Add a pattern for QMLdir files. (Amaan Qureshi, closes #12161) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1407/runtime/filetype.vim2023-03-16 15:54:14.667322572 + --- runtime

Re: [vim/vim] Terminal inside Vim sets $LINES environment variable globally instead of locally? (Issue #12160)

2023-03-16 Fir de Conversatie Gary Johnson
On 2023-03-15, user202729 wrote: > I'm not sure if this is a bug or not. > > Basically, if we use bash, then the subprocesses does not inherit the values > of > $LINES environment variable... > > $ echo $LINES > 100 > $ bash -c 'echo $LINES' > > $ bash -ic 'echo $LINES' > 100 > $ > > here, in

Patch 9.0.1407

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1407 Problem:TableGen files are not recognized. Solution: Add a pattern for TableGen files. (Amaan Qureshi, closes #12156) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1406/runtime/filetype.vim2023-03-16 12:26:47.833245260 + --- run

Re: vim9 autoloaded functions in expression register

2023-03-16 Fir de Conversatie Maxim Kim
Your "old way" example most likely works because "misc#" finds the misc.vim script file in an autoload directory. The "import" line doesn't matter (I haven't tried this though). Indeed, import doesn't matter, it was just a leftover from previous try and not needed here. I can't think of

Patch 9.0.1406

2023-03-16 Fir de Conversatie Bram Moolenaar
Patch 9.0.1406 Problem:ILE RPG files are not recognized. Solution: Add patterns for ILE RPG files. (Andreas Louv, issue #12152) Files: runtime/filetype.vim, src/testdir/test_filetype.vim *** ../vim-9.0.1405/runtime/filetype.vim2023-03-08 20:35:14.097890706 + --- runtime/

Re: vim9 autoloaded functions in expression register

2023-03-16 Fir de Conversatie Bram Moolenaar
Maxim Kim wrote: > Is there a way to use vim9 autoloaded function in expression register? > > The old way works: > > vim9script > import autoload 'misc.vim' > iab p! println!()=misc#Eatchar('\s') > > the dotted call doesn't: > > vim9script > import autoload 'misc.vim' > iab p! println!()=m