MCPcopy Create free account
hub / github.com/Exafunction/codeium-chrome / getMode

Function getMode

src/codemirrorLanguages.ts:76–78  ·  view source on GitHub ↗
(doc: CodeMirror.Doc)

Source from the content-addressed store, hash-verified

74]);
75
76function getMode(doc: CodeMirror.Doc): { name: string } {
77 return doc.getMode() as { name: string };
78}
79
80// Note that this cannot be mapped directly into the Language enum.
81export function editorLanguage(doc: CodeMirror.Doc): string {

Callers 2

editorLanguageFunction · 0.85
languageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected