Skip to content
This repository was archived by the owner on Jul 6, 2021. It is now read-only.

Commit 4383e5c

Browse files
committed
README update
1 parent da5e935 commit 4383e5c

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,8 +99,18 @@ let g:space_before_virtual_text = 5
9999
```vim
100100
let g:diagnostic_show_sign = 0
101101
```
102+
102103
- Make sure to use the latest branch of Neovim which has sign support.
103104

105+
- If you want to change the symbols of sign, use `sign_define` to change it
106+
107+
```vim
108+
call sign_define("LspDiagnosticsErrorSign", {"text" : "E", "texthl" : "LspDiagnosticsError"})
109+
call sign_define("LspDiagnosticsWarningSign", {"text" : "W", "texthl" : "LspDiagnosticsWarning"})
110+
call sign_define("LspDiagnosticInformationSign", {"text" : "I", "texthl" : "LspDiagnosticsInformation"})
111+
call sign_define("LspDiagnosticHintSign", {"text" : "H", "texthl" : "LspDiagnosticsHint"})
112+
```
113+
104114
### Enable/Disable auto popup window
105115

106116
- When you jump to next or previous diagnostic, line diagnostic message will popup

0 commit comments

Comments
 (0)