iamcco / iamcco/vim-language-server
Doesn't recognice def as functions
Open
- Dominant language
- JavaScript
- Stars
- 546
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Does not recognize vim9 functions as functions and warns that return isn't inside a `function` block.
NOTE: this is inside a file with `vim9script` as the first line.
**To Reproduce**
```vim9script
vim9script
def MyFunction(): bool
return true
enddef
```
**Expected behavior**
No error to be shown
**Screenshots**

Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.