Merge pull request #64 from evantravers/main
Markdown Treesitter Groups
This commit is contained in:
@@ -253,6 +253,16 @@ local function generate(p, opt)
|
|||||||
TSWarning { WarningMsg },
|
TSWarning { WarningMsg },
|
||||||
TSDanger { Error },
|
TSDanger { Error },
|
||||||
|
|
||||||
|
-- TS: Markdown
|
||||||
|
markdownTSPunctSpecial { Special }; -- For special punctutation that does not fall in the catagories before.
|
||||||
|
markdownTSStringEscape { SpecialKey }; -- For escape characters within a string.
|
||||||
|
markdownTSTextReference { Special, gui = "underline" }; -- Footnotes, text references, citations, etc.
|
||||||
|
markdownTSEmphasis { Italic }; -- For text to be represented with emphasis.
|
||||||
|
markdownTSStrong { Bold }; -- Text to be represented in bold.
|
||||||
|
markdownTSTitle { Statement }; -- Text that is part of a title.
|
||||||
|
markdownTSLiteral { Delimiter }; -- Literal text.
|
||||||
|
markdownTSURI { NonText }; -- Any URI like a link or email.
|
||||||
|
|
||||||
-- Syntax
|
-- Syntax
|
||||||
diffAdded { fg = p.leaf },
|
diffAdded { fg = p.leaf },
|
||||||
diffRemoved { fg = p.rose },
|
diffRemoved { fg = p.rose },
|
||||||
|
|||||||
@@ -253,6 +253,16 @@ local function generate(p, opt)
|
|||||||
TSWarning { WarningMsg },
|
TSWarning { WarningMsg },
|
||||||
TSDanger { Error },
|
TSDanger { Error },
|
||||||
|
|
||||||
|
-- TS: Markdown
|
||||||
|
markdownTSPunctSpecial { Special }; -- For special punctutation that does not fall in the catagories before.
|
||||||
|
markdownTSStringEscape { SpecialKey }; -- For escape characters within a string.
|
||||||
|
markdownTSTextReference { Special, gui = "underline" }; -- Footnotes, text references, citations, etc.
|
||||||
|
markdownTSEmphasis { Italic }; -- For text to be represented with emphasis.
|
||||||
|
markdownTSStrong { Bold }; -- Text to be represented in bold.
|
||||||
|
markdownTSTitle { Statement }; -- Text that is part of a title.
|
||||||
|
markdownTSLiteral { Delimiter }; -- Literal text.
|
||||||
|
markdownTSURI { NonText }; -- Any URI like a link or email.
|
||||||
|
|
||||||
-- Syntax
|
-- Syntax
|
||||||
diffAdded { fg = p.leaf },
|
diffAdded { fg = p.leaf },
|
||||||
diffRemoved { fg = p.rose },
|
diffRemoved { fg = p.rose },
|
||||||
|
|||||||
Reference in New Issue
Block a user