File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -5,12 +5,14 @@ all: format check test
5
5
6
6
# Check for syntax errors
7
7
# Detect if we are already inside a Nix shell
8
+ # Check for syntax errors should rely on global NIX_PREFIX
8
9
ifeq (,$(IN_NIX_SHELL ) )
9
10
NIX_PREFIX := nix develop .# ci -c
10
11
else
11
12
NIX_PREFIX :=
12
13
endif
13
14
15
+ # Check for syntax errors
14
16
check :
15
17
@echo " Checking Lua files for syntax errors..."
16
18
$(NIX_PREFIX ) find lua -name " *.lua" -type f -exec lua -e " assert(loadfile('{}'))" \;
Original file line number Diff line number Diff line change @@ -269,7 +269,6 @@ local function _detect_filetype(path, buf)
269
269
}
270
270
return simple_map [ext ]
271
271
end
272
-
273
272
--- Open diff using native Neovim functionality
274
273
-- @param old_file_path string Path to the original file
275
274
-- @param new_file_path string Path to the new file (used for naming)
You can’t perform that action at this time.
0 commit comments