bring non-treesitter markdown closer
This commit is contained in:
@@ -112,7 +112,7 @@ local function generate(p, opt)
|
|||||||
WildMenu { bg = p.blossom, fg = p1.bg }, -- current match in 'wildmenu' completion
|
WildMenu { bg = p.blossom, fg = p1.bg }, -- current match in 'wildmenu' completion
|
||||||
Directory { gui = "bold" }, -- directory names (and other special names in listings)
|
Directory { gui = "bold" }, -- directory names (and other special names in listings)
|
||||||
Question { MoreMsg }, -- |hit-enter| prompt and yes/no questions
|
Question { MoreMsg }, -- |hit-enter| prompt and yes/no questions
|
||||||
Title { gui = "bold" }, -- titles for output from ":set all", ":autocmd" etc.
|
Title { fg = p.fg, gui = "bold" }, -- titles for output from ":set all", ":autocmd" etc.
|
||||||
|
|
||||||
|
|
||||||
-- These groups are not listed as default vim groups,
|
-- These groups are not listed as default vim groups,
|
||||||
@@ -242,8 +242,9 @@ local function generate(p, opt)
|
|||||||
TSTag { Special }, -- Tags like html tag names.
|
TSTag { Special }, -- Tags like html tag names.
|
||||||
-- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/`
|
-- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/`
|
||||||
-- TSText { }; -- For strings considered text in a markup language.
|
-- TSText { }; -- For strings considered text in a markup language.
|
||||||
-- TSEmphasis { }; -- For text to be represented with emphasis.
|
TSEmphasis { Italic }, -- For text to be represented with emphasis.
|
||||||
-- TSUnderline { }; -- For text to be represented with an underline.
|
TSUnderline { Underlined }, -- For text to be represented with an underline.
|
||||||
|
TSStrong { Bold }, -- Text to be represented in bold.
|
||||||
-- TSStrike { }; -- For strikethrough text.
|
-- TSStrike { }; -- For strikethrough text.
|
||||||
-- TSTitle { }; -- Text that is part of a title.
|
-- TSTitle { }; -- Text that is part of a title.
|
||||||
-- TSLiteral { }; -- Literal text.
|
-- TSLiteral { }; -- Literal text.
|
||||||
@@ -254,14 +255,13 @@ local function generate(p, opt)
|
|||||||
TSDanger { Error },
|
TSDanger { Error },
|
||||||
|
|
||||||
-- TS: Markdown
|
-- TS: Markdown
|
||||||
markdownTSPunctSpecial { Special }; -- For special punctutation that does not fall in the catagories before.
|
markdownTSPunctSpecial { Special },
|
||||||
markdownTSStringEscape { SpecialKey }; -- For escape characters within a string.
|
markdownTSStringEscape { SpecialKey },
|
||||||
markdownTSTextReference { Special, gui = "underline" }; -- Footnotes, text references, citations, etc.
|
markdownTSTextReference { Identifier, gui = "underline" },
|
||||||
markdownTSEmphasis { Italic }; -- For text to be represented with emphasis.
|
markdownTSEmphasis { Italic },
|
||||||
markdownTSStrong { Bold }; -- Text to be represented in bold.
|
markdownTSTitle { Statement },
|
||||||
markdownTSTitle { Statement }; -- Text that is part of a title.
|
markdownTSLiteral { Type },
|
||||||
markdownTSLiteral { Delimiter }; -- Literal text.
|
markdownTSURI { SpecialComment },
|
||||||
markdownTSURI { NonText }; -- Any URI like a link or email.
|
|
||||||
|
|
||||||
-- Syntax
|
-- Syntax
|
||||||
diffAdded { fg = p.leaf },
|
diffAdded { fg = p.leaf },
|
||||||
@@ -275,13 +275,9 @@ local function generate(p, opt)
|
|||||||
|
|
||||||
gitcommitOverflow { WarningMsg },
|
gitcommitOverflow { WarningMsg },
|
||||||
|
|
||||||
markdownH1 { Statement, gui = "bold,underline" },
|
markdownUrl { markdownTSURI },
|
||||||
markdownH2 { Statement },
|
markdownCode { markdownTSLiteral },
|
||||||
markdownH3 { Statement },
|
markdownLinkText { markdownTSTextReference },
|
||||||
markdownH4 { Special },
|
|
||||||
markdownH5 { Special },
|
|
||||||
markdownH6 { Special },
|
|
||||||
markdownCode { Identifier },
|
|
||||||
markdownLinkTextDelimiter { Delimiter },
|
markdownLinkTextDelimiter { Delimiter },
|
||||||
|
|
||||||
helpHyperTextEntry { Special },
|
helpHyperTextEntry { Special },
|
||||||
|
|||||||
@@ -112,7 +112,7 @@ local function generate(p, opt)
|
|||||||
WildMenu { bg = p.blossom, fg = p1.bg }, -- current match in 'wildmenu' completion
|
WildMenu { bg = p.blossom, fg = p1.bg }, -- current match in 'wildmenu' completion
|
||||||
Directory { gui = "bold" }, -- directory names (and other special names in listings)
|
Directory { gui = "bold" }, -- directory names (and other special names in listings)
|
||||||
Question { MoreMsg }, -- |hit-enter| prompt and yes/no questions
|
Question { MoreMsg }, -- |hit-enter| prompt and yes/no questions
|
||||||
Title { gui = "bold" }, -- titles for output from ":set all", ":autocmd" etc.
|
Title { fg = p.fg, gui = "bold" }, -- titles for output from ":set all", ":autocmd" etc.
|
||||||
|
|
||||||
|
|
||||||
-- These groups are not listed as default vim groups,
|
-- These groups are not listed as default vim groups,
|
||||||
@@ -242,8 +242,9 @@ local function generate(p, opt)
|
|||||||
TSTag { Special }, -- Tags like html tag names.
|
TSTag { Special }, -- Tags like html tag names.
|
||||||
-- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/`
|
-- TSTagDelimiter { }; -- Tag delimiter like `<` `>` `/`
|
||||||
-- TSText { }; -- For strings considered text in a markup language.
|
-- TSText { }; -- For strings considered text in a markup language.
|
||||||
-- TSEmphasis { }; -- For text to be represented with emphasis.
|
TSEmphasis { Italic }, -- For text to be represented with emphasis.
|
||||||
-- TSUnderline { }; -- For text to be represented with an underline.
|
TSUnderline { Underlined }, -- For text to be represented with an underline.
|
||||||
|
TSStrong { Bold }, -- Text to be represented in bold.
|
||||||
-- TSStrike { }; -- For strikethrough text.
|
-- TSStrike { }; -- For strikethrough text.
|
||||||
-- TSTitle { }; -- Text that is part of a title.
|
-- TSTitle { }; -- Text that is part of a title.
|
||||||
-- TSLiteral { }; -- Literal text.
|
-- TSLiteral { }; -- Literal text.
|
||||||
@@ -254,14 +255,13 @@ local function generate(p, opt)
|
|||||||
TSDanger { Error },
|
TSDanger { Error },
|
||||||
|
|
||||||
-- TS: Markdown
|
-- TS: Markdown
|
||||||
markdownTSPunctSpecial { Special }; -- For special punctutation that does not fall in the catagories before.
|
markdownTSPunctSpecial { Special },
|
||||||
markdownTSStringEscape { SpecialKey }; -- For escape characters within a string.
|
markdownTSStringEscape { SpecialKey },
|
||||||
markdownTSTextReference { Special, gui = "underline" }; -- Footnotes, text references, citations, etc.
|
markdownTSTextReference { Identifier, gui = "underline" },
|
||||||
markdownTSEmphasis { Italic }; -- For text to be represented with emphasis.
|
markdownTSEmphasis { Italic },
|
||||||
markdownTSStrong { Bold }; -- Text to be represented in bold.
|
markdownTSTitle { Statement },
|
||||||
markdownTSTitle { Statement }; -- Text that is part of a title.
|
markdownTSLiteral { Type },
|
||||||
markdownTSLiteral { Delimiter }; -- Literal text.
|
markdownTSURI { SpecialComment },
|
||||||
markdownTSURI { NonText }; -- Any URI like a link or email.
|
|
||||||
|
|
||||||
-- Syntax
|
-- Syntax
|
||||||
diffAdded { fg = p.leaf },
|
diffAdded { fg = p.leaf },
|
||||||
@@ -275,13 +275,9 @@ local function generate(p, opt)
|
|||||||
|
|
||||||
gitcommitOverflow { WarningMsg },
|
gitcommitOverflow { WarningMsg },
|
||||||
|
|
||||||
markdownH1 { Statement, gui = "bold,underline" },
|
markdownUrl { markdownTSURI },
|
||||||
markdownH2 { Statement },
|
markdownCode { markdownTSLiteral },
|
||||||
markdownH3 { Statement },
|
markdownLinkText { markdownTSTextReference },
|
||||||
markdownH4 { Special },
|
|
||||||
markdownH5 { Special },
|
|
||||||
markdownH6 { Special },
|
|
||||||
markdownCode { Identifier },
|
|
||||||
markdownLinkTextDelimiter { Delimiter },
|
markdownLinkTextDelimiter { Delimiter },
|
||||||
|
|
||||||
helpHyperTextEntry { Special },
|
helpHyperTextEntry { Special },
|
||||||
|
|||||||
Reference in New Issue
Block a user