import { autocompletion as r, closeBrackets as i } from "@codemirror/autocomplete";
import { PluginType as e } from "./client.js";
import "solid-js/web";
import "solid-js";
import "@codemirror/state";
import "@codemirror/lang-markdown";
import "@codemirror/language-data";
import "@codemirror/view";
import "@codemirror/language";
import "@codemirror/commands";
import "@lezer/highlight";
const v = (t) => {
  const p = t.plugins.flatMap((o) => o.type === e.Completion ? o.value : []);
  return [
    r({
      defaultKeymap: !0,
      icons: !1,
      override: p,
      optionClass: () => "ink-tooltip-option"
    }),
    i()
  ];
};
export {
  v as autocomplete
};
//# sourceMappingURL=autocomplete-294208a2.js.map
