Skip to content

Commit

Permalink
Add YAML support in QueryEditor (#3395)
Browse files Browse the repository at this point in the history
  • Loading branch information
arikfr authored Feb 5, 2019
1 parent 5b62883 commit 1385593
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions client/app/components/QueryEditor.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import 'brace/ext/language_tools';
import 'brace/mode/json';
import 'brace/mode/python';
import 'brace/mode/sql';
import 'brace/mode/yaml';
import 'brace/theme/textmate';
import 'brace/ext/searchbox';

Expand Down Expand Up @@ -40,6 +41,7 @@ function defineDummySnippets(mode) {
defineDummySnippets('python');
defineDummySnippets('sql');
defineDummySnippets('json');
defineDummySnippets('yaml');

class QueryEditor extends React.Component {
static propTypes = {
Expand Down

0 comments on commit 1385593

Please sign in to comment.