File tree Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Expand file tree Collapse file tree 1 file changed +19
-18
lines changed Original file line number Diff line number Diff line change 1
1
local shebang_prefixes = { ' /usr/bin/' , ' /bin/' , ' /usr/bin/env ' , ' /bin/env ' }
2
2
local shebang_fts = {
3
- [' sh' ] = ' sh' ,
4
- [' bash' ] = ' sh' ,
5
- [' zsh' ] = ' zsh' ,
6
3
[' fish' ] = ' fish' ,
4
+ [' perl' ] = ' perl' ,
7
5
[' python' ] = ' python' ,
8
6
[' python2' ] = ' python' ,
9
7
[' python3' ] = ' python' ,
10
- [' perl' ] = ' perl' ,
8
+ [' bash' ] = ' sh' ,
9
+ [' sh' ] = ' sh' ,
10
+ [' zsh' ] = ' zsh' ,
11
11
}
12
12
13
13
local shebang = {}
19
19
20
20
return {
21
21
extension = {
22
+ [' _coffee' ] = ' coffee' ,
23
+ [' coffee' ] = ' coffee' ,
24
+ [' cljd' ] = ' clojure' ,
25
+ [' dart' ] = ' dart' ,
22
26
[' ex' ] = ' elixir' ,
23
27
[' exs' ] = ' elixir' ,
24
- [' plist' ] = ' xml' ,
25
- [' gradle' ] = ' groovy' ,
26
- [' kt' ] = ' kotlin' ,
27
- [' dart' ] = ' dart' ,
28
+ [' erb' ] = ' eruby' ,
28
29
[' fnl' ] = ' fennel' ,
30
+ [' gql' ] = ' graphql' ,
31
+ [' graphql' ] = ' graphql' ,
32
+ [' gradle' ] = ' groovy' ,
33
+ [' hbs' ] = ' handlebars' ,
34
+ [' hdbs' ] = ' handlebars' ,
29
35
[' janet' ] = ' janet' ,
30
36
[' jsx' ] = ' javascriptreact' ,
31
- [' tsx' ] = ' typescriptreact' ,
32
37
[' jl' ] = ' julia' ,
33
- [' coffee' ] = ' coffee' ,
34
- [' _coffee' ] = ' coffee' ,
35
- [' cljd' ] = ' clojure' ,
38
+ [' kt' ] = ' kotlin' ,
36
39
[' nix' ] = ' nix' ,
37
- [' erb' ] = ' eruby' ,
38
- [' hbs' ] = ' handlebars' ,
39
- [' hdbs' ] = ' handlebars' ,
40
- [' graphql' ] = ' graphql' ,
41
- [' gql' ] = ' graphql' ,
40
+ [' purs' ] = ' purescript' ,
42
41
[' rkt' ] = ' racket' ,
43
42
[' res' ] = ' rescript' ,
44
43
[' resi' ] = ' rescript' ,
44
+ [' tsx' ] = ' typescriptreact' ,
45
+ [' plist' ] = ' xml' ,
45
46
},
46
47
file_name = {
47
48
[' cakefile' ] = ' coffee' ,
48
49
[' .babelrc' ] = ' json' ,
49
- [' .prettierrc' ] = ' json' ,
50
50
[' .eslintrc' ] = ' json' ,
51
51
[' .firebaserc' ] = ' json' ,
52
+ [' .prettierrc' ] = ' json' ,
52
53
},
53
54
shebang = shebang
54
55
}
You can’t perform that action at this time.
0 commit comments