FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

add pre-commit hooks by Freed-Wu · Pull Request #206 · CppCXY/EmmyLuaCodeStyle · GitHub

add pre-commit hooks - #206

Merged
CppCXY merged 1 commit into
CppCXY:masterfrom
Freed-Wu:pre-commit
Aug 19, 2025
Merged

CppCXY merged 1 commit into
CppCXY:masterfrom
Freed-Wu:pre-commit

Conversation

Freed-Wu commented Aug 18, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

Test:

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

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

CppCXY commented Aug 18, 2025

Copy link
Copy Markdown
Owner

为什么要添加luarocks

Copy link
Copy Markdown
Contributor Author

为什么要添加luarocks

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

CppCXY commented Aug 18, 2025
edited
Loading

Copy link
Copy Markdown
Owner

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

Copy link
Copy Markdown
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 commented Aug 18, 2025

Copy link
Copy Markdown
Owner

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

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

Copy link
Copy Markdown
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 merged commit 2610ef3 into CppCXY:master Aug 19, 2025
4 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL