mirror of
https://github.com/latex-lsp/texlab.git
synced 2025-08-04 02:39:21 +00:00
Fix crash in symbols with theorem descriptions
This commit is contained in:
parent
7a88e598a6
commit
5a676d3787
1 changed files with 5 additions and 2 deletions
|
@ -31,8 +31,11 @@ fn make_symbol(
|
|||
)
|
||||
.unwrap_or_else(|| titlecase(env_name));
|
||||
|
||||
let desc =
|
||||
table.print_group_content(env.left.parent, latex::GroupKind::Options, 0);
|
||||
let desc = main_table.print_group_content(
|
||||
env.left.parent,
|
||||
latex::GroupKind::Options,
|
||||
0,
|
||||
);
|
||||
|
||||
let label = main_table.find_label_by_environment(env);
|
||||
let number = label
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue