Skip to content

Commit

Permalink
Merge pull request #207 from vim-skk/fix_encoding
Browse files Browse the repository at this point in the history
Fix encoding error
  • Loading branch information
kuuote authored Sep 15, 2024
2 parents 1cfb8fd + a38b56e commit 89f79bd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion denops/skkeleton/sources/skk_server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,9 @@ import {
import { getKanaTable } from "../kana.ts";
import { Encode } from "../types.ts";
import type { CompletionData, Encoding, SkkServerOptions } from "../types.ts";
import * as encoding from "npm:[email protected]";

// NOTE: import * as encoding does not work!
import encoding from "npm:[email protected]";

import { TextLineStream } from "jsr:@std/streams@~1.0.3/text-line-stream";

Expand Down
2 changes: 2 additions & 0 deletions denops/skkeleton/util.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { Denops, fn, op } from "./deps.ts";

// NOTE: import * as encoding does not work!
import encoding from "npm:[email protected]";

import { basename } from "jsr:@std/path@~1.0.3/basename";
Expand Down

0 comments on commit 89f79bd

Please sign in to comment.