Skip to content

Commit a5c2cbd

Browse files
style: remove stray newline and move comment above check target
Co-authored-by: ThomasK33 <[email protected]>
1 parent 194c3d5 commit a5c2cbd

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Makefile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@ all: format check test
55

66
# Check for syntax errors
77
# Detect if we are already inside a Nix shell
8+
# Check for syntax errors should rely on global NIX_PREFIX
89
ifeq (,$(IN_NIX_SHELL))
910
NIX_PREFIX := nix develop .#ci -c
1011
else
1112
NIX_PREFIX :=
1213
endif
1314

15+
# Check for syntax errors
1416
check:
1517
@echo "Checking Lua files for syntax errors..."
1618
$(NIX_PREFIX) find lua -name "*.lua" -type f -exec lua -e "assert(loadfile('{}'))" \;

lua/claudecode/diff.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,6 @@ local function _detect_filetype(path, buf)
269269
}
270270
return simple_map[ext]
271271
end
272-
273272
--- Open diff using native Neovim functionality
274273
-- @param old_file_path string Path to the original file
275274
-- @param new_file_path string Path to the new file (used for naming)

0 commit comments

Comments
 (0)