Update lua/plugins/lsp.lua
This commit is contained in:
parent
6b5f89632c
commit
5c01002344
@ -69,7 +69,7 @@ return {
|
||||
local lsp_group = vim.api.nvim_create_augroup('UserLspAttach', { clear = true })
|
||||
vim.api.nvim_create_autocmd('LspAttach', {
|
||||
group = lsp_group,
|
||||
desc = 'Set buffer‑local keymaps and options after an LSP client attaches',
|
||||
desc = 'Set buffer-local keymaps and options after an LSP client attaches',
|
||||
callback = function(args)
|
||||
local bufnr = args.buf
|
||||
local client = vim.lsp.get_client_by_id(args.data.client_id)
|
||||
|
Loading…
x
Reference in New Issue
Block a user