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

open <namespace> command does not work as expected #144

Open
lecopivo opened this issue Aug 14, 2024 · 0 comments
Open

open <namespace> command does not work as expected #144

lecopivo opened this issue Aug 14, 2024 · 0 comments

Comments

@lecopivo
Copy link

Calling open Lean before #doc command does not open the namespace inside of ```lean ... ``` code blocks. Example:

open Lean

#doc (Manual) "Test" =>
```lean
#check MetaM  -- unknown identifier 'MetaM'
```

Calling it inside of ```lean ... ``` works as expected

#doc (Manual) "Test" =>
```lean
#check MetaM  -- Lean.Meta.MetaM (α : Type) : Type
```
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

1 participant