Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

- name: luacheck
run: |
luarocks install luacheck 1.1.1
luarocks install luacheck 1.2.0
make lint
style:
Expand Down
27 changes: 24 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,17 +6,38 @@ Thank you for your contribution!

Code is formatted using *stylua* and linted using *luacheck*.

You can install these with:
### stylua

Install via your OS package manager e.g. *Arch Linux*:

```sh
pacman -S stylua
```

or using cargo:

```sh
cargo install stylua
luarocks install luacheck
```

### luacheck

Install using luarocks (preferred):

```sh
luarocks install --local luacheck
```

or via your OS package manager e.g. *Arch Linux*:

```sh
pacman -S stylua luacheck
pacman -S luacheck
```

If you experience `luarocks` dependency issues installing `luacheck`, you may need to set an older lua version e.g.

```sh
luarocks config --local lua_version 5.1
```

## Adding icons
Expand Down
2 changes: 2 additions & 0 deletions lua/nvim-web-devicons/filetypes.lua
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ return {
["elf"] = "elf",
["elixir"] = "ex",
["elm"] = "elm",
["env"] = "env",
["epuppet"] = "epp",
["erlang"] = "erl",
["eruby"] = "erb",
Expand All @@ -75,6 +76,7 @@ return {
["gitconfig"] = ".gitconfig",
["gitignore"] = ".gitignore",
["glb"] = "glb",
["gleam"] = "gleam",
["glsl"] = "glsl",
["go"] = "go",
["godot"] = "godot",
Expand Down
Loading