Fix LSP stubs

This commit is contained in:
Oliver Marriott 2021-03-13 01:46:52 +11:00
parent 92a6ef32bb
commit bb139bd7dc

View File

@ -170,34 +170,38 @@ local theme = lush(function()
-- Todo { }, -- (preferred) anything that needs extra attention; mostly the keywords TODO FIXME and XXX -- 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 are for the native LSP client. Some other LSP clients may
---- these groups, or use their own. Consult your LSP client's documentation. -- use these groups, or use their own. Consult your LSP client's
-- documentation.
-- LspReferenceText { }; -- used for highlighting "text" references -- LspReferenceText { }, -- used for highlighting "text" references
-- LspReferenceRead { }; -- used for highlighting "read" references -- LspReferenceRead { }, -- used for highlighting "read" references
-- LspReferenceWrite { }; -- used for highlighting "write" references -- LspReferenceWrite { }, -- used for highlighting "write" references
-- LspDiagnosticsDefaultError { }; -- 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) -- 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) -- 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) -- LspDiagnosticsDefaultHint { }, -- Used as the base highlight group. Other LspDiagnostic highlights link to this by default (except Underline)
-- LspDiagnosticsVirtualTextError { }; -- Used for "Error" diagnostic virtual text -- LspDiagnosticsVirtualTextError { }, -- Used for "Error" diagnostic virtual text
-- LspDiagnosticsVirtualTextWarning { }; -- Used for "Warning" diagnostic virtual text -- LspDiagnosticsVirtualTextWarning { }, -- Used for "Warning" diagnostic virtual text
-- LspDiagnosticsVirtualTextInformation { }; -- Used for "Information" diagnostic virtual text -- LspDiagnosticsVirtualTextInformation { }, -- Used for "Information" diagnostic virtual text
-- LspDiagnosticsVirtualTextHint { }; -- Used for "Hint" diagnostic virtual text -- LspDiagnosticsVirtualTextHint { }, -- Used for "Hint" diagnostic virtual text
-- LspDiagnosticsUnderlineError { }; -- Used to underline "Error" diagnostics
-- LspDiagnosticsUnderlineWarning { }; -- Used to underline "Warning" diagnostics -- LspDiagnosticsUnderlineError { }, -- Used to underline "Error" diagnostics
-- LspDiagnosticsUnderlineInformation { }; -- Used to underline "Information" diagnostics -- LspDiagnosticsUnderlineWarning { }, -- Used to underline "Warning" diagnostics
-- LspDiagnosticsUnderlineHint { }; -- Used to underline "Hint" diagnostics -- LspDiagnosticsUnderlineInformation { }, -- Used to underline "Information" diagnostics
-- LspDiagnosticsFloatingError { }; -- Used to color "Error" diagnostic messages in diagnostics float -- LspDiagnosticsUnderlineHint { }, -- Used to underline "Hint" diagnostics
-- LspDiagnosticsFloatingWarning { }; -- Used to color "Warning" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingInformation { }; -- Used to color "Information" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingError { }, -- Used to color "Error" diagnostic messages in diagnostics float
-- LspDiagnosticsFloatingHint { }; -- Used to color "Hint" diagnostic messages in diagnostics float -- LspDiagnosticsFloatingWarning { }, -- Used to color "Warning" diagnostic messages in diagnostics float
-- LspDiagnosticsSignError { }; -- Used for "Error" signs in sign column -- LspDiagnosticsFloatingInformation { }, -- Used to color "Information" diagnostic messages in diagnostics float
-- LspDiagnosticsSignWarning { }; -- Used for "Warning" signs in sign column -- LspDiagnosticsFloatingHint { }, -- Used to color "Hint" diagnostic messages in diagnostics float
-- LspDiagnosticsSignInformation { }; -- Used for "Information" signs in sign column
-- LspDiagnosticsSignHint { }; -- Used for "Hint" signs in sign column -- 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. -- These groups are for the neovim tree-sitter highlights.
-- As of writing, tree-sitter support is a WIP, group names may change. -- As of writing, tree-sitter support is a WIP, group names may change.