-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathplaintext.json
116 lines (116 loc) · 3.13 KB
/
plaintext.json
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
{
"shebang-sh": {
"prefix": "#!sh",
"body": [
"#!/usr/bin/env sh"
],
"description": "Adds a shebang for 'sh' shell scripts"
},
"shebang-bash": {
"prefix": "#!bash",
"body": [
"#!/usr/bin/env bash"
],
"description": "Adds a shebang for 'bash' shell scripts"
},
"shebang-expect": {
"prefix": "#!expect",
"body": [
"#!/usr/bin/expect -f"
],
"description": "Adds a shebang for 'expect' scripts"
},
"shebang-perl": {
"prefix": "#!perl",
"body": [
"#!/usr/bin/env perl"
],
"description": "Adds a shebang for Perl scripts"
},
"shebang-lua": {
"prefix": "#!lua",
"body": [
"#!/usr/bin/env lua"
],
"description": "Adds a shebang for Lua scripts"
},
"shebang-python": {
"prefix": "#!python",
"body": [
"#!/usr/bin/env ${1|python3,python|}"
],
"description": "Adds a shebang for Python scripts"
},
"shebang-python-encoding": {
"prefix": "#!python+encoding",
"body": [
"#!/usr/bin/env ${1|python3,python|}",
"# -*- coding: ${2|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for Python scripts and defines an encoding"
},
"shebang-php": {
"prefix": "#!php",
"body": [
"#!/usr/bin/env php"
],
"description": "Adds a shebang for PHP scripts"
},
"shebang-node": {
"prefix": "#!node",
"body": [
"#!/usr/bin/env node"
],
"description": "Adds a shebang for JavaScript executed with Node.js"
},
"shebang-fsharp": {
"prefix": "#!fsharp",
"body": [
"#!/usr/bin/env fsharpi --exec"
],
"description": "Adds a shebang for F# scripts"
},
"shebang-ruby": {
"prefix": "#!ruby",
"body": [
"#!/usr/bin/env ruby"
],
"description": "Adds a shebang for Ruby scripts"
},
"shebang-ruby-encoding": {
"prefix": "#!ruby+encoding",
"body": [
"#!/usr/bin/env ruby",
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a shebang for Ruby scripts and defines an encoding"
},
"shebang-groovy": {
"prefix": "#!groovy",
"body": [
"#!/usr/bin/env groovy"
],
"description": "Adds a shebang for Groovy scripts"
},
"shebang-powershell": {
"prefix": "#!powershell",
"body": [
"#!/usr/bin/env pwsh"
],
"description": "Adds a shebang for PowerShell Core scripts"
},
"shebang-pwsh": {
"prefix": "#!pwsh",
"body": [
"#!/usr/bin/env pwsh"
],
"description": "Adds a shebang for PowerShell Core scripts"
},
"shebang-encoding": {
"prefix": "#encoding",
"body": [
"# -*- coding: ${1|utf-8,latin-1,ascii|} -*-"
],
"description": "Adds a magic comment for file encoding"
}
}