diff options
Diffstat (limited to 'doc')
-rw-r--r-- | doc/colorizer.txt | 8 | ||||
-rw-r--r-- | doc/index.html | 2 | ||||
-rw-r--r-- | doc/modules/colorizer.buffer_utils.html | 16 | ||||
-rw-r--r-- | doc/modules/colorizer.color_utils.html | 2 | ||||
-rw-r--r-- | doc/modules/colorizer.html | 2 | ||||
-rw-r--r-- | doc/modules/colorizer.matcher_utils.html | 2 | ||||
-rw-r--r-- | doc/modules/colorizer.trie.html | 2 | ||||
-rw-r--r-- | doc/modules/utils.html | 2 |
8 files changed, 23 insertions, 13 deletions
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 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 @@ <h2><a href="#Functions">Functions</a></h2> <table class="function_list"> <tr> - <td class="name" nowrap><a href="#highlight_buffer">highlight_buffer (buf, ns, lines, line_start, options, options_local)</a></td> + <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> <tr> - <td class="name" nowrap><a href="#rehighlight_buffer">rehighlight_buffer (buf, options, options_local)</a></td> + <td class="name" nowrap><a href="#rehighlight_buffer">rehighlight_buffer (buf, options, options_local, use_local_lines)</a></td> <td class="summary">Rehighlight the buffer if colorizer is active</td> </tr> </table> @@ -94,7 +94,7 @@ <dl class="function"> <dt> <a name = "highlight_buffer"></a> - <strong>highlight_buffer (buf, ns, lines, line_start, options, options_local)</strong> + <strong>highlight_buffer (buf, ns, lines, line_start, line_end, options, options_local)</strong> </dt> <dd> Highlight the buffer region. @@ -116,6 +116,9 @@ <li><span class="parameter">line_start</span> number: line_start should be 0-indexed </li> + <li><span class="parameter">line_end</span> + number: Last line to highlight + </li> <li><span class="parameter">options</span> table: Configuration options as described in <code>setup</code> </li> @@ -136,7 +139,7 @@ </dd> <dt> <a name = "rehighlight_buffer"></a> - <strong>rehighlight_buffer (buf, options, options_local)</strong> + <strong>rehighlight_buffer (buf, options, options_local, use_local_lines)</strong> </dt> <dd> Rehighlight the buffer if colorizer is active @@ -153,6 +156,9 @@ <li><span class="parameter">options_local</span> table|nil: Buffer local variables </li> + <li><span class="parameter">use_local_lines</span> + boolean|nil Whether to use lines num range from options_local + </li> </ul> <h3>Returns:</h3> @@ -231,7 +237,7 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> 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 @@ </div> <!-- id="main" --> <div id="about"> <i>generated by <a href="http://github.com/stevedonovan/LDoc">LDoc 1.4.6</a></i> -<i style="float:right;">Last updated 2022-09-07 11:26:36 </i> +<i style="float:right;">Last updated - September </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> |