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

Commit

Permalink
Merge pull request #39 from yaegassy/update-doc-diagnostic_enable_und…
Browse files Browse the repository at this point in the history
…erline

Added "g:diagnostic_enable_underline" to README
  • Loading branch information
haorenW1025 authored Jul 5, 2020
2 parents cd80a41 + 39b50b3 commit c1ddb0d
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ make it a more user friendly without adding too much to it.
- Jump to next/previous diagnostic under your cursor.
- Automatically open pop up window that shows line diagnostic while jumping.
- Show error sign in columns.
- Show error underline in symbols.
- Delay diagnostic when you're in insert mode.

## Demo
Expand Down Expand Up @@ -117,6 +118,15 @@ call sign_define("LspDiagnosticsInformationSign", {"text" : "I", "texthl" : "Lsp
call sign_define("LspDiagnosticsHintSign", {"text" : "H", "texthl" : "LspDiagnosticsHint"})
```

### Enable/Disable Underline

- By default, the build-in Nvim LSP will show a underline on every symbol that
you have a diagnostic message on. You can turn this off by

```vim
let g:diagnostic_enable_underline = 0
```

### Enable/Disable auto popup window

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

0 comments on commit c1ddb0d

Please sign in to comment.