File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 55 },
66 "diagnostics" : {
77 "disable" : [
8- " unnecessary-if"
8+ " unnecessary-if" ,
9+ " invert-if"
910 ],
1011 "enables" : [
1112 " iter-variable-reassign" ,
Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ STYLUA_PLATFORM_MACOS := macos-aarch64
7171STYLUA_PLATFORM_LINUX := linux-x86_64
7272STYLUA_PLATFORM := $(STYLUA_PLATFORM_$(UNAME ) )
7373
74- STYLUA_VERSION := v2.0.2
74+ STYLUA_VERSION := v2.3.1
7575STYLUA_ZIP := stylua-$(STYLUA_PLATFORM ) .zip
7676STYLUA_URL_BASE := https://github.com/JohnnyMorganz/StyLua/releases/download
7777STYLUA_URL := $(STYLUA_URL_BASE ) /$(STYLUA_VERSION ) /$(STYLUA_ZIP )
107107 EMMYLUA_ARCH ?= x64
108108endif
109109
110- EMMYLUA_REF := 0.19 .0
110+ EMMYLUA_REF := 0.20 .0
111111EMMYLUA_OS ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')
112112
113113EMMYLUA_RELEASE_URL_BASE := https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/download/$(EMMYLUA_REF )
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ local function getvarvalue(name, lvl)
4242 end
4343
4444 -- try upvalues
45- local func = debug.getinfo (lvl ).func
45+ local func = assert ( debug.getinfo (lvl ) ).func
4646 i = 1
4747 while true do
4848 local n , v = debug.getupvalue (func , i )
You can’t perform that action at this time.
0 commit comments