aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAkianonymus <anonymus.aki@gmail.com>2022-09-09 09:51:23 +0530
committerAkianonymus <anonymus.aki@gmail.com>2022-09-09 09:51:23 +0530
commita9aacd33ce50961fcf835a4b713e58f8080189ed (patch)
tree37a766e4485f4f0e7df90d31a902e1c65e9f5c1a /doc
parenttailwind: Do not use LspAttach method if vim version <= 7 (diff)
Fix reload on au ColorScheme | Check if buffer is valid before attaching
Diffstat (limited to 'doc')
-rw-r--r--doc/colorizer.txt7
-rw-r--r--doc/modules/colorizer.buffer_utils.html18
2 files changed, 25 insertions, 0 deletions
diff --git a/doc/colorizer.txt b/doc/colorizer.txt
index 3dba4d2..05fc8da 100644
--- a/doc/colorizer.txt
+++ b/doc/colorizer.txt
@@ -247,6 +247,8 @@ Helper functions to highlight buffer smartly
LUA API *colorizer.buffer_utils-lua-api*
Functions: ~
+ |clear_hl_cache| - Clean the highlight cache
+
|highlight_buffer| - Highlight the buffer region.
|rehighlight_buffer| - Rehighlight the buffer if colorizer is active
@@ -260,6 +262,11 @@ Fields: ~
`colorizer.attach_to_buffer`.
+clear_hl_cache() *colorizer.buffer_utils.clear_hl_cache*
+ Clean the highlight cache
+
+
+
*colorizer.buffer_utils.highlight_buffer*
highlight_buffer({buf}, {ns}, {lines}, {line_start}, {line_end}, {options},
diff --git a/doc/modules/colorizer.buffer_utils.html b/doc/modules/colorizer.buffer_utils.html
index 315794d..7260c5c 100644
--- a/doc/modules/colorizer.buffer_utils.html
+++ b/doc/modules/colorizer.buffer_utils.html
@@ -62,6 +62,10 @@
<h2><a href="#Functions">Functions</a></h2>
<table class="function_list">
<tr>
+ <td class="name" nowrap><a href="#clear_hl_cache">clear_hl_cache ()</a></td>
+ <td class="summary">Clean the highlight cache</td>
+ </tr>
+ <tr>
<td class="name" nowrap><a href="#highlight_buffer">highlight_buffer (buf, ns, lines, line_start, line_end, options, options_local)</a></td>
<td class="summary">Highlight the buffer region.</td>
</tr>
@@ -93,6 +97,20 @@
<dl class="function">
<dt>
+ <a name = "clear_hl_cache"></a>
+ <strong>clear_hl_cache ()</strong>
+ </dt>
+ <dd>
+ Clean the highlight cache
+
+
+
+
+
+
+
+</dd>
+ <dt>
<a name = "highlight_buffer"></a>
<strong>highlight_buffer (buf, ns, lines, line_start, line_end, options, options_local)</strong>
</dt>