Skip to content

Commit

Permalink
Guesslang does not support Vue
Browse files Browse the repository at this point in the history
  • Loading branch information
heyman committed Jul 14, 2024
1 parent c870a48 commit 6ec20ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion public/langdetect-worker.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
importScripts("guesslang.min.js")

GUESSLANG_LANGUAGES = ["json","py","html","sql","md","java","php","css","xml","cpp","rs","cs","rb","sh","yaml","toml","go","clj","erl","js","ts","swift","kt","groovy","ps1","vue"]
GUESSLANG_LANGUAGES = ["json","py","html","sql","md","java","php","css","xml","cpp","rs","cs","rb","sh","yaml","toml","go","clj","erl","js","ts","swift","kt","groovy","ps1"]

const guessLang = new self.GuessLang()

Expand Down
2 changes: 1 addition & 1 deletion src/editor/languages.js
Original file line number Diff line number Diff line change
Expand Up @@ -258,7 +258,7 @@ export const LANGUAGES = [
token: "vue",
name: "Vue",
parser: vueLanguage.parser,
guesslang: "vue",
guesslang: null,
}),
]

Expand Down

0 comments on commit 6ec20ee

Please sign in to comment.