Skip to content

Commit

Permalink
Fix lua file recognization
Browse files Browse the repository at this point in the history
  • Loading branch information
kuuote committed Oct 21, 2023
1 parent aa419de commit 1c36c7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion denops/dpp/dpp.ts
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,7 @@ export class Dpp {
));
for await (const vimrc of inlineVimrcs) {
const vimrcLines = (await Deno.readTextFile(vimrc)).split("\n");
if (extname(vimrc) == "lua") {
if (extname(vimrc) == ".lua") {
stateLines = stateLines.concat(
["lua <<EOF"],
vimrcLines.filter((line) => !line.match(/^\s*$|^\s*--/)),
Expand Down

0 comments on commit 1c36c7b

Please sign in to comment.