From bb139bd7dcabf0f841b6f47bd23ae809405df92f Mon Sep 17 00:00:00 2001 From: Oliver Marriott Date: Sat, 13 Mar 2021 01:46:52 +1100 Subject: [PATCH] Fix LSP stubs --- lua/lush_theme/lush_template.lua | 54 +++++++++++++++++--------------- 1 file changed, 29 insertions(+), 25 deletions(-) diff --git a/lua/lush_theme/lush_template.lua b/lua/lush_theme/lush_template.lua index 8be34e9..bd3f084 100644 --- a/lua/lush_theme/lush_template.lua +++ b/lua/lush_theme/lush_template.lua @@ -170,34 +170,38 @@ local theme = lush(function() -- Todo { }, -- (preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX - ---- These groups are for the native LSP client. Some other LSP clients may use - ---- these groups, or use their own. Consult your LSP client's documentation. + -- These groups are for the native LSP client. Some other LSP clients may + -- use these groups, or use their own. Consult your LSP client's + -- documentation. - -- LspReferenceText { }; -- used for highlighting "text" references - -- LspReferenceRead { }; -- used for highlighting "read" references - -- LspReferenceWrite { }; -- used for highlighting "write" references + -- LspReferenceText { }, -- used for highlighting "text" references + -- LspReferenceRead { }, -- used for highlighting "read" references + -- LspReferenceWrite { }, -- used for highlighting "write" references - -- LspDiagnosticsDefaultError { }; -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - -- LspDiagnosticsDefaultWarning { }; -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - -- LspDiagnosticsDefaultInformation { }; -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - -- LspDiagnosticsDefaultHint { }; -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + -- LspDiagnosticsDefaultError { }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + -- LspDiagnosticsDefaultWarning { }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + -- LspDiagnosticsDefaultInformation { }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) + -- LspDiagnosticsDefaultHint { }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline) - -- LspDiagnosticsVirtualTextError { }; -- Used for "Error" diagnostic virtual text - -- LspDiagnosticsVirtualTextWarning { }; -- Used for "Warning" diagnostic virtual text - -- LspDiagnosticsVirtualTextInformation { }; -- Used for "Information" diagnostic virtual text - -- LspDiagnosticsVirtualTextHint { }; -- Used for "Hint" diagnostic virtual text - -- LspDiagnosticsUnderlineError { }; -- Used to underline "Error" diagnostics - -- LspDiagnosticsUnderlineWarning { }; -- Used to underline "Warning" diagnostics - -- LspDiagnosticsUnderlineInformation { }; -- Used to underline "Information" diagnostics - -- LspDiagnosticsUnderlineHint { }; -- Used to underline "Hint" diagnostics - -- LspDiagnosticsFloatingError { }; -- Used to color "Error" diagnostic messages in diagnostics float - -- LspDiagnosticsFloatingWarning { }; -- Used to color "Warning" diagnostic messages in diagnostics float - -- LspDiagnosticsFloatingInformation { }; -- Used to color "Information" diagnostic messages in diagnostics float - -- LspDiagnosticsFloatingHint { }; -- Used to color "Hint" diagnostic messages in diagnostics float - -- LspDiagnosticsSignError { }; -- Used for "Error" signs in sign column - -- LspDiagnosticsSignWarning { }; -- Used for "Warning" signs in sign column - -- LspDiagnosticsSignInformation { }; -- Used for "Information" signs in sign column - -- LspDiagnosticsSignHint { }; -- Used for "Hint" signs in sign column + -- LspDiagnosticsVirtualTextError { }, -- Used for "Error" diagnostic virtual text + -- LspDiagnosticsVirtualTextWarning { }, -- Used for "Warning" diagnostic virtual text + -- LspDiagnosticsVirtualTextInformation { }, -- Used for "Information" diagnostic virtual text + -- LspDiagnosticsVirtualTextHint { }, -- Used for "Hint" diagnostic virtual text + + -- LspDiagnosticsUnderlineError { }, -- Used to underline "Error" diagnostics + -- LspDiagnosticsUnderlineWarning { }, -- Used to underline "Warning" diagnostics + -- LspDiagnosticsUnderlineInformation { }, -- Used to underline "Information" diagnostics + -- LspDiagnosticsUnderlineHint { }, -- Used to underline "Hint" diagnostics + + -- LspDiagnosticsFloatingError { }, -- Used to color "Error" diagnostic messages in diagnostics float + -- LspDiagnosticsFloatingWarning { }, -- Used to color "Warning" diagnostic messages in diagnostics float + -- LspDiagnosticsFloatingInformation { }, -- Used to color "Information" diagnostic messages in diagnostics float + -- LspDiagnosticsFloatingHint { }, -- Used to color "Hint" diagnostic messages in diagnostics float + + -- LspDiagnosticsSignError { }, -- Used for "Error" signs in sign column + -- LspDiagnosticsSignWarning { }, -- Used for "Warning" signs in sign column + -- LspDiagnosticsSignInformation { }, -- Used for "Information" signs in sign column + -- LspDiagnosticsSignHint { }, -- Used for "Hint" signs in sign column -- These groups are for the neovim tree-sitter highlights. -- As of writing, tree-sitter support is a WIP, group names may change.