/**
 * JSON language support for CodeMirror 6
 * Wraps @codemirror/lang-json
 */

import { json as cmJson } from '@codemirror/lang-json'
import { type LanguageSupport } from '@codemirror/language'

/** JSON language support for CodeMirror */
export function json(): LanguageSupport {
  return cmJson()
}
