forked from mirror/codesnap.nvim
[Update] default config & perf usage chapter
This commit is contained in:
parent
f616da253f
commit
0b0cb79bf8
1 changed files with 6 additions and 4 deletions
10
README.md
10
README.md
|
@ -114,6 +114,9 @@ require("codesnap").setup({
|
|||
})
|
||||
```
|
||||
|
||||
https://github.com/mistricky/codesnap.nvim/assets/22574136/69b27e77-3dce-4bc3-8516-89ce636fe02d
|
||||
|
||||
|
||||
### Specify language extension
|
||||
In some scenarios, CodeSnap.nvim cannot auto-detect what language syntax should used to highlight code, for example, shell script can have no extension, they specify interpreters using shebang.
|
||||
|
||||
|
@ -125,9 +128,6 @@ CodeSnap sh
|
|||
```
|
||||
|
||||
|
||||
https://github.com/mistricky/codesnap.nvim/assets/22574136/69b27e77-3dce-4bc3-8516-89ce636fe02d
|
||||
|
||||
|
||||
## Breadcrumbs
|
||||
Breadcrumbs are something to display the current snapshot file path, you can open it through config `has_breadcrumbs`:
|
||||
```lua
|
||||
|
@ -246,7 +246,9 @@ There is a default config:
|
|||
code_font_family = "CaskaydiaCove Nerd Font",
|
||||
watermark_font_family = "Pacifico",
|
||||
watermark = "CodeSnap.nvim",
|
||||
bg_theme = "default"
|
||||
bg_theme = "default",
|
||||
breadcrumbs_separator = "/",
|
||||
has_breadcrumbs = false,
|
||||
}
|
||||
```
|
||||
|
||||
|
|
Loading…
Reference in a new issue