Fix LSP stubs

This commit is contained in:
Oliver Marriott 2021-03-13 01:46:52 +11:00
parent 92a6ef32bb
commit bb139bd7dc
1 changed files with 29 additions and 25 deletions

View File

@ -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.