From 7d3e62087fbbad2dc10d59359f19a42180a19391 Mon Sep 17 00:00:00 2001 From: Akianonymus Date: Thu, 8 Sep 2022 13:37:41 +0530 Subject: docs: Use name in Last Updated | Cleanup | Improve insert mode perf Fix highlight not refreshing for last line when tailwind mode is activated --- doc/colorizer.txt | 8 ++++++-- doc/index.html | 2 +- doc/modules/colorizer.buffer_utils.html | 16 +++++++++++----- doc/modules/colorizer.color_utils.html | 2 +- doc/modules/colorizer.html | 2 +- doc/modules/colorizer.matcher_utils.html | 2 +- doc/modules/colorizer.trie.html | 2 +- doc/modules/utils.html | 2 +- 8 files changed, 23 insertions(+), 13 deletions(-) (limited to 'doc') diff --git a/doc/colorizer.txt b/doc/colorizer.txt index 1ff8269..3dba4d2 100644 --- a/doc/colorizer.txt +++ b/doc/colorizer.txt @@ -262,7 +262,8 @@ Fields: ~ *colorizer.buffer_utils.highlight_buffer* -highlight_buffer({buf}, {ns}, {lines}, {line_start}, {options}, {options_local}) +highlight_buffer({buf}, {ns}, {lines}, {line_start}, {line_end}, {options}, +{options_local}) Highlight the buffer region. Highlight starting from `line_start` (0-indexed) for each line described by @@ -276,6 +277,7 @@ highlight_buffer({buf}, {ns}, {lines}, {line_start}, {options}, {options_local}) it with `vim.api.create_namespace` {lines} - table: the lines to highlight from the buffer. {line_start} - number: line_start should be 0-indexed + {line_end} - number: Last line to highlight {options} - table: Configuration options as described in `setup` {options_local} - table: Buffer local variables @@ -286,13 +288,15 @@ highlight_buffer({buf}, {ns}, {lines}, {line_start}, {options}, {options_local}) *colorizer.buffer_utils.rehighlight_buffer* -rehighlight_buffer({buf}, {options}, {options_local}) +rehighlight_buffer({buf}, {options}, {options_local}, {use_local_lines}) Rehighlight the buffer if colorizer is active Parameters: ~ {buf} - number: Buffer number {options} - table: Buffer options {options_local} - table|nil: Buffer local variables + {use_local_lines} - boolean|nil Whether to use lines num range from + options_local returns:~ nil or boolean or number,function or nil diff --git a/doc/index.html b/doc/index.html index a14a7d8..6042cb2 100644 --- a/doc/index.html +++ b/doc/index.html @@ -77,7 +77,7 @@
generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
diff --git a/doc/modules/colorizer.buffer_utils.html b/doc/modules/colorizer.buffer_utils.html index a25f6ef..315794d 100644 --- a/doc/modules/colorizer.buffer_utils.html +++ b/doc/modules/colorizer.buffer_utils.html @@ -62,11 +62,11 @@

Functions

- + - +
highlight_buffer (buf, ns, lines, line_start, options, options_local)highlight_buffer (buf, ns, lines, line_start, line_end, options, options_local) Highlight the buffer region.
rehighlight_buffer (buf, options, options_local)rehighlight_buffer (buf, options, options_local, use_local_lines) Rehighlight the buffer if colorizer is active
@@ -94,7 +94,7 @@
- highlight_buffer (buf, ns, lines, line_start, options, options_local) + highlight_buffer (buf, ns, lines, line_start, line_end, options, options_local)
Highlight the buffer region. @@ -116,6 +116,9 @@
  • line_start number: line_start should be 0-indexed
  • +
  • line_end + number: Last line to highlight +
  • options table: Configuration options as described in setup
  • @@ -136,7 +139,7 @@
    - rehighlight_buffer (buf, options, options_local) + rehighlight_buffer (buf, options, options_local, use_local_lines)
    Rehighlight the buffer if colorizer is active @@ -153,6 +156,9 @@
  • options_local table|nil: Buffer local variables
  • +
  • use_local_lines + boolean|nil Whether to use lines num range from options_local +
  • Returns:

    @@ -231,7 +237,7 @@
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    diff --git a/doc/modules/colorizer.color_utils.html b/doc/modules/colorizer.color_utils.html index 522999c..a02853b 100644 --- a/doc/modules/colorizer.color_utils.html +++ b/doc/modules/colorizer.color_utils.html @@ -351,7 +351,7 @@
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    diff --git a/doc/modules/colorizer.html b/doc/modules/colorizer.html index 090c424..3b04ab9 100644 --- a/doc/modules/colorizer.html +++ b/doc/modules/colorizer.html @@ -478,7 +478,7 @@ Setup an autocmd which enables colorizing for the filetypes and options specifie
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    diff --git a/doc/modules/colorizer.matcher_utils.html b/doc/modules/colorizer.matcher_utils.html index 7319be5..5a5514f 100644 --- a/doc/modules/colorizer.matcher_utils.html +++ b/doc/modules/colorizer.matcher_utils.html @@ -106,7 +106,7 @@ Do not try make the function again if it is present in the cache
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    diff --git a/doc/modules/colorizer.trie.html b/doc/modules/colorizer.trie.html index 7f015f7..e5fc981 100644 --- a/doc/modules/colorizer.trie.html +++ b/doc/modules/colorizer.trie.html @@ -62,7 +62,7 @@
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    diff --git a/doc/modules/utils.html b/doc/modules/utils.html index 6651212..8ff8fed 100644 --- a/doc/modules/utils.html +++ b/doc/modules/utils.html @@ -224,7 +224,7 @@
    generated by LDoc 1.4.6 -Last updated 2022-09-07 11:26:36 +Last updated - September
    -- cgit v1.2.3-70-g09d2