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 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/nvim/lua') 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, -- cgit v1.2.3