Skip to content

devops: stylua and fix luarc - #3

Merged
sand4rt merged 1 commit into
mainfrom
fix-nix
Apr 12, 2026
Merged

sand4rt merged 1 commit into
mainfrom
fix-nix

Conversation

@sand4rt

@sand4rt sand4rt commented Apr 12, 2026

Copy link
Copy Markdown
Owner

No description provided.

Copilot AI review requested due to automatic review settings April 12, 2026 13:44
@sand4rt
sand4rt merged commit 31d0d45 into main Apr 12, 2026
3 checks passed
@sand4rt
sand4rt deleted the fix-nix branch April 12, 2026 13:45

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the development tooling/configuration for the project by adding a StyLua configuration and simplifying the Nix flake setup, along with a small Lua formatting adjustment.

Changes:

  • Add a .stylua.toml formatter configuration for consistent Lua formatting.
  • Simplify flake.nix/flake.lock by removing nix-gen-luarc-json and related lock entries.
  • Apply a minor formatting change in lua/zen/init.lua consistent with the formatter configuration.

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 1 comment.

File Description
lua/zen/init.lua Minor formatting change to a local assignment (StyLua-style).
flake.nix Removes gen-luarc overlay and .luarc.json symlink shellHook, simplifying the devShell definition.
flake.lock Cleans up lockfile entries corresponding to removed flake inputs.
.stylua.toml Introduces StyLua formatting rules for the Lua codebase.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread flake.nix
{
devShells.default = pkgs.mkShell {
packages = with pkgs; [
lua-language-server

Copilot AI Apr 12, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Optional: .stylua.toml is added here, but the Nix devShell currently only includes lua-language-server. If you expect contributors using use flake/nix develop to run formatting, consider adding stylua to devShells.default.packages so the formatter is available in the dev environment.

Suggested change
lua-language-server
lua-language-server
stylua

Copilot uses AI. Check for mistakes.
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