Skip to content

Commit b1ec74e

Browse files
authored
chore(deps): Nvim stable 0.12 (#626)
* ci(deps): luacheck 1.1.1 -> 1.2.0 * doc: clarify luacheck installation * chore(deps): add new Nvim 0.12 filetypes
1 parent d746254 commit b1ec74e

3 files changed

Lines changed: 27 additions & 4 deletions

File tree

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ jobs:
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:

CONTRIBUTING.md

Lines changed: 24 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,17 +6,38 @@ Thank you for your contribution!
66

77
Code 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
1220
cargo 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

1631
or 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

lua/nvim-web-devicons/filetypes.lua

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff 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",

0 commit comments

Comments
 (0)