aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-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,