diff options
author | Akianonymus <anonymus.aki@gmail.com> | 2022-08-28 12:30:35 +0530 |
---|---|---|
committer | Akianonymus <anonymus.aki@gmail.com> | 2022-09-03 17:24:25 +0530 |
commit | 28b41de2f491ef598197823c04fc7e86ae76a625 (patch) | |
tree | b480ea1c0f58e4802e92a6de9baf26f27b6e855d /plugin | |
parent | feat: Incremental highlight loading (diff) |
fragment | Implement better autocmd management | refactor
add a all_buffers option - colorizer will activate on all buffers, empty or not, still respect filetypes option
handle errors when detach is called multiple times from the same buffer
use bufdelete and bufdelete to remove the autocmds
use a more efficient compile parse_fn function
use custom ldoc template to generate vim help
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/colorizer.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugin/colorizer.lua b/plugin/colorizer.lua index 1e7ea61..979a888 100644 --- a/plugin/colorizer.lua +++ b/plugin/colorizer.lua @@ -8,6 +8,7 @@ command("ColorizerAttachToBuffer", function() require("colorizer").attach_to_buffer(0) end, {}) +-- Stop highlighting the current buffer (detach). command("ColorizerDetachFromBuffer", function() require("colorizer").detach_from_buffer(0) end, {}) |