Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Doesn't recognice def as functions #86

Open
Gurran opened this issue Mar 31, 2023 · 1 comment
Open

Doesn't recognice def as functions #86

Gurran opened this issue Mar 31, 2023 · 1 comment

Comments

@Gurran
Copy link

Gurran commented Mar 31, 2023

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

def MyFunction(): bool
    return true
enddef

Expected behavior
No error to be shown

Screenshots
Screenshot from 2023-03-31 11-53-14

@Gurran Gurran changed the title Don't recognice def as functions Doesn't recognice def as functions Mar 31, 2023
@iamcco
Copy link
Owner

iamcco commented Apr 8, 2023

vimscript9 is not support yet. #78

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants