Skip to content
This repository was archived by the owner on May 23, 2025. It is now read-only.

Commit 06a3e97

Browse files
author
Cristhian Melo
committed
chore: update readme
1 parent 1d7981b commit 06a3e97

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

README.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,8 @@ Install using your favorite package manager for Neovim. For example, using [lazy
2525
event = "BufReadPost",
2626
dependencies = {
2727
"nvim-lua/plenary.nvim",
28-
},
29-
config = function()
30-
require("template-string").setup()
31-
end,
28+
"nvim-treesitter/nvim-treesitter",
29+
}
3230
}
3331
```
3432

@@ -53,19 +51,6 @@ const props = {
5351
<Test greeting={`Hello, ${props.name}!`} />;
5452
```
5553

56-
## Configuration
57-
58-
The `setup` function accepts an optional configuration object with the following options:
59-
60-
- **jsx_brackets** `boolean | nil`: Enable/disable wrapping template literals with `{``}` inside JSX/TSX components. Defaults to `true` if not provided.
61-
62-
```lua
63-
-- Default configuration
64-
require('template-string').setup({
65-
jsx_brackets = true, -- Wrap template literals with {``} inside JSX/TSX components
66-
})
67-
```
68-
6954
## License
7055

7156
This plugin is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.

0 commit comments

Comments
 (0)