diff options
author | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-10-18 09:43:18 -0700 |
---|---|---|
committer | Ashkan Kiani <ashkan.k.kiani@gmail.com> | 2019-10-18 09:43:18 -0700 |
commit | 615e32c94fdb4c83f06b65902f10434a1bd0d495 (patch) | |
tree | 92f0c49305f3b1fab635d37d07e03cc793e62d0c /doc/modules/colorizer.html | |
parent | Update with fully qualified settings and commands. (diff) |
Update docs and luadocs
Diffstat (limited to 'doc/modules/colorizer.html')
-rw-r--r-- | doc/modules/colorizer.html | 89 |
1 files changed, 82 insertions, 7 deletions
diff --git a/doc/modules/colorizer.html b/doc/modules/colorizer.html index adce131..e02d18a 100644 --- a/doc/modules/colorizer.html +++ b/doc/modules/colorizer.html @@ -40,6 +40,7 @@ <h2>Modules</h2> <ul class="nowrap"> <li><strong>colorizer</strong></li> + <li><a href="../modules/nvim.html">nvim</a></li> <li><a href="../modules/trie.html">trie</a></li> </ul> @@ -55,17 +56,29 @@ <h2><a href="#Functions">Functions</a></h2> <table class="function_list"> <tr> - <td class="name" nowrap><a href="#highlight_buffer">highlight_buffer (buf[, ns=DEFAULT_NAMESPACE], lines, line_start[, options])</a></td> + <td class="name" nowrap><a href="#highlight_buffer">highlight_buffer (buf[, ns=DEFAULT_NAMESPACE], lines, line_start, options)</a></td> <td class="summary">Highlight the buffer region.</td> </tr> <tr> - <td class="name" nowrap><a href="#attach_to_buffer">attach_to_buffer ([buf=0[, options]])</a></td> + <td class="name" nowrap><a href="#attach_to_buffer">attach_to_buffer ([buf=0|nil[, options]])</a></td> <td class="summary">Attach to a buffer and continuously highlight changes.</td> </tr> <tr> + <td class="name" nowrap><a href="#detach_from_buffer">detach_from_buffer ([buf=0|nil[, ns=DEFAULT_NAMESPACE]])</a></td> + <td class="summary">Stop highlighting the current buffer.</td> + </tr> + <tr> <td class="name" nowrap><a href="#setup">setup ([filetypes={'*'}[, default_options]])</a></td> <td class="summary">Easy to use function if you want the full setup without fine grained control.</td> </tr> + <tr> + <td class="name" nowrap><a href="#reload_all_buffers">reload_all_buffers ()</a></td> + <td class="summary">Reload all of the currently active highlighted buffers.</td> + </tr> + <tr> + <td class="name" nowrap><a href="#get_buffer_options">get_buffer_options ([buf=0|nil])</a></td> + <td class="summary">Return the currently active buffer options.</td> + </tr> </table> <h2><a href="#Fields">Fields</a></h2> <table class="function_list"> @@ -84,7 +97,7 @@ <dl class="function"> <dt> <a name = "highlight_buffer"></a> - <strong>highlight_buffer (buf[, ns=DEFAULT_NAMESPACE], lines, line_start[, options])</strong> + <strong>highlight_buffer (buf[, ns=DEFAULT_NAMESPACE], lines, line_start, options)</strong> </dt> <dd> Highlight the buffer region. @@ -114,7 +127,6 @@ buffer `buf` and attach it to the namespace `ns`. </li> <li><span class="parameter">options</span> Configuration options as described in `setup` - (<em>optional</em>) </li> </ul> @@ -129,7 +141,7 @@ buffer `buf` and attach it to the namespace `ns`. </dd> <dt> <a name = "attach_to_buffer"></a> - <strong>attach_to_buffer ([buf=0[, options]])</strong> + <strong>attach_to_buffer ([buf=0|nil[, options]])</strong> </dt> <dd> Attach to a buffer and continuously highlight changes. @@ -140,7 +152,7 @@ buffer `buf` and attach it to the namespace `ns`. <li><span class="parameter">buf</span> <span class="types"><span class="type">integer</span></span> A value of 0 implies the current buffer. - (<em>default</em> 0) + (<em>default</em> 0|nil) </li> <li><span class="parameter">options</span> Configuration options as described in `setup` @@ -158,6 +170,33 @@ buffer `buf` and attach it to the namespace `ns`. </dd> <dt> + <a name = "detach_from_buffer"></a> + <strong>detach_from_buffer ([buf=0|nil[, ns=DEFAULT_NAMESPACE]])</strong> + </dt> + <dd> + Stop highlighting the current buffer. + + + <h3>Parameters:</h3> + <ul> + <li><span class="parameter">buf</span> + <span class="types"><span class="type">integer</span></span> + A value of 0 or nil implies the current buffer. + (<em>default</em> 0|nil) + </li> + <li><span class="parameter">ns</span> + <span class="types"><span class="type">integer</span></span> + the namespace id. + (<em>default</em> DEFAULT_NAMESPACE) + </li> + </ul> + + + + + +</dd> + <dt> <a name = "setup"></a> <strong>setup ([filetypes={'*'}[, default_options]])</strong> </dt> @@ -199,6 +238,42 @@ buffer `buf` and attach it to the namespace `ns`. </ul> </dd> + <dt> + <a name = "reload_all_buffers"></a> + <strong>reload_all_buffers ()</strong> + </dt> + <dd> + Reload all of the currently active highlighted buffers. + + + + + + + +</dd> + <dt> + <a name = "get_buffer_options"></a> + <strong>get_buffer_options ([buf=0|nil])</strong> + </dt> + <dd> + Return the currently active buffer options. + + + <h3>Parameters:</h3> + <ul> + <li><span class="parameter">buf</span> + <span class="types"><span class="type">integer</span></span> + A value of 0 or nil implies the current buffer. + (<em>default</em> 0|nil) + </li> + </ul> + + + + + +</dd> </dl> <h2 class="section-header "><a name="Fields"></a>Fields</h2> @@ -230,7 +305,7 @@ buffer `buf` and attach it to the namespace `ns`. </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 2019-10-17 16:25:49 </i> +<i style="float:right;">Last updated 2019-10-18 09:40:19 </i> </div> <!-- id="about" --> </div> <!-- id="container" --> </body> |