aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorfrancisco souza <108725+fsouza@users.noreply.github.com>2020-06-18 08:04:49 -0400
committerGitHub <noreply@github.com>2020-06-18 08:04:49 -0400
commit70d4b31b834395fe36f4886e43b63fd4dc62ded1 (patch)
tree3f97e447c549b59a771e73a0cfa36a8d5dd52c40 /test
parent25aa2969f25a1a6554e7ecd48692c60852d74101 (diff)
downloadrneovim-70d4b31b834395fe36f4886e43b63fd4dc62ded1.tar.gz
rneovim-70d4b31b834395fe36f4886e43b63fd4dc62ded1.tar.bz2
rneovim-70d4b31b834395fe36f4886e43b63fd4dc62ded1.zip
lsp: Add new highlight groups used in show_line_diagnostics (#12473)
* lsp: support custom hl groups in show_line_diagnostics Closes #12472. * runtime: add docs for the new lsp highlight groups Co-authored-by: francisco souza <fsouza@users.noreply.github.com>
Diffstat (limited to 'test')
-rw-r--r--test/functional/plugin/lsp_spec.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/functional/plugin/lsp_spec.lua b/test/functional/plugin/lsp_spec.lua
index 1ab81a0ef8..c74ed6bf3b 100644
--- a/test/functional/plugin/lsp_spec.lua
+++ b/test/functional/plugin/lsp_spec.lua
@@ -770,10 +770,13 @@ describe('LSP', function()
it('highlight groups', function()
eq({'LspDiagnosticsError',
+ 'LspDiagnosticsErrorFloating',
'LspDiagnosticsErrorSign',
'LspDiagnosticsHint',
+ 'LspDiagnosticsHintFloating',
'LspDiagnosticsHintSign',
'LspDiagnosticsInformation',
+ 'LspDiagnosticsInformationFloating',
'LspDiagnosticsInformationSign',
'LspDiagnosticsUnderline',
'LspDiagnosticsUnderlineError',
@@ -781,6 +784,7 @@ describe('LSP', function()
'LspDiagnosticsUnderlineInformation',
'LspDiagnosticsUnderlineWarning',
'LspDiagnosticsWarning',
+ 'LspDiagnosticsWarningFloating',
'LspDiagnosticsWarningSign',
},
exec_lua([[require'vim.lsp'; return vim.fn.getcompletion('Lsp', 'highlight')]]))