Re: Error message in Vim 9 script

2021-06-04 Thread Bram Moolenaar
Salman Halim wrote: > I'm getting this error in my Vim 9 script in Windows GVim 8.2.2912: > > Error detected while compiling > C:/vim/Vimfiles/plugin/Test.vim[17]..function TestBrokenCall: > line8: > E1013: Argument 3: type mismatch, expected string but got bool > > Here is a simple duplic

Error message in Vim 9 script

2021-06-04 Thread Salman Halim
Hello, I'm getting this error in my Vim 9 script in Windows GVim 8.2.2912: Error detected while compiling C:/vim/Vimfiles/plugin/Test.vim[17]..function TestBrokenCall: line8: E1013: Argument 3: type mismatch, expected string but got bool Here is a simple duplication script: vim9script expo

Re: adaption of spell checker for non-prose data entry

2021-06-04 Thread Bram Moolenaar
Mike Marchywka wrote: > I recently went out and got vim 8 for he spell checker and it seems > pretty nice. I was curious however if anyone has tried to adapt that > for data entry rather than correcting > normal compositions. For example, I have this data entry system that > defines a bunch of n

Re: Error in Ruby code embedded in vim9script

2021-06-04 Thread Ni Va
Ok, Can I code legacy function in a vim9script just for this case and keep all rest with def function ? Thank you Bram Le jeudi 3 juin 2021 à 21:56:57 UTC+2, Bram Moolenaar a écrit : > > Ni Va wrote: > > > This is in my _vimrc > > nnoremap :exe '!start '.expand('$vimruntime/gvim.exe').' -c >