aboutsummaryrefslogtreecommitdiff
path: root/config/nvim/lua
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2024-05-14 10:10:45 +0200
committerKarel Kočí <cynerd@email.cz>2024-05-14 10:10:45 +0200
commit0a34eab5d44baa92fe73a7e31675384adc5b8388 (patch)
tree3719072378d19d79b9304a6fef50f006d308b15b /config/nvim/lua
parent44580da0ae35aec6ebc20210abb5b42105042eed (diff)
downloadmyconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.tar.gz
myconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.tar.bz2
myconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.zip
nvim: fix offset for deadnix check
Diffstat (limited to 'config/nvim/lua')
-rw-r--r--config/nvim/lua/plugins.lua4
1 files changed, 2 insertions, 2 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,