lean4-htt/tests/lean/interactive/catHover.lean
2022-07-27 18:10:46 -07:00

22 lines
497 B
Text

/-- Index syntax categoy -/
declare_syntax_cat index
--v textDocument/hover
syntax "foo " term prio index : term
--^ textDocument/hover
--^ textDocument/hover
namespace Foo
/-- Value syntax category -/
declare_syntax_cat value
syntax "bla " value : term
--^ textDocument/hover
end Foo
macro "boo " : term => `(0)
--^ textDocument/hover
syntax term " ++ " value : term
--^ textDocument/hover