Fix Beautify File option by adding indent_size and indent_char options
This commit is contained in:
parent
e0dc5c313e
commit
32fba8bf1a
|
@ -1,5 +1,6 @@
|
||||||
# Next
|
# Next
|
||||||
- Fix [#1862](https://github.com/Glavin001/atom-beautify/issues/1862) Add support for ocp-indent as an executable
|
- Fix [#1862](https://github.com/Glavin001/atom-beautify/issues/1862) Add support for ocp-indent as an executable
|
||||||
|
- Fix Beauify File option for .lua files
|
||||||
|
|
||||||
# v0.30.9 (2017-11-22)
|
# v0.30.9 (2017-11-22)
|
||||||
- Fix [#1949](https://github.com/Glavin001/atom-beautify/issues/1949): Fix beautify on save when text has not changed.
|
- Fix [#1949](https://github.com/Glavin001/atom-beautify/issues/1949): Fix beautify on save when text has not changed.
|
||||||
|
|
|
@ -21,6 +21,15 @@ module.exports = {
|
||||||
defaultBeautifier: "Lua beautifier"
|
defaultBeautifier: "Lua beautifier"
|
||||||
|
|
||||||
options:
|
options:
|
||||||
|
indent_size:
|
||||||
|
type: 'integer'
|
||||||
|
default: null
|
||||||
|
minimum: 0
|
||||||
|
description: "Indentation size/length"
|
||||||
|
indent_char:
|
||||||
|
type: 'string'
|
||||||
|
default: null
|
||||||
|
description: "Indentation character"
|
||||||
end_of_line:
|
end_of_line:
|
||||||
type: 'string'
|
type: 'string'
|
||||||
default: "System Default"
|
default: "System Default"
|
||||||
|
|
|
@ -4582,6 +4582,35 @@
|
||||||
"ttslua"
|
"ttslua"
|
||||||
],
|
],
|
||||||
"properties": {
|
"properties": {
|
||||||
|
"indent_size": {
|
||||||
|
"type": "integer",
|
||||||
|
"default": null,
|
||||||
|
"minimum": 0,
|
||||||
|
"description": "Indentation size/length (Supported by Lua beautifier)",
|
||||||
|
"title": "Indent size",
|
||||||
|
"beautifiers": [
|
||||||
|
"Lua beautifier"
|
||||||
|
],
|
||||||
|
"key": "indent_size",
|
||||||
|
"language": {
|
||||||
|
"name": "Lua",
|
||||||
|
"namespace": "lua"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"indent_char": {
|
||||||
|
"type": "string",
|
||||||
|
"default": null,
|
||||||
|
"description": "Indentation character (Supported by Lua beautifier)",
|
||||||
|
"title": "Indent char",
|
||||||
|
"beautifiers": [
|
||||||
|
"Lua beautifier"
|
||||||
|
],
|
||||||
|
"key": "indent_char",
|
||||||
|
"language": {
|
||||||
|
"name": "Lua",
|
||||||
|
"namespace": "lua"
|
||||||
|
}
|
||||||
|
},
|
||||||
"end_of_line": {
|
"end_of_line": {
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"default": "System Default",
|
"default": "System Default",
|
||||||
|
@ -9320,22 +9349,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"ocp-indent": {
|
|
||||||
"key": "ocp-indent",
|
|
||||||
"title": "ocp-indent",
|
|
||||||
"type": "object",
|
|
||||||
"collapsed": true,
|
|
||||||
"description": "Options for ocp-indent executable.",
|
|
||||||
"properties": {
|
|
||||||
"path": {
|
|
||||||
"key": "path",
|
|
||||||
"title": "Binary/Script Path",
|
|
||||||
"type": "string",
|
|
||||||
"default": "",
|
|
||||||
"description": "Absolute path to the \"ocp-indent\" executable's binary/script."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"php": {
|
"php": {
|
||||||
"key": "php",
|
"key": "php",
|
||||||
"title": "PHP",
|
"title": "PHP",
|
||||||
|
@ -9384,22 +9397,6 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"puppet-lint": {
|
|
||||||
"key": "puppet-lint",
|
|
||||||
"title": "puppet-lint",
|
|
||||||
"type": "object",
|
|
||||||
"collapsed": true,
|
|
||||||
"description": "Options for puppet-lint executable.",
|
|
||||||
"properties": {
|
|
||||||
"path": {
|
|
||||||
"key": "path",
|
|
||||||
"title": "Binary/Script Path",
|
|
||||||
"type": "string",
|
|
||||||
"default": "",
|
|
||||||
"description": "Absolute path to the \"puppet-lint\" executable's binary/script."
|
|
||||||
}
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"sass-convert": {
|
"sass-convert": {
|
||||||
"key": "sass-convert",
|
"key": "sass-convert",
|
||||||
"title": "SassConvert",
|
"title": "SassConvert",
|
||||||
|
|
Loading…
Reference in New Issue