Skip to content

Commit 434927d

Browse files
feat: add nix. I have no idea what I'm doing but it works
1 parent e04f2c9 commit 434927d

File tree

4 files changed

+503
-3
lines changed

4 files changed

+503
-3
lines changed

.editorconfig

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ trim_trailing_whitespace = true
1111
[*.lua]
1212
indent_size = 2
1313

14-
[*.scm]
14+
[*.{scm,nix}]
1515
indent_size = 2
1616

1717
[*.{md,lua}]

Makefile

+3-2
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,9 @@ format:
88
stylua .
99

1010
test:
11-
eval "$(shell luarocks path --no-bin)"
12-
luarocks test --local
11+
LUA_PATH="$(shell luarocks path --lr-path --lua-version 5.1 --local)" \
12+
LUA_CPATH="$(shell luarocks path --lr-cpath --lua-version 5.1 --local)" \
13+
luarocks test --local --lua-version 5.1
1314

1415
docgen:
1516
lemmy-help lua/rest-nvim/commands.lua > doc/rest-nvim-commands.txt

0 commit comments

Comments
 (0)