File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11local shebang_prefixes = { ' /usr/bin/' , ' /bin/' , ' /usr/bin/env ' , ' /bin/env ' }
22local shebang_fts = {
3- [' sh' ] = ' sh' ,
4- [' bash' ] = ' sh' ,
5- [' zsh' ] = ' zsh' ,
63 [' fish' ] = ' fish' ,
4+ [' perl' ] = ' perl' ,
75 [' python' ] = ' python' ,
86 [' python2' ] = ' python' ,
97 [' python3' ] = ' python' ,
10- [' perl' ] = ' perl' ,
8+ [' bash' ] = ' sh' ,
9+ [' sh' ] = ' sh' ,
10+ [' zsh' ] = ' zsh' ,
1111}
1212
1313local shebang = {}
1919
2020return {
2121 extension = {
22+ [' _coffee' ] = ' coffee' ,
23+ [' coffee' ] = ' coffee' ,
24+ [' cljd' ] = ' clojure' ,
25+ [' dart' ] = ' dart' ,
2226 [' ex' ] = ' elixir' ,
2327 [' exs' ] = ' elixir' ,
24- [' plist' ] = ' xml' ,
25- [' gradle' ] = ' groovy' ,
26- [' kt' ] = ' kotlin' ,
27- [' dart' ] = ' dart' ,
28+ [' erb' ] = ' eruby' ,
2829 [' fnl' ] = ' fennel' ,
30+ [' gql' ] = ' graphql' ,
31+ [' graphql' ] = ' graphql' ,
32+ [' gradle' ] = ' groovy' ,
33+ [' hbs' ] = ' handlebars' ,
34+ [' hdbs' ] = ' handlebars' ,
2935 [' janet' ] = ' janet' ,
3036 [' jsx' ] = ' javascriptreact' ,
31- [' tsx' ] = ' typescriptreact' ,
3237 [' jl' ] = ' julia' ,
33- [' coffee' ] = ' coffee' ,
34- [' _coffee' ] = ' coffee' ,
35- [' cljd' ] = ' clojure' ,
38+ [' kt' ] = ' kotlin' ,
3639 [' nix' ] = ' nix' ,
37- [' erb' ] = ' eruby' ,
38- [' hbs' ] = ' handlebars' ,
39- [' hdbs' ] = ' handlebars' ,
40- [' graphql' ] = ' graphql' ,
41- [' gql' ] = ' graphql' ,
40+ [' purs' ] = ' purescript' ,
4241 [' rkt' ] = ' racket' ,
4342 [' res' ] = ' rescript' ,
4443 [' resi' ] = ' rescript' ,
44+ [' tsx' ] = ' typescriptreact' ,
45+ [' plist' ] = ' xml' ,
4546 },
4647 file_name = {
4748 [' cakefile' ] = ' coffee' ,
4849 [' .babelrc' ] = ' json' ,
49- [' .prettierrc' ] = ' json' ,
5050 [' .eslintrc' ] = ' json' ,
5151 [' .firebaserc' ] = ' json' ,
52+ [' .prettierrc' ] = ' json' ,
5253 },
5354 shebang = shebang
5455}
You can’t perform that action at this time.
0 commit comments