Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(renderer): Added hybrid-mode support to the plugin
Hybrid mode finally is complete & stable. You can set it up using the new `hybrid_modes` option. Example: modes = { "n", "i", "c" }, hybrid_modes = { "i" }, Preview failure no longer crashes the plugin. Renderer now has the following set of features, - Partial rendering of files(doesn't render things within a specific range) - Partial clearing. Now the renderer can clear only parts of the buffer. - Methods for finding node ranges. This is used to prevent nodes being unconcealed halfway. Parser now has the following set of features, - Partial parsing. Only parses a specific range in the buffer. See: #58 ------------------------------------------------------------------------ feat(colors): Distinct highlight groups. Highlight groups now have distinct names. Added highlight groups, - MarkviewHeading<1-6> For the different heading levels. - MarkviewHeading<1-6>Sign For the signs used by the headings. - MarkviewHeadingCodeBlock For code blocks. - MarkviewHeadingBlockQuoteDefault For the default `block quotes`. - MarkviewHeadingBlockQuoteOk For `success`-type block quotes. - MarkviewHeadingBlockQuoteWarn For `warning`-type block quotes. - MarkviewHeadingBlockQuoteError For `error`-type block quotes. - MarkviewHeadingBlockQuoteNote For `notes`-related block quotes. - MarkviewHeadingBlockQuoteSpecial For `special` block quotes. E.g. Important, Example. - MarkviewCheckboxChecked For checked checkboxes. - MarkviewCheckboxUnhecked For unchecked checkboxes. - MarkviewCheckboxPending For pending checkboxes. - MarkviewTableBorder For the borders in the table. - MarkviewTableAlignLeft For left alignment indicator. - MarkviewTableAlignRight For right alignment indicator. - MarkviewTableAlignCenter For center alignment indicator. - MarkviewListItemPlus For list items starting with +. - MarkviewListItemMinus For list items starting with -. - MarkviewListItemStar For list items starting with *. [Note: Ordered list items(starting with .) don't use highlights] - MarkviewHyperlink For regular links. - MarkviewImageLink For images. - MarkviewEmail For email addresses. - MarkviewGradient<1-10> For horizontal rules. See: #61 ------------------------------------------------------------------------ bug(renderer): Incorrect start column of code blocks Fixes a bug where `block_continuation` caused code blocks without `info_string` to render incorrectly. Lua patterns are now used to extract language strings. See: #64
- Loading branch information