Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ Maximum length of a line before it will be wrapped.
Number of characters to indent.
#### lua.format.singleQuote (Default: `false`)
Whether to use single or double quotes on strings. Defaults to double quotes.
#### lua.format.exclude (Default: `[]`)
List of globs to exclude files from lua formatting.

#### lua.linting.enabled (Default: `true`)
Specifies whether to enable linting of source files
Expand Down
9 changes: 9 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,15 @@
},
"default": [],
"description": "Additional arguments to pass to luacheck"
},
"lua.format.exclude": {
"type": "array",
"items": {
"type": "string",
"title": "arguments"
},
"default": [],
"description": "List of globs to exclude files from lua formatting."
}
}
}
Expand Down
Loading