Skip to content

Commit

Permalink
Add command redefinitions to command definition filter in structure v…
Browse files Browse the repository at this point in the history
…iew, fix #3661
  • Loading branch information
PHPirates committed Dec 14, 2024
1 parent 99c20e4 commit c26af02
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## [Unreleased]

### Added
* Add command redefinitions to command definition filter in structure view
* Add inspection to warn about a missing reference for a glossary occurrence
* Do not fold sections in a command definition
* Include optional parameters in spellcheck, if it contains text
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,7 @@ class CommandDefinitionFilter : Filter {
true
}
else !(
treeElement.commandName == "\\newcommand" ||
treeElement.commandName in CommandMagic.mathCommandDefinitions ||
treeElement.commandName in CommandMagic.commandDefinitionsAndRedefinitions ||
treeElement.presentation is LatexOtherCommandPresentation
)
}
Expand Down

0 comments on commit c26af02

Please sign in to comment.