-
If we pass an argument with a wrong type to a lambda, an error is given at compile time:
```vim
vim9script
def Func()
((s: string) => 0)(123)
enddef
defcompile
```
E1013: Argument 1: t…
-
**Steps to reproduce**
Run this shell command:
vim -Nu NONE -S mkdir('p')
lines->writefile(dir .. '/foobar.vim')
set filetype=foobar
set filetype=
EOF
)
…
-
### Steps to reproduce
I guess the echo implementation makes this a nested echo
run the following
```
vim9script
def X(): string
echo 'foo'
return 'baz'
enddef
echo 'bar' X()
```…
-
**Steps to reproduce**
Run this shell command:
vim -Nu NONE -S
-
### Steps to reproduce
The plugin I'm working with has had a long standing intermittent issue. &columns set on the command line did not always work. I've tried various suggestions, seemed to fix it, …
-
### Steps to reproduce
1. Create and source the script:
```vim
vim9script
def MyFunc()
def Fib(n: number): number
if n < 2
return 1
endif
return Fib(n - 2) + Fib(n - 1)
…
-
### Steps to reproduce
source the following script
```
vim9script
var hud_item = null_list
def CheckItem(item: list)
echo 'CheckItem'
if item != null
throw 'item empty but …
-
**Describe the bug**
I recently needed markdown preview, I noticed it
threw an error: `No matching autocommands: User NvimMkdpRpcExit`
So I thought "Maybe I messed something up", I removed th…
-
`:help hl-StatusLineTermNC`
Unlike the other highlight groups, this one isn't highlighted. That's because the group name, `StatusLineTermNC`, is directly followed by spaces rather than a tab.
To h…
-
**Does this bug happen when you install plugin without vim-polyglot?**
No
**Describe the bug:**
If you are calling `filetype` twice in your `.vimrc like
```vim
filetype off
filetyp…