Send base command when opening

This commit is contained in:
Folkert Kevelam 2025-08-31 21:22:35 +02:00
parent ade996d26d
commit 5ddd2896a1

View File

@ -28,6 +28,7 @@ function module.open()
end) end)
local bufnr = vim.api.nvim_get_current_buf() local bufnr = vim.api.nvim_get_current_buf()
server_connection:base(vim.fn.fnamemodify(vim.uri_to_fname(vim.uri_from_bufnr(bufnr)), 'p:h'))
server_connection:show(get_buf_content(bufnr)) server_connection:show(get_buf_content(bufnr))
server_connection:scroll(vim.fn.line('.')) server_connection:scroll(vim.fn.line('.'))