diff --git a/batch/mod.ts b/batch/mod.ts index c4a28127..67d092fb 100644 --- a/batch/mod.ts +++ b/batch/mod.ts @@ -6,7 +6,7 @@ * import { batch, collect } from "jsr:@denops/std/batch"; * * export const main: Entrypoint = async (denops) => { - * // Call multiple denops functions sequentially in a signle RPC call + * // Call multiple denops functions sequentially in a single RPC call * await batch(denops, async (denops) => { * await denops.cmd("setlocal modifiable"); * await denops.cmd("setlocal noswap"); diff --git a/buffer/decoration_test.ts b/buffer/decoration_test.ts index 5e4402ed..4594c7f1 100644 --- a/buffer/decoration_test.ts +++ b/buffer/decoration_test.ts @@ -66,7 +66,7 @@ test({ type_bufnr: 0, }]); - // Re-appling the same decorations is OK + // Re-applying the same decorations is OK await decorate(denops, bufnr, [ { line: 1, diff --git a/bufname/bufname.ts b/bufname/bufname.ts index 9cb9ff50..1586751d 100644 --- a/bufname/bufname.ts +++ b/bufname/bufname.ts @@ -54,7 +54,7 @@ export interface Bufname { */ expr: string; /** - * Params part of a buffer name. While '?' is not supported, the params part are splitted by ';' instead. + * Params part of a buffer name. While '?' is not supported, the params part are split by ';' instead. */ params?: BufnameParams; /** @@ -64,7 +64,7 @@ export interface Bufname { } // Vim only supports alphabet characters in the scheme part of a buffer name. -// That behavior has slightly improved from Vim 8.2.3153 but we suppor Vim 8.2.0662 +// That behavior has slightly improved from Vim 8.2.3153 but we support Vim 8.2.0662 // thus we need to stack old behavior // https://github.com/vim/vim/pull/8299 const schemeUnusablePattern = /[^a-zA-Z]/; diff --git a/helper/keymap.ts b/helper/keymap.ts index fd47bd20..297d4d99 100644 --- a/helper/keymap.ts +++ b/helper/keymap.ts @@ -52,7 +52,7 @@ function toKeys(keys: KeysSpecifier): Keys { * // "baz" * console.log(await fn.getline(denops, ".")); * - * // Send remaped keys. + * // Send remapped keys. * await send(denops, { keys: rawString`\`, remap: true }); * // "bazsend" * console.log(await fn.getline(denops, ".")); diff --git a/lambda/mod_test.ts b/lambda/mod_test.ts index e539fad3..0e512824 100644 --- a/lambda/mod_test.ts +++ b/lambda/mod_test.ts @@ -390,7 +390,7 @@ test({ "The method is unregistered", ); }); - await t.step("is diposable", async () => { + await t.step("is disposable", async () => { // Unregister all methods denops.dispatcher = {}; const fn = spy(returnsNext(["foo"])); diff --git a/option/_generated_test.ts b/option/_generated_test.ts index 2471a4c0..a2b3aba4 100644 --- a/option/_generated_test.ts +++ b/option/_generated_test.ts @@ -18,7 +18,7 @@ test({ }, }); await t.step({ - name: "dictionary.get() return the defautValue when the option is empty", + name: "dictionary.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set dictionary&"); assertEquals(await _generated.dictionary.get(denops), ""); @@ -54,7 +54,7 @@ test({ }); await t.step({ name: - "dictionary.getGlobal() return the defautValue when the option is empty", + "dictionary.getGlobal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal dictionary&"); await denops.cmd("setlocal dictionary=hello"); @@ -92,7 +92,7 @@ test({ }); await t.step({ name: - "dictionary.getLocal() return the defautValue when the option is empty", + "dictionary.getLocal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal dictionary=hello"); await denops.cmd("setlocal dictionary&"); @@ -140,7 +140,7 @@ test({ }); await t.step({ name: - "dictionary.getBuffer() return the defautValue when the option is empty", + "dictionary.getBuffer() return the defaultValue when the option is empty", fn: async () => { try { const bufnr = await denops.call("bufnr") as number; @@ -196,7 +196,7 @@ test({ }); await t.step({ name: - "colorcolumn.getWindow() return the defautValue when the option is empty", + "colorcolumn.getWindow() return the defaultValue when the option is empty", fn: async () => { try { await denops.cmd("setlocal colorcolumn&"); @@ -241,7 +241,7 @@ test({ }, }); await t.step({ - name: "undolevels.get() return the defautValue when the option is empty", + name: "undolevels.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set undolevels&"); assertEquals(await _generated.undolevels.get(denops), 1000); @@ -274,7 +274,7 @@ test({ }); await t.step({ name: - "undolevels.getGlobal() return the defautValue when the option is empty", + "undolevels.getGlobal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal undolevels&"); await denops.cmd("setlocal undolevels=123"); @@ -312,7 +312,7 @@ test({ }); await t.step({ name: - "undolevels.getLocal() return the defautValue when the option is empty", + "undolevels.getLocal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal undolevels=123"); await denops.cmd("setlocal undolevels&"); @@ -360,7 +360,7 @@ test({ }); await t.step({ name: - "undolevels.getBuffer() return the defautValue when the option is empty", + "undolevels.getBuffer() return the defaultValue when the option is empty", fn: async () => { try { const bufnr = await denops.call("bufnr") as number; @@ -413,7 +413,7 @@ test({ }); await t.step({ name: - "foldlevel.getWindow() return the defautValue when the option is empty", + "foldlevel.getWindow() return the defaultValue when the option is empty", fn: async () => { try { await denops.cmd("setlocal foldlevel&"); @@ -455,7 +455,7 @@ test({ }, }); await t.step({ - name: "autoread.get() return the defautValue when the option is empty", + name: "autoread.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set autoread&"); if (await denops.call("has", "nvim")) { @@ -496,7 +496,7 @@ test({ }); await t.step({ name: - "autoread.getGlobal() return the defautValue when the option is empty", + "autoread.getGlobal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal autoread&"); await denops.cmd("setlocal autoread& autoread!"); @@ -543,7 +543,7 @@ test({ }); await t.step({ name: - "autoread.getLocal() return the defautValue when the option is empty", + "autoread.getLocal() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("setglobal autoread& autoread!"); await denops.cmd("setlocal autoread&"); @@ -600,7 +600,7 @@ test({ }); await t.step({ name: - "autoread.getBuffer() return the defautValue when the option is empty", + "autoread.getBuffer() return the defaultValue when the option is empty", fn: async () => { try { const bufnr = await denops.call("bufnr") as number; @@ -656,7 +656,7 @@ test({ }, }); await t.step({ - name: "list.getWindow() return the defautValue when the option is empty", + name: "list.getWindow() return the defaultValue when the option is empty", fn: async () => { try { await denops.cmd("setlocal list&"); diff --git a/popup/mod.ts b/popup/mod.ts index ea14518d..23a2943e 100644 --- a/popup/mod.ts +++ b/popup/mod.ts @@ -30,7 +30,7 @@ * title: "Hello, world!", * }); * - * // Wiat 3 seconds + * // Wait 3 seconds * await new Promise((resolve) => setTimeout(resolve, 3000)); * * // Close the popup window @@ -64,7 +64,7 @@ * col: 1, * }); * - * // Wiat 3 seconds + * // Wait 3 seconds * await new Promise((resolve) => setTimeout(resolve, 3000)); * * // The popup window is automatically closed, due to `await using` statement diff --git a/variable/option_test.ts b/variable/option_test.ts index b33f343f..6580cadd 100644 --- a/variable/option_test.ts +++ b/variable/option_test.ts @@ -18,7 +18,7 @@ test({ }, }); await t.step({ - name: "options.get() return the defautValue when the option is empty", + name: "options.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set filetype&"); const result = await options.get( @@ -66,7 +66,7 @@ test({ }); await t.step({ name: - "localOptions.get() return the defautValue when the option is empty", + "localOptions.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set filetype&"); const result = await localOptions.get( @@ -114,7 +114,7 @@ test({ }); await t.step({ name: - "globalOptions.get() return the defautValue when the option is empty", + "globalOptions.get() return the defaultValue when the option is empty", fn: async () => { await denops.cmd("set filetype&"); const result = await globalOptions.get(