diff --git a/doc/colorizer.txt b/doc/colorizer.txt index e27de2f..57213f5 100644 --- a/doc/colorizer.txt +++ b/doc/colorizer.txt @@ -98,6 +98,9 @@ Functions: ~ |setup| - Easy to use function if you want the full setup without fine grained control. + |clear_highlight_cache| - Clears the highlight cache and reloads all + buffers. + Fields: ~ |default_namespace| - Default namespace used in `colorizer.buffer.highlight` and `attach_to_buffer`. @@ -202,6 +205,11 @@ setup({opts}) *colorizer.setup* +clear_highlight_cache() *colorizer.clear_highlight_cache* + Clears the highlight cache and reloads all buffers. + + + default_namespace *colorizer.default_namespace* Default namespace used in `colorizer.buffer.highlight` and `attach_to_buffer`. @@ -234,8 +242,6 @@ Functions: ~ containing rgb_hex and range per line - |clear_highlight_cache| - Clear the highlight cache and reload all buffers. - Tables: ~ |highlight_mode_names| - Highlight mode which will be use to render the color @@ -278,8 +284,8 @@ highlight({bufnr}, {ns_id}, {line_start}, {line_end}, {options}, Parameters: ~ - {bufnr} - number: buffer number (0 for current) - {ns_id} - number: namespace id. default is "colorizer", created with + {bufnr} - number: Buffer number, 0 for current + {ns_id} - number: Namespace id, default is "colorizer" created with vim.api.nvim_create_namespace {line_start} - number: line_start should be 0-indexed {line_end} - number: Last line to highlight @@ -298,8 +304,8 @@ parse_lines({bufnr}, {lines}, {line_start}, {options}) rgb_hex and range per line Parameters: ~ - {bufnr} - number: buffer number (0 for current) - {lines} - table: table of lines to parse + {bufnr} - number: Buffer number (0 for current) + {lines} - table: Table of lines to parse {line_start} - number: This is the buffer line number, from where to start highlighting {options} - table: Passed in `colorizer.setup`, Only uses @@ -310,11 +316,6 @@ parse_lines({bufnr}, {lines}, {line_start}, {options}) -clear_highlight_cache() *colorizer.buffer.clear_highlight_cache* - Clear the highlight cache and reload all buffers. - - - highlight_mode_names *colorizer.buffer.highlight_mode_names* Highlight mode which will be use to render the color @@ -868,7 +869,7 @@ name_parser({line}, {i}, {bufnr}) *colorizer.sass.name_parser* Parameters: ~ {line} - string: Line to parse {i} - number: Index of line from where to start parsing - {bufnr} - number + {bufnr} - number: Buffer number returns:~ number or nil, string or nil @@ -887,7 +888,7 @@ update_variables({bufnr}, {line_start}, {line_end}, {lines}, {color_parser}, Parameters: ~ - {bufnr} - number: buffer number (0 for current) + {bufnr} - number: Buffer number {line_start} - number {line_end} - number {lines} - table|nil @@ -933,7 +934,7 @@ setup_lsp_colors({bufnr}, {options}, {options_local}, {add_highlight}) To see these table information, see |colorizer.buffer| Parameters: ~ - {bufnr} - number: buffer number (0 for current) + {bufnr} - number: Buffer number (0 for current) {options} - table {options_local} - table {add_highlight} - function diff --git a/doc/modules/colorizer.buffer.html b/doc/modules/colorizer.buffer.html index 982d435..c7d2836 100644 --- a/doc/modules/colorizer.buffer.html +++ b/doc/modules/colorizer.buffer.html @@ -86,10 +86,6 @@

Functions

Parse the given lines for colors and return a table containing rgb_hex and range per line - - clear_highlight_cache () - Clear the highlight cache and reload all buffers. -

Tables

@@ -175,10 +171,10 @@

Parameters:

Parameters:

+ + + +
setup (opts) Easy to use function if you want the full setup without fine grained control.
clear_highlight_cache ()Clears the highlight cache and reloads all buffers.

Fields

@@ -375,6 +379,20 @@

Usage:

`require("colorizer").setup()`
+ +
+ + clear_highlight_cache () +
+
+ Clears the highlight cache and reloads all buffers. + + + + + + +

Fields

diff --git a/doc/modules/colorizer.sass.html b/doc/modules/colorizer.sass.html index 9d54a4a..33d3cb4 100644 --- a/doc/modules/colorizer.sass.html +++ b/doc/modules/colorizer.sass.html @@ -130,7 +130,7 @@

Parameters:

number: Index of line from where to start parsing
  • bufnr - number + number: Buffer number
  • @@ -157,7 +157,7 @@

    Returns:

    Parameters: