aboutsummaryrefslogtreecommitdiff
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
parent44580da0ae35aec6ebc20210abb5b42105042eed (diff)
downloadmyconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.tar.gz
myconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.tar.bz2
myconfigs-0a34eab5d44baa92fe73a7e31675384adc5b8388.zip
nvim: fix offset for deadnix check
-rw-r--r--config/nvim/lua/plugins.lua4
m---------private0
2 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,
diff --git a/private b/private
-Subproject 169cbe1eac2ef2c1166b604345f88d42a7b1fa8
+Subproject ff5208fa782fb6026c15186d0dfd532a370b335