mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-11-22 15:34:53 +01:00
feat: cmd to get user id
This commit is contained in:
parent
e901b448ea
commit
6b0cf072e8
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ vim.api.nvim_create_user_command(
|
||||||
elseif args.fargs[1] == "buffers" then
|
elseif args.fargs[1] == "buffers" then
|
||||||
if client.workspace == nil then error("connect to a workspace first") end
|
if client.workspace == nil then error("connect to a workspace first") end
|
||||||
workspace.open_buffer_tree(client.workspace)
|
workspace.open_buffer_tree(client.workspace)
|
||||||
|
elseif args.fargs[1] == "id" then
|
||||||
|
print(" ::codemp#" .. native.id())
|
||||||
-- elseif args.fargs[1] == "users" then
|
-- elseif args.fargs[1] == "users" then
|
||||||
-- if client.workspace == nil then error("connect to a workspace first") end
|
-- if client.workspace == nil then error("connect to a workspace first") end
|
||||||
-- workspace.users(client.workspace)
|
-- workspace.users(client.workspace)
|
||||||
|
|
Loading…
Reference in a new issue