Fixed neovim deprecation warnings

This commit is contained in:
2025-07-27 19:53:07 +09:00
parent 89562aa3e5
commit e9ffdfe393
3 changed files with 14 additions and 5 deletions
+6 -2
View File
@@ -60,8 +60,12 @@ end
--LSP
vim.keymap.set("n", "<leader>e", vim.diagnostic.open_float)
vim.keymap.set("n", "[d", vim.diagnostic.goto_prev)
vim.keymap.set("n", "]d", vim.diagnostic.goto_next)
vim.keymap.set("n", "[d", function ()
vim.diagnostic.jump({ count = -1, float = true })
end)
vim.keymap.set("n", "]d", function ()
vim.diagnostic.jump({ count = 1, float = true })
end)
vim.keymap.set("n", "<leader>q", vim.diagnostic.setloclist)
--Highlight on yank