From 6d61546bbcfc4e38024b79943c20464fe71915d9 Mon Sep 17 00:00:00 2001 From: Dylan Armstrong Date: Sun, 23 May 2021 11:28:40 -0500 Subject: [PATCH 1/3] feat: add lsp diagnostics --- lua/base16.lua | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lua/base16.lua b/lua/base16.lua index 09d21be..17e8861 100644 --- a/lua/base16.lua +++ b/lua/base16.lua @@ -330,6 +330,13 @@ local function apply_base16_theme(theme, use_256_colorspace) -- Java highlighting highlight("javaOperator", theme.base0D, nil, cterm0D, nil, nil, nil) + -- LspDiagnostic base highlight group + highlight("LspDiagnosticsDefaultError", theme.base08, nil, cterm00, cterm08, nil, nil) + highlight("LspDiagnosticsVirtualTextError", theme.base08, nil, cterm00, cterm08, nil, nil) + highlight("LspDiagnosticsDefaultWarning", theme.base0A, nil, cterm08, cterm00, nil, nil) + highlight("LspDiagnosticsDefaultInformation", theme.base0D, nil, cterm08, cterm00, nil, nil) + highlight("LspDiagnosticsDefaultHint", theme.base0C, nil, cterm08, cterm00, nil, nil) + -- TODO -- nvim.command 'syntax on' end From 8e57bb9abe32a90b0eb6c9b51f6501812084e81e Mon Sep 17 00:00:00 2001 From: Dylan Armstrong Date: Sun, 23 May 2021 11:29:49 -0500 Subject: [PATCH 2/3] chore: remove unused one --- lua/base16.lua | 1 - 1 file changed, 1 deletion(-) diff --git a/lua/base16.lua b/lua/base16.lua index 17e8861..9190ef3 100644 --- a/lua/base16.lua +++ b/lua/base16.lua @@ -332,7 +332,6 @@ local function apply_base16_theme(theme, use_256_colorspace) -- LspDiagnostic base highlight group highlight("LspDiagnosticsDefaultError", theme.base08, nil, cterm00, cterm08, nil, nil) - highlight("LspDiagnosticsVirtualTextError", theme.base08, nil, cterm00, cterm08, nil, nil) highlight("LspDiagnosticsDefaultWarning", theme.base0A, nil, cterm08, cterm00, nil, nil) highlight("LspDiagnosticsDefaultInformation", theme.base0D, nil, cterm08, cterm00, nil, nil) highlight("LspDiagnosticsDefaultHint", theme.base0C, nil, cterm08, cterm00, nil, nil) From b1875955f5d65230904c196205c28a3eb4af3262 Mon Sep 17 00:00:00 2001 From: Dylan Armstrong Date: Sun, 23 May 2021 11:46:29 -0500 Subject: [PATCH 3/3] style: tab fix --- lua/base16.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/base16.lua b/lua/base16.lua index 9190ef3..33fe3b0 100644 --- a/lua/base16.lua +++ b/lua/base16.lua @@ -330,7 +330,7 @@ local function apply_base16_theme(theme, use_256_colorspace) -- Java highlighting highlight("javaOperator", theme.base0D, nil, cterm0D, nil, nil, nil) - -- LspDiagnostic base highlight group + -- LspDiagnostic base highlight group highlight("LspDiagnosticsDefaultError", theme.base08, nil, cterm00, cterm08, nil, nil) highlight("LspDiagnosticsDefaultWarning", theme.base0A, nil, cterm08, cterm00, nil, nil) highlight("LspDiagnosticsDefaultInformation", theme.base0D, nil, cterm08, cterm00, nil, nil)