From 933c78967a1035362085e2d5f8cedb046c1760a1 Mon Sep 17 00:00:00 2001 From: Benjamin Kane <92759008+bkane-msft@users.noreply.github.com> Date: Fri, 29 Mar 2024 10:31:52 -0700 Subject: [PATCH] README: update lazy.nvim install to include setup function call --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 0f8454cd..dbc91d38 100644 --- a/README.md +++ b/README.md @@ -23,12 +23,11 @@ -- add this to your lua/plugins.lua, lua/plugins/init.lua, or the file you keep your other plugins: { 'numToStr/Comment.nvim', - opts = { - -- add any options here - }, + config = function() + require('Comment').setup() + end, lazy = false, } - ``` - With [packer.nvim](https://github.com/wbthomason/packer.nvim)