aboutsummaryrefslogtreecommitdiffstats
path: root/lua/lspconfig/rust_analyzer.lua
diff options
context:
space:
mode:
authorMichael Lingelbach <m.j.lbach@gmail.com>2021-11-15 01:15:17 -0800
committerGitHub <noreply@github.com>2021-11-15 01:15:17 -0800
commit21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02 (patch)
tree898f5978aea09ed09bb24ae91214eb15b824c370 /lua/lspconfig/rust_analyzer.lua
parentdocs: update server_configurations.md (diff)
downloadnvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar.gz
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar.bz2
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar.lz
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar.xz
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.tar.zst
nvim-lspconfig-21d55ce23b50f3a0aff25ba22e4e0f6d8cf3ce02.zip
chore: clean up unused function args (#1426)
Diffstat (limited to 'lua/lspconfig/rust_analyzer.lua')
-rw-r--r--lua/lspconfig/rust_analyzer.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/lspconfig/rust_analyzer.lua b/lua/lspconfig/rust_analyzer.lua
index bbe86b3d..285ba0f3 100644
--- a/lua/lspconfig/rust_analyzer.lua
+++ b/lua/lspconfig/rust_analyzer.lua
@@ -25,10 +25,10 @@ configs.rust_analyzer = {
local cargo_metadata = ''
local cargo_metadata_err = ''
local cm = vim.fn.jobstart(cmd, {
- on_stdout = function(j, d, e)
+ on_stdout = function(_, d, _)
cargo_metadata = table.concat(d, '\n')
end,
- on_stderr = function(j, d, e)
+ on_stderr = function(_, d, _)
cargo_metadata_err = table.concat(d, '\n')
end,
stdout_buffered = true,