Update default styles and some inline comments
// Linter specific settings.
// More info: http://www.sublimelinter.com/en/stable/linter_settings.html
- // Linter specific settings can also be changed in sublime-project settings.
+ // Linter specific settings except for "styles" can also be changed
+ // in sublime-project settings.
// What settings are available is documented in the readme of the
// specific linter plugin.
// Example:
// "somelinter": {
// "disable": false,
// "args": [],
- // "excludes": []
+ // "excludes": [],
+ // "styles": [
+ // {
+ // "icon": "diamond"
+ // }
+ // ]
// },
// "somepythonlinter": {
// "python": null,
"statusbar.show_active_linters": true,
// Global styles for all linters.
- // Styles can also be specified per linter.
+ // Note: Styles can also be specified per linter! See above.
// - mark_style:
// - "none"
// - "fill", "outline",
// Determines, for overlapping errors, which one is visualised.
// - types:
// An array which can contain "warning" and/or "error".
- // If omitted in linter specific styles, it will match both.
+ // If omitted will match both.
// - codes:
// An array which can contain error codes provided by a linter.
+ // Only valid as linter style in the "linters" section
"styles": [
{
- "mark_style": "outline",
- "priority": 1,
"scope": "region.yellowish markup.warning.sublime_linter",
- "icon": "dot",
- "types": [
- "warning"
- ]
+ "types": ["warning"]
},
{
- "mark_style": "outline",
- "priority": 1,
"scope": "region.redish markup.error.sublime_linter",
+ "types": ["error"]
+ },
+ {
+ "priority": 1,
"icon": "dot",
- "types": [
- "error"
- ]
+ "mark_style": "outline"
}
],
