Skip to content

Commit 03fd407

Browse files
committed
refactor(nvim): remove unused client variable in lsp.lua
1 parent 4b4878b commit 03fd407

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

  • home/dot_config/exact_nvim/exact_plugin

home/dot_config/exact_nvim/exact_plugin/lsp.lua

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ vim.api.nvim_create_autocmd('LspAttach', {
4040
vim.api.nvim_create_autocmd('LspAttach', {
4141
group = lsp_group,
4242
callback = function(args)
43-
local client = vim.lsp.get_client_by_id(args.data.client_id)
4443
local map_opts = { buffer = args.buf, silent = true }
4544

4645
vim.keymap.set('n', 'gd', vim.lsp.buf.definition, map_opts)

0 commit comments

Comments
 (0)