Skip to content

docs: fix lazy.nvim configuration example - #584

Merged
Julian merged 1 commit into
Julian:mainfrom
KowerKoint:main
Nov 14, 2026
Merged

Julian merged 1 commit into
Julian:mainfrom
KowerKoint:main

Conversation

@KowerKoint

Copy link
Copy Markdown
Contributor

The README's lazy.nvim example still uses opts,which makes lazy.nvim call require('lean').setup(opts). Since setup() was removed in ca4393d, following the example fails with:

    attempt to call field 'setup' (a nil value)

Set vim.g.lean_config in init instead, before lean.nvim loads.

Verified with Neovim 0.12.6 and lazy.nvim: opening a Lean file successfully initializes leanls.

Related: #557.

@Julian

Julian commented Nov 14, 2026

Copy link
Copy Markdown
Owner

Thanks

@Julian
Julian merged commit 755fee7 into Julian:main Nov 14, 2026
9 checks passed
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