summaryrefslogtreecommitdiff
path: root/support/latexindent/LatexIndent/Heading.pm
diff options
context:
space:
mode:
Diffstat (limited to 'support/latexindent/LatexIndent/Heading.pm')
-rw-r--r--support/latexindent/LatexIndent/Heading.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/support/latexindent/LatexIndent/Heading.pm b/support/latexindent/LatexIndent/Heading.pm
index 0c42f166a6..24d6865c4d 100644
--- a/support/latexindent/LatexIndent/Heading.pm
+++ b/support/latexindent/LatexIndent/Heading.pm
@@ -19,7 +19,7 @@ use warnings;
use LatexIndent::Tokens qw/%tokens/;
use LatexIndent::Switches qw/$is_m_switch_active $is_t_switch_active $is_tt_switch_active/;
use LatexIndent::TrailingComments qw/$trailingCommentRegExp/;
-use LatexIndent::GetYamlSettings qw/%masterSettings/;
+use LatexIndent::GetYamlSettings qw/%mainSettings/;
use LatexIndent::LogFile qw/$logger/;
use LatexIndent::Special qw/$specialBeginBasicRegExp/;
use Exporter qw/import/;
@@ -33,7 +33,7 @@ sub construct_headings_levels{
my $self = shift;
# grab the heading levels
- my %headingsLevels = %{$masterSettings{indentAfterHeadings}};
+ my %headingsLevels = %{$mainSettings{indentAfterHeadings}};
# output to log file
$logger->trace("*Constructing headings reg exp for example, chapter, section, etc (see indentAfterThisHeading)") if $is_t_switch_active ;