Skip to content

Conversation

@Freed-Wu
Copy link
Contributor

@Freed-Wu Freed-Wu commented Aug 18, 2025

Test:

---
repos:
  - repo: https://github.com/Freed-Wu/EmmyLuaCodeStyle
    rev: pre-commit
    hooks:
      - id: emmyluacodestyle-format
Screenshot_20250818_145945

See https://pre-commit.ci/ and https://pre-commit.com/

@CppCXY
Copy link
Owner

CppCXY commented Aug 18, 2025

为什么要添加luarocks

@Freed-Wu
Copy link
Contributor Author

为什么要添加luarocks

https://pre-commit.com/#lua

@CppCXY
Copy link
Owner

CppCXY commented Aug 18, 2025

luarocks今年就可能停更, 而且你描述都是用的luals的

@Freed-Wu
Copy link
Contributor Author

描述都是用的luals的

Fix the copied template

luarocks今年就可能停更

There exists some successor which also use luarocks's rockspec https://github.com/nvim-neorocks/lux

@CppCXY
Copy link
Owner

CppCXY commented Aug 18, 2025

There exists some successor which also use luarocks's rockspec https://github.com/nvim-neorocks/lux

lux 正考虑集成emmylua_codestyle作为可选的格式化器.
另外luarocks这个只能从源码编译而不能从release下载?

@Freed-Wu
Copy link
Contributor Author

lux 正考虑集成emmylua_codestyle作为可选的格式化器.

Cool!

另外luarocks这个只能从源码编译而不能从release下载?

luarocks.org only host src.rock, not linux-x86_64.rock, ....

Every one can provide same website to host binary rock file. such as https://nvim-neorocks.github.io/rocks-binaries/

If no any rocks_servers provide binary rock, it will build from source code.

@CppCXY CppCXY merged commit 2610ef3 into CppCXY:master Aug 19, 2025
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants