From 973f223d9ced6e40b32a785378daf1bf3f953e1a Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 17 May 2024 23:03:08 -0500 Subject: [PATCH] docs: update README setup example --- README.md | 17 ++++++++++++++++- 1 file changed, 16 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 332536b..cf9de0c 100644 --- a/README.md +++ b/README.md @@ -37,7 +37,22 @@ Before Input After Requires `Nvim 0.9.0` and up. ```lua -require('nvim-ts-autotag').setup() +require('nvim-ts-autotag').setup({ + opts = { + -- Defaults + enable_close = true, -- Auto close tags + enable_rename = true, -- Auto rename pairs of tags + enable_close_on_slash = false -- Auto close on trailing [!CAUTION]