Skip to content

Commit 978a183

Browse files
committed
[Update] add usage for the show_workspace config item
1 parent daf3dc6 commit 978a183

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

README.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -227,6 +227,23 @@ require("codesnap").setup({
227227
The breadcrumbs look like:
228228
![image](https://github.com/mistricky/codesnap.nvim/assets/22574136/23274faa-36a9-4d41-88a5-e48c44b4d5bf)
229229

230+
### Show workspace in breadcrumbs
231+
Breadcrumbs hide the workspace name by default, if you want to display workspace in breadcrumbs, you can just set `show_workspace` as true.
232+
```lua
233+
require("codesnap").setup({
234+
-- ...
235+
has_breadcrumbs = true
236+
show_workspace = true
237+
})
238+
```
239+
240+
require("codesnap").setup({
241+
-- ...
242+
has_breadcrumbs = true
243+
breadcrumbs_separator = "👉"
244+
})
245+
246+
230247
### Custom path separator
231248
The CodeSnap.nvim uses `/` as the separator of the file path by default, of course, you can specify any symbol you prefer as the custom separator:
232249
```lua

0 commit comments

Comments
 (0)