Add customisation of signs
This commit is contained in:
parent
9b2710dd47
commit
b8d2b548d8
4 changed files with 64 additions and 5 deletions
22
README.md
22
README.md
|
|
@ -829,6 +829,28 @@ It allows you to debug scripts running inside chrome from within Vim.
|
|||
comment](https://github.com/puremourning/vimspector/issues/3#issuecomment-576916076)
|
||||
for instructions.
|
||||
|
||||
# Customisation
|
||||
|
||||
There is very limited support for customistaion of the UI.
|
||||
|
||||
## Changing the default signs
|
||||
|
||||
Vimsector uses the following signs internally. If they are defined before
|
||||
Vimsector uses them, they will not be replaced. So to customise the signs,
|
||||
define them in your `vimrc`.
|
||||
|
||||
* `vimspectorBP`: A breakpoint.
|
||||
* `vimspectorBPDisabled`: A disabled breakpoint
|
||||
* `vimspectorPC` The program counter, i.e. current line.
|
||||
|
||||
For example, to use some unicode symbols, you could put this in your `vimrc`:
|
||||
|
||||
```viml
|
||||
sign define vimspectorBP text=🔴 texthl=Normal
|
||||
sign define vimspectorBPDisabled text=🔵 texthl=Normal
|
||||
sign define vimspectorPC text=🔶 texthl=SpellBad
|
||||
```
|
||||
|
||||
# FAQ
|
||||
|
||||
1. Q: Does it work? A: Yeah, sort of. It's _incredibly_ buggy and unpolished.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue