-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMagicComment.sublime-settings
31 lines (30 loc) · 1.2 KB
/
MagicComment.sublime-settings
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
// Controls, whether comments should be inserted automatically on file save, or not. If disabled, you can still
// use the plugin via command palette, or key bindings
//
"run_on_save": true,
// The main configuration section. You can add as many comments as you want, for any file name/extension.
//
// Text - Text of the comment to insert
// Line - Number of the line you wish to insert the comment
// Blank Lines - Amount of blank lines to insert after the comment
// Files
// Include - File names and extensions to insert comments for
// Exclude - File names and extensions you want to ignore. Useful in cases, if some files in your project are
// autogenetated
//
// Note, that Include and Exclude arrays support wildcards for file extensions via '*'. E.g *.rb mathes all Ruby
// files, *.py - all Python files and so on
//
"comments": [
{
"text": "# frozen_string_literal: true",
"line": 1,
"blank_lines": 1,
"files": {
"include": ["*.rb", "Gemfile", "Rakefile", "config.ru"],
"exclude": ["schema.rb"]
}
}
]
}