Skip to content

Commit c3bc1fe

Browse files
authored
fix(lsp): client attach issue when loading vim session script (#728)
1 parent 4d7e3f4 commit c3bc1fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/rustaceanvim/lsp/init.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ Starting rust-analyzer client in detached/standalone mode (with reduced function
300300
vim.tbl_get(lsp_start_config.settings, 'rust-analyzer')
301301
)
302302

303-
return vim.lsp.start(lsp_start_config)
303+
return vim.lsp.start(lsp_start_config, { bufnr = bufnr })
304304
end)
305305
end
306306

0 commit comments

Comments
 (0)