From 0a34eab5d44baa92fe73a7e31675384adc5b8388 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 14 May 2024 10:10:45 +0200 Subject: nvim: fix offset for deadnix check --- config/nvim/lua/plugins.lua | 4 ++-- private | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config/nvim/lua/plugins.lua b/config/nvim/lua/plugins.lua index ce54ce6..7f92112 100644 --- a/config/nvim/lua/plugins.lua +++ b/config/nvim/lua/plugins.lua @@ -114,8 +114,8 @@ require("packer").startup(function(use) for _, result in ipairs(decoded.results) do if result.line ~= nil then table.insert(diagnostics, { - lnum = result.line, - end_lnum = result.line, + lnum = result.line - 1, + end_lnum = result.line - 1, col = result.column, end_col = result.endColumn, severity = vim.diagnostic.severity.HINT, diff --git a/private b/private index 169cbe1..ff5208f 160000 --- a/private +++ b/private @@ -1 +1 @@ -Subproject commit 169cbe1eac2ef2c1166b604345f88d42a7b1fa8c +Subproject commit ff5208fa782fb6026c15186d0dfd532a370b3358 -- cgit v1.2.3