From 9382861798d19953cedc59aa27d857a8b3d052dc Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 31 Aug 2026 13:22:19 +0000 Subject: [PATCH] fix: use "buf" instead of deprecated "buffer" key in keymap opts vim.keymap.set.Opts renamed "buffer" to "buf" (runtime/doc/deprecated.txt). lsp.lua's BUF constant still used the old name for the two buffer-local LspAttach keymaps (gd, la). No behavior change, just drops the deprecation warning ahead of it becoming a hard error. --- lua/config/lsp.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/config/lsp.lua b/lua/config/lsp.lua index 8bc08af..1ffd43e 100644 --- a/lua/config/lsp.lua +++ b/lua/config/lsp.lua @@ -5,7 +5,7 @@ if vim.g.vscode then end local blink_ok = pcall(require, "blink.cmp") -local BUF = "buffer" +local BUF = "buf" -- lua vim.lsp.config("luals", {