Skip to content

Commit 926d470

Browse files
authored
docs: fix typo in props table (#41) [skip ci]
- Consolidate duplicate parameter - Fix typo in documentation by @rosano
1 parent 4c8cde6 commit 926d470

File tree

1 file changed

+10
-11
lines changed

1 file changed

+10
-11
lines changed

README.md

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -52,21 +52,20 @@ To use `svelte-codemirror-editor`, you need to import the package and use it as
5252
| `lineWrapping` | `boolean` | Whether to wrap lines in the editor or not. | `false` |
5353
| `lineNumbers` | `boolean` | Whether to show line numbers or not. | `true` |
5454
| `highlight` | `object` | Hightlighting options. | `{}` |
55-
| `history` | `boolean` | `object` | Enable/Disable and/or configure history. | `true` |
56-
| `foldGutter` | `boolean` | `object` | Enable/disable and/or configure fold gutter. | `true` |
57-
| `drawSelection` | `boolean` | `object` | Enable/disable and/or configure draw selection. | `true` |
55+
| `history` | `boolean` \| `object` | Enable/Disable and/or configure history. | `true` |
56+
| `foldGutter` | `boolean` \| `object` | Enable/disable and/or configure fold gutter. | `true` |
57+
| `drawSelection` | `boolean` \| `object` | Enable/disable and/or configure draw selection. | `true` |
5858
| `dropCursor` | `boolean` | Whether to show the drop cursor. | `true` |
59-
| `lineNumbers` | `boolean` | Whether to indent on input. | `true` |
60-
| `syntaxHighlighting` | `boolean` | `object` | Enable/disable and/or configure syntax highlighting. | `true` |
61-
| `bracketMatching` | `boolean` | `object` | Enable/disable and/or configure bracket matching. | `true` |
59+
| `indentOnInput` | `boolean` | Whether to indent on input. | `true` |
60+
| `syntaxHighlighting` | `boolean` \| `object` | Enable/disable and/or configure syntax highlighting. | `true` |
61+
| `bracketMatching` | `boolean` \| `object` | Enable/disable and/or configure bracket matching. | `true` |
6262
| `closeBrackets` | `boolean` | Whether to close brackets automatically. | `true` |
63-
| `autocompletion` | `boolean` | `object` | Enable/disable and/or configure autocompletion. | `true` |
64-
| `rectangularSelection` | `boolean` | `object` | Enable/disable and/or configure rectangular selection. | `true` |
65-
| `crosshairCursor` | `boolean` | `object` | Enable/disable and/or configure crosshair cursor. | `true` |
63+
| `autocompletion` | `boolean` \| `object` | Enable/disable and/or configure autocompletion. | `true` |
64+
| `rectangularSelection` | `boolean` \| `object` | Enable/disable and/or configure rectangular selection. | `true` |
65+
| `crosshairCursor` | `boolean` \| `object` | Enable/disable and/or configure crosshair cursor. | `true` |
6666
| `placeholder` | `string` | The placeholder text or element to show when the editor is empty. | `undefined` |
67-
| `nodebounce` | `boolean` | Whether to stop debouncing value updates. | `false` |
67+
| `nodebounce` | `boolean` | Disable onchange debounce for value updates. (may impact performance) | `false` |
6868
| `styles` | `ThemeSpec` | In-place theme configuration. _See exemple below_. | `undefined` |
69-
| `nodebounce` | `boolean` | Disable onchange debounce (warning: impact performance). | `false` |
7069

7170
## Events
7271

0 commit comments

Comments
 (0)