Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .emmyrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
},
"diagnostics" : {
"disable" : [
"unnecessary-if"
"unnecessary-if",
"invert-if"
],
"enables": [
"iter-variable-reassign",
Expand Down
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ STYLUA_PLATFORM_MACOS := macos-aarch64
STYLUA_PLATFORM_LINUX := linux-x86_64
STYLUA_PLATFORM := $(STYLUA_PLATFORM_$(UNAME))

STYLUA_VERSION := v2.0.2
STYLUA_VERSION := v2.3.1
STYLUA_ZIP := stylua-$(STYLUA_PLATFORM).zip
STYLUA_URL_BASE := https://github.com/JohnnyMorganz/StyLua/releases/download
STYLUA_URL := $(STYLUA_URL_BASE)/$(STYLUA_VERSION)/$(STYLUA_ZIP)
Expand Down Expand Up @@ -107,7 +107,7 @@ else
EMMYLUA_ARCH ?= x64
endif

EMMYLUA_REF := 0.19.0
EMMYLUA_REF := 0.20.0
EMMYLUA_OS ?= $(shell uname -s | tr '[:upper:]' '[:lower:]')

EMMYLUA_RELEASE_URL_BASE := https://github.com/EmmyLuaLs/emmylua-analyzer-rust/releases/download/$(EMMYLUA_REF)
Expand Down
2 changes: 1 addition & 1 deletion lua/gitsigns/debug/log.lua
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ local function getvarvalue(name, lvl)
end

-- try upvalues
local func = debug.getinfo(lvl).func
local func = assert(debug.getinfo(lvl)).func
i = 1
while true do
local n, v = debug.getupvalue(func, i)
Expand Down
Loading