diff options
| author | christianchiarulli <[email protected]> | 2021-07-07 00:05:30 -0400 | 
|---|---|---|
| committer | christianchiarulli <[email protected]> | 2021-07-07 00:05:30 -0400 | 
| commit | e9ea970099387d1f3582f80478f2f7a3ce835954 (patch) | |
| tree | 59d7c93f470e0af29fe753f58de646d563ade14e | |
| parent | 000920beaad3f64f6b9dfce6f131857267cebc47 (diff) | |
comment toggle on bufread
| -rw-r--r-- | lua/plugins.lua | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/lua/plugins.lua b/lua/plugins.lua index 8793bff9..25f968c4 100644 --- a/lua/plugins.lua +++ b/lua/plugins.lua @@ -94,7 +94,8 @@ return require("packer").startup(function(use)    -- Comments    use {      "terrortylor/nvim-comment", -    cmd = "CommentToggle", +    event = "BufRead", +    -- cmd = "CommentToggle",      config = function()        local status_ok, nvim_comment = pcall(require, "nvim_comment")        if not status_ok then | 
