forked from mirror/codesnap.nvim
[Update] add usage for the show_workspace config item
This commit is contained in:
parent
daf3dc6ee3
commit
978a18354c
1 changed files with 17 additions and 0 deletions
17
README.md
17
README.md
|
@ -227,6 +227,23 @@ require("codesnap").setup({
|
|||
The breadcrumbs look like:
|
||||

|
||||
|
||||
### Show workspace in breadcrumbs
|
||||
Breadcrumbs hide the workspace name by default, if you want to display workspace in breadcrumbs, you can just set `show_workspace` as true.
|
||||
```lua
|
||||
require("codesnap").setup({
|
||||
-- ...
|
||||
has_breadcrumbs = true
|
||||
show_workspace = true
|
||||
})
|
||||
```
|
||||
|
||||
require("codesnap").setup({
|
||||
-- ...
|
||||
has_breadcrumbs = true
|
||||
breadcrumbs_separator = "👉"
|
||||
})
|
||||
|
||||
|
||||
### Custom path separator
|
||||
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:
|
||||
```lua
|
||||
|
|
Loading…
Reference in a new issue