File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -94,9 +94,11 @@ export const createEditor = async (options: EditorOptions): Promise<CodeEditor>
9494 ? 'csharp'
9595 : language . startsWith ( 'vue' )
9696 ? 'vue'
97- : [ 'svelte' , 'malina' , 'riot' ] . includes ( language )
98- ? ( 'razor' as Language ) // avoid mixing code between markup & script editors when formatting
99- : mapLanguage ( language ) ;
97+ : language === 'ripple'
98+ ? 'ripple'
99+ : [ 'svelte' , 'malina' , 'riot' ] . includes ( language )
100+ ? ( 'razor' as Language ) // avoid mixing code between markup & script editors when formatting
101+ : mapLanguage ( language ) ;
100102
101103 try {
102104 ( window as any ) . monaco = ( window as any ) . monaco || ( await loadMonaco ( ) ) . monaco ;
Original file line number Diff line number Diff line change @@ -27,4 +27,5 @@ export const ripple: LanguageSpecs = {
2727 } ,
2828 extensions : [ 'ripple' ] ,
2929 editor : 'script' ,
30+ editorLanguage : 'jsx' ,
3031} ;
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ export const postcssImportUrlUrl = /* @__PURE__ */ getUrl(
344344export const prettierBaseUrl = /* @__PURE__ */ getUrl ( 'prettier@3.3.2/' ) ;
345345
346346export const prettierRippleUrl = /* @__PURE__ */ getUrl (
347- '@hatemhosny/prettier-plugin-ripple@0.0.3 /build/parser-ripple.js' ,
347+ '@hatemhosny/prettier-plugin-ripple@0.0.5 /build/parser-ripple.js' ,
348348) ;
349349
350350export const prettierPhpUrl = /* @__PURE__ */ getUrl ( '@prettier/plugin-php@0.22.2/standalone.js' ) ;
@@ -401,7 +401,7 @@ export const resetCssUrl = /* @__PURE__ */ getUrl('reset-css@5.0.1/reset.css');
401401
402402export const riotBaseUrl = /* @__PURE__ */ getUrl ( 'riot@9.2.2/' ) ;
403403
404- export const rippleUrl = /* @__PURE__ */ getModuleUrl ( 'ripple@0.2.7 /compiler' ) ; // TODO: pin version
404+ export const rippleUrl = /* @__PURE__ */ getModuleUrl ( 'ripple@0.2.12 /compiler' ) ; // TODO: pin version
405405
406406export const rubyWasmBaseUrl = /* @__PURE__ */ getUrl ( '@ruby/3.3-wasm-wasi@2.6.2/dist/' ) ;
407407
You can’t perform that action at this time.
0 commit comments