Skip to content

Commit

Permalink
fix(impala): update review comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LuckyFBB committed Dec 8, 2023
1 parent a80f853 commit 84e2bf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/impalasql/impalaSQLWorker.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { worker } from '../fillers/monaco-editor-core';
import ImpalaSQL from 'dt-sql-parser/dist/parser/impala';
import { BaseSQLWorker } from '../baseSQLWorker';
import { ICreateData } from 'src/_.contribution';
import { ICreateData } from '../_.contribution';

export class ImpalaSQLWorker extends BaseSQLWorker {
protected _ctx: worker.IWorkerContext;
Expand Down
3 changes: 1 addition & 2 deletions src/impalasql/impalasql.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,7 @@ export const language = <languages.IMonarchLanguage>{
ignoreCase: true,
brackets: [
{ open: '[', close: ']', token: TokenClassConsts.DELIMITER_SQUARE },
{ open: '(', close: ')', token: TokenClassConsts.DELIMITER_PAREN },
{ open: '{', close: '}', token: TokenClassConsts.DELIMITER_CURLY }
{ open: '(', close: ')', token: TokenClassConsts.DELIMITER_PAREN }
],
keywords: [
'ADD',
Expand Down
2 changes: 1 addition & 1 deletion src/impalasql/impalasql.worker.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { worker } from '../fillers/monaco-editor-core';
import * as EditorWorker from 'monaco-editor/esm/vs/editor/editor.worker.js';
import { ImpalaSQLWorker } from './impalaSQLWorker';
import { ICreateData } from 'src/_.contribution';
import { ICreateData } from '../_.contribution';

self.onmessage = (e: any) => {
EditorWorker.initialize((ctx: worker.IWorkerContext, createData: ICreateData) => {
Expand Down

0 comments on commit 84e2bf1

Please sign in to comment.