Skip to content

Commit 924807a

Browse files
authored
fix(readme): custom scope needs one extra curly brackets to wrap it (#162)
1 parent 493f174 commit 924807a

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

README.md

+10-8
Original file line numberDiff line numberDiff line change
@@ -794,14 +794,16 @@ require("grapple").setup({
794794
scope = "custom",
795795

796796
scopes = {
797-
name = "custom",
798-
fallback = "cwd",
799-
cache = { event = "DirChanged" },
800-
resolver = function()
801-
local path = vim.env.HOME
802-
local id = path
803-
return id, path
804-
end
797+
{
798+
name = "custom",
799+
fallback = "cwd",
800+
cache = { event = "DirChanged" },
801+
resolver = function()
802+
local path = vim.env.HOME
803+
local id = path
804+
return id, path
805+
end
806+
}
805807
}
806808
})
807809

0 commit comments

Comments
 (0)