mirror of
https://github.com/hexedtech/codemp-nvim.git
synced 2024-12-23 05:44:52 +01:00
fix: distinguish id of owned/not owned workspaces
This commit is contained in:
parent
b4e4d302bd
commit
5d2f7fa2c7
1 changed files with 3 additions and 1 deletions
|
@ -35,8 +35,10 @@ end
|
|||
---@param expanded? boolean if node should be pre-expanded
|
||||
---@return NuiTree.Node
|
||||
local function new_workspace(name, owned, expanded)
|
||||
local owned_ext = ""
|
||||
if owned then owned_ext = "_owned" end
|
||||
return {
|
||||
id = "codemp://" .. name .. "/workspace",
|
||||
id = "codemp://" .. name .. "/workspace" .. owned_ext,
|
||||
name = name,
|
||||
type = "workspace",
|
||||
extra = {
|
||||
|
|
Loading…
Reference in a new issue