From 13add3532be8e00c90d1fce40a8a8d0fa4d190b8 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 19 Apr 2026 12:18:51 +0530 Subject: [PATCH] Have copilot run gofmt automatically --- .github/copilot-instructions.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/copilot-instructions.md b/.github/copilot-instructions.md index 09724dd66..128325ceb 100644 --- a/.github/copilot-instructions.md +++ b/.github/copilot-instructions.md @@ -31,4 +31,6 @@ code. ## PR guidance When creating a pull request, if the changes in the pull request are user visible compared to the previous kitty release, add an entry in the file docs/changelog.rst -describing the change. +describing the change. If the changes include changes to Go code, run gofmt on +the changed Go files to ensure they are formatted correctly, before submitting +your changes.