File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525
2626 - name : luacheck
2727 run : |
28- luarocks install luacheck 1.1.1
28+ luarocks install luacheck 1.2.0
2929 make lint
3030
3131 style :
Original file line number Diff line number Diff line change @@ -6,17 +6,38 @@ Thank you for your contribution!
66
77Code is formatted using * stylua* and linted using * luacheck* .
88
9- You can install these with:
9+ ### stylua
10+
11+ Install via your OS package manager e.g. * Arch Linux* :
12+
13+ ``` sh
14+ pacman -S stylua
15+ ```
16+
17+ or using cargo:
1018
1119``` sh
1220cargo install stylua
13- luarocks install luacheck
21+ ```
22+
23+ ### luacheck
24+
25+ Install using luarocks (preferred):
26+
27+ ``` sh
28+ luarocks install --local luacheck
1429```
1530
1631or via your OS package manager e.g. * Arch Linux* :
1732
1833``` sh
19- pacman -S stylua luacheck
34+ pacman -S luacheck
35+ ```
36+
37+ If you experience ` luarocks ` dependency issues installing ` luacheck ` , you may need to set an older lua version e.g.
38+
39+ ``` sh
40+ luarocks config --local lua_version 5.1
2041```
2142
2243## Adding icons
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ return {
5555 [" elf" ] = " elf" ,
5656 [" elixir" ] = " ex" ,
5757 [" elm" ] = " elm" ,
58+ [" env" ] = " env" ,
5859 [" epuppet" ] = " epp" ,
5960 [" erlang" ] = " erl" ,
6061 [" eruby" ] = " erb" ,
@@ -75,6 +76,7 @@ return {
7576 [" gitconfig" ] = " .gitconfig" ,
7677 [" gitignore" ] = " .gitignore" ,
7778 [" glb" ] = " glb" ,
79+ [" gleam" ] = " gleam" ,
7880 [" glsl" ] = " glsl" ,
7981 [" go" ] = " go" ,
8082 [" godot" ] = " godot" ,
You can’t perform that action at this time.
0 commit comments