diff options
| author | Raphael <glepnir@neovim.pro> | 2022-12-27 12:14:47 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-12-27 12:14:47 +0800 |
| commit | 42ca8ce0f2252be795da4789fadfa91f6c3f7464 (patch) | |
| tree | 2b991b75e25ae4c88e43ba026b3d26390615d109 /plugin | |
| parent | fix: generate correct workspace didchange request params (#2361) (diff) | |
| download | nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar.gz nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar.bz2 nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar.lz nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar.xz nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.tar.zst nvim-lspconfig-42ca8ce0f2252be795da4789fadfa91f6c3f7464.zip | |
fix: wrong param in get_active_clients (#2362)
Diffstat (limited to 'plugin')
| -rw-r--r-- | plugin/lspconfig.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugin/lspconfig.lua b/plugin/lspconfig.lua index 42ae0ff5..8f67f67a 100644 --- a/plugin/lspconfig.lua +++ b/plugin/lspconfig.lua @@ -129,7 +129,7 @@ api.nvim_create_user_command('LspStop', function(info) end if not server_name then - local servers_on_buffer = lsp.get_active_clients { buffer = current_buf } + local servers_on_buffer = lsp.get_active_clients { bufnr = current_buf } for _, client in ipairs(servers_on_buffer) do if client.attached_buffers[current_buf] then client.stop(force) |
