nordtheme / vim

An arctic, north-bluish clean and elegant Vim theme.
https://www.nordtheme.com/ports/vim
MIT License
2.52k stars 274 forks source link

Add nvim-lsp support #198

Closed alexanderjeurissen closed 4 years ago

alexanderjeurissen commented 4 years ago

This adds highlighting for the build-in neovim language server (as can be seen in the lsp help file of neovim)

excerpt:

================================================================================
LSP HIGHLIGHT                                                    *lsp-highlight*

                                                        *hl-LspDiagnosticsError*
LspDiagnosticsError       used for "Error" diagnostic virtual text
                                                      *hl-LspDiagnosticsWarning*
LspDiagnosticsWarning     used for "Warning" diagnostic virtual text
                                                  *hl-LspDiagnosticsInformation*
LspDiagnosticInformation  used for "Information" diagnostic virtual text
                                                         *hl-LspDiagnosticsHint*
LspDiagnosticHint         used for "Hint" diagnostic virtual text
                                                           *hl-LspReferenceText*
LspReferenceText          used for highlighting "text" references
                                                           *hl-LspReferenceRead*
LspReferenceRead          used for highlighting "read" references
                                                          *hl-LspReferenceWrite*
LspReferenceWrite         used for highlighting "write" references

I used the same highlighting as Coc.nvim to ensure consistency.