diff options
author | Akianonymus <anonymus.aki@gmail.com> | 2022-09-09 09:51:23 +0530 |
---|---|---|
committer | Akianonymus <anonymus.aki@gmail.com> | 2022-09-09 09:51:23 +0530 |
commit | a9aacd33ce50961fcf835a4b713e58f8080189ed (patch) | |
tree | 37a766e4485f4f0e7df90d31a902e1c65e9f5c1a /doc/colorizer.txt | |
parent | tailwind: 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/colorizer.txt')
-rw-r--r-- | doc/colorizer.txt | 7 |
1 files changed, 7 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}, |