Skip to content

Commit

Permalink
Remove eskk and skkeleton checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jul 3, 2024
1 parent 9112a4e commit 261e97b
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions denops/ddc/context.ts
Original file line number Diff line number Diff line change
Expand Up @@ -363,8 +363,6 @@ async function cacheWorld(denops: Denops, event: DdcEvent): Promise<World> {
bufnr,
changedTick,
cursor,
enabledEskk,
enabledSkkeleton,
iminsert,
isPaste,
lineNr,
Expand All @@ -373,8 +371,6 @@ async function cacheWorld(denops: Denops, event: DdcEvent): Promise<World> {
fn.bufnr(denops),
vars.b.get(denops, "changedtick") as Promise<number>,
fn.getcurpos(denops),
_call(denops, "eskk#is_enabled", false),
_call(denops, "skkeleton#is_enabled", false),
op.iminsert.getLocal(denops),
// NOTE: op.paste is deprecated in neovim
vimOp.paste.get(denops),
Expand Down Expand Up @@ -403,7 +399,7 @@ async function cacheWorld(denops: Denops, event: DdcEvent): Promise<World> {
event,
filetype,
input,
isLmap: !enabledEskk && !enabledSkkeleton && iminsert === 1,
isLmap: iminsert === 1,
isPaste,
lineNr,
mode,
Expand Down

0 comments on commit 261e97b

Please sign in to comment.