diff options
| -rw-r--r-- | lua/lspconfig/rust_analyzer.lua | 4 | ||||
| -rw-r--r-- | lua/lspconfig/util.lua | 2 |
2 files changed, 3 insertions, 3 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, diff --git a/lua/lspconfig/util.lua b/lua/lspconfig/util.lua index 3699d2f0..8ae8d597 100644 --- a/lua/lspconfig/util.lua +++ b/lua/lspconfig/util.lua @@ -186,7 +186,7 @@ M.path = (function() -- Iterate the path until we find the rootdir. local function iterate_parents(path) - local function it(s, v) + local function it(_, v) if v and not is_fs_root(v) then v = dirname(v) else |
