mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-22 15:24:55 +00:00
Disable word-based suggestions in CodeEditor
This commit is contained in:
parent
9a09b6562d
commit
fad319016b
@ -160,7 +160,7 @@ const CodeEditor: FunctionComponent<ComponentProps> = (
|
||||
showFoldingControls: 'mouseover',
|
||||
smoothScrolling: false,
|
||||
suggestOnTriggerCharacters: true,
|
||||
wordBasedSuggestions: true,
|
||||
wordBasedSuggestions: 'off',
|
||||
wordSeparators: '~!@#$%^&*()-=+[{]}|;:\'",.<>/?',
|
||||
wordWrap: props.type === CodeType.Markdown ? 'on' : 'off',
|
||||
wordWrapBreakAfterCharacters: '\t})]?|&,;',
|
||||
|
Loading…
Reference in New Issue
Block a user