From 4383e5c54069bc54db52881f95b9f4191d40ff7e Mon Sep 17 00:00:00 2001 From: haorenW1025 Date: Thu, 14 May 2020 08:03:15 +0000 Subject: [PATCH] README update --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 6497d79..35db8b1 100644 --- a/README.md +++ b/README.md @@ -99,8 +99,18 @@ let g:space_before_virtual_text = 5 ```vim let g:diagnostic_show_sign = 0 ``` + - Make sure to use the latest branch of Neovim which has sign support. +- If you want to change the symbols of sign, use `sign_define` to change it + +```vim +call sign_define("LspDiagnosticsErrorSign", {"text" : "E", "texthl" : "LspDiagnosticsError"}) +call sign_define("LspDiagnosticsWarningSign", {"text" : "W", "texthl" : "LspDiagnosticsWarning"}) +call sign_define("LspDiagnosticInformationSign", {"text" : "I", "texthl" : "LspDiagnosticsInformation"}) +call sign_define("LspDiagnosticHintSign", {"text" : "H", "texthl" : "LspDiagnosticsHint"}) +``` + ### Enable/Disable auto popup window - When you jump to next or previous diagnostic, line diagnostic message will popup