Send base command when opening
This commit is contained in:
parent
ade996d26d
commit
5ddd2896a1
|
|
@ -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('.'))
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user