diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 20f1adb4..ccb7832b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,7 +25,7 @@ jobs: - name: luacheck run: | - luarocks install luacheck 1.1.1 + luarocks install luacheck 1.2.0 make lint style: diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 9d8ff48c..8a759d40 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -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 diff --git a/lua/nvim-web-devicons/filetypes.lua b/lua/nvim-web-devicons/filetypes.lua index 3d80f0a7..cfaddfad 100644 --- a/lua/nvim-web-devicons/filetypes.lua +++ b/lua/nvim-web-devicons/filetypes.lua @@ -55,6 +55,7 @@ return { ["elf"] = "elf", ["elixir"] = "ex", ["elm"] = "elm", + ["env"] = "env", ["epuppet"] = "epp", ["erlang"] = "erl", ["eruby"] = "erb", @@ -75,6 +76,7 @@ return { ["gitconfig"] = ".gitconfig", ["gitignore"] = ".gitignore", ["glb"] = "glb", + ["gleam"] = "gleam", ["glsl"] = "glsl", ["go"] = "go", ["godot"] = "godot",