adding delete as a keyword

pull/3533/head
lianahus 2 years ago committed by Aniket
parent 771c0bda67
commit fba36a6a81
  1. 3
      libs/remix-ui/editor/src/lib/remix-ui-editor.tsx
  2. 1
      libs/remix-ui/editor/src/lib/syntaxes/solidity.ts

@ -12,8 +12,6 @@ import { monacoTypes } from '@remix-ui/editor';
import './remix-ui-editor.css'
import { loadTypes } from './web-types'
import { RemixHoverProvider } from './providers/hoverProvider'
import { RemixReferenceProvider } from './providers/referenceProvider'
import { RemixCompletionProvider } from './providers/completionProvider'
@ -262,6 +260,7 @@ export const EditorUI = (props: EditorUIProps) => {
{ token: 'keyword.continue', foreground: warningColor },
{ token: 'keyword.while', foreground: warningColor },
{ token: 'keyword.do', foreground: warningColor },
{ token: 'keyword.delete', foreground: warningColor },
{ token: 'keyword.if', foreground: yellowColor },
{ token: 'keyword.else', foreground: yellowColor },

@ -1266,6 +1266,7 @@ export const solidityTokensProvider = {
'constant',
'fallback',
'receive',
'delete',
'if',
'else',
'for',

Loading…
Cancel
Save