Skip to content

Commit

Permalink
Fix format
Browse files Browse the repository at this point in the history
  • Loading branch information
Shougo committed Jan 23, 2024
1 parent ca7512e commit f3ca6c9
Showing 1 changed file with 27 additions and 15 deletions.
42 changes: 27 additions & 15 deletions denops/dpp/dpp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,7 @@ export class Dpp {
stateLines = stateLines.concat(
["lua <<EOF"],
vimrcLines.filter((line) => !line.match(/^\s*$|^\s*--/)),
["EOF"],
["EOF"],
);
}
} else {
Expand Down Expand Up @@ -804,12 +804,16 @@ async function detectPlugin(

Deno.test("initPlugin", () => {
assertEquals(
initPlugin({
name: "foo",
rev: "[hoge]",
script_type: "foo",
rtp: "autoload",
}, "base", false),
initPlugin(
{
name: "foo",
rev: "[hoge]",
script_type: "foo",
rtp: "autoload",
},
"base",
false,
),
{
name: "foo",
path: "base/repos/foo__hoge_/foo",
Expand All @@ -824,10 +828,14 @@ Deno.test("initPlugin", () => {

// lazy
assertEquals(
initPlugin({
name: "foo",
on_ft: "foo",
}, "base", false),
initPlugin(
{
name: "foo",
on_ft: "foo",
},
"base",
false,
),
{
name: "foo",
path: "base/repos/foo",
Expand All @@ -841,10 +849,14 @@ Deno.test("initPlugin", () => {

// hooks
assertEquals(
initPlugin({
name: "foo",
lua_add: "foo",
}, "base", true),
initPlugin(
{
name: "foo",
lua_add: "foo",
},
"base",
true,
),
{
name: "foo",
path: "base/repos/foo",
Expand Down

0 comments on commit f3ca6c9

Please sign in to comment.