Skip to content

Commit

Permalink
fix typos of plugins/nuxt-codemirror-plugin.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
takanakahiko committed Oct 8, 2023
1 parent d3b48eb commit a11fdca
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { defineNuxtPlugin } from "#app";
import VueCodemirror from 'vue-codemirror'
import { StreamLanguage } from "@codemirror/language"
import { sparqle } from "@codemirror/legacy-modes/mode/sparql"
import { sparql } from "@codemirror/legacy-modes/mode/sparql"

export default defineNuxtPlugin((nuxtApp) => {
nuxtApp.Vue.use(VueCodemirror, {
extensions: [StreamLanguage.define(sparqle)]
nuxtApp.vueApp.use(VueCodemirror, {
extensions: [StreamLanguage.define(sparql)]
})
});

0 comments on commit a11fdca

Please sign in to comment.