diff options
Diffstat (limited to 'support/texlab/src/syntax/latex/cst.rs')
-rw-r--r-- | support/texlab/src/syntax/latex/cst.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/support/texlab/src/syntax/latex/cst.rs b/support/texlab/src/syntax/latex/cst.rs index d7c9ec9bc7..767aa50ecc 100644 --- a/support/texlab/src/syntax/latex/cst.rs +++ b/support/texlab/src/syntax/latex/cst.rs @@ -222,7 +222,7 @@ impl CurlyGroupCommand { self.syntax() .children_with_tokens() .filter_map(|node| node.into_token()) - .find(|node| node.kind() == GENERIC_COMMAND_NAME) + .find(|node| node.kind() == COMMAND_NAME) } } @@ -312,7 +312,7 @@ impl GenericCommand { self.syntax() .children_with_tokens() .filter_map(|node| node.into_token()) - .find(|node| node.kind() == GENERIC_COMMAND_NAME) + .find(|node| node.kind() == COMMAND_NAME) } } |