| 27 | import { lintKeymap } from '@codemirror/lint'; |
| 28 | |
| 29 | export interface BasicSetupOptions extends MinimalSetupOptions { |
| 30 | lineNumbers?: boolean; |
| 31 | highlightActiveLineGutter?: boolean; |
| 32 | foldGutter?: boolean; |
| 33 | dropCursor?: boolean; |
| 34 | allowMultipleSelections?: boolean; |
| 35 | indentOnInput?: boolean; |
| 36 | bracketMatching?: boolean; |
| 37 | closeBrackets?: boolean; |
| 38 | autocompletion?: boolean; |
| 39 | rectangularSelection?: boolean; |
| 40 | crosshairCursor?: boolean; |
| 41 | highlightActiveLine?: boolean; |
| 42 | highlightSelectionMatches?: boolean; |
| 43 | |
| 44 | closeBracketsKeymap?: boolean; |
| 45 | searchKeymap?: boolean; |
| 46 | foldKeymap?: boolean; |
| 47 | completionKeymap?: boolean; |
| 48 | lintKeymap?: boolean; |
| 49 | /** |
| 50 | * Facet for overriding the unit by which indentation happens. Should be a string consisting either entirely of spaces or entirely of tabs. When not set, this defaults to 2 spaces |
| 51 | * https://codemirror.net/docs/ref/#language.indentUnit |
| 52 | * @default 2 |
| 53 | */ |
| 54 | tabSize?: number; |
| 55 | } |
| 56 | |
| 57 | /** |
| 58 | This is an extension value that just pulls together a number of |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…