Tabs changed to literal and default to using tabs

This commit is contained in:
Focus 2016-03-05 10:07:23 +00:00
parent 3a40d56279
commit 75ca70bc1f
2 changed files with 2 additions and 2 deletions

View File

@ -17,7 +17,7 @@ module.exports = class LatexBeautify extends Beautifier
buildConfigFile: (options) ->
indentChar = options.indent_char
if options.indent_with_tabs
indentChar = "\t"
indentChar = "\\t"
# +true = 1 and +false = 0
config = """
defaultIndent: \"#{indentChar}\"

View File

@ -37,7 +37,7 @@ module.exports = {
description: "Indentation character"
indent_with_tabs:
type: 'boolean'
default: defaultIndentWithTabs
default: true
description: "Indentation uses tabs, overrides `Indent Size` and `Indent Char`"
indent_preamble:
type: 'boolean'