diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/colorizer.txt | 7 | ||||
-rw-r--r-- | doc/modules/colorizer.buffer_utils.html | 18 |
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> |