Skip to content

Conversation

@cdunham
Copy link

@cdunham cdunham commented Oct 20, 2025

NVIM v0.11.4 (via neovim-snap on Ubuntu 24.04) and the latest lazy.nvim gives the error "unexpected symbol near '{'" without the return keyword.

NVIM v0.11.4 (via neovim-snap on Ubuntu 24.04) and the latest lazy.nvim gives the error "unexpected symbol near '{'" without the return keyword.
@Julian
Copy link
Owner

Julian commented Oct 20, 2025

Whether you need return or not depends on whether you take the example there and insert it alongside existing plugins you use or whether you put it in an entirely new plug-in file specifically for lean.nvim.

@cdunham
Copy link
Author

cdunham commented Oct 20, 2025

Makes sense, thanks.

@cdunham cdunham closed this Oct 20, 2025
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

Successfully merging this pull request may close these issues.

2 participants