Skip to content

Commit

Permalink
Merge pull request #18 from uhooi/patch-1
Browse files Browse the repository at this point in the history
Support Swift
  • Loading branch information
piersolenski authored Dec 7, 2023
2 parents 0270f14 + 465cb27 commit 29823a7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lua/import/languages.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,11 @@ local languages = {
filetypes = { "php" },
extensions = { "php" },
},
{
regex = [[^import\s+(\w+)\s*$]],
filetypes = { "swift" },
extensions = { "swift" },
},
}

return languages

0 comments on commit 29823a7

Please sign in to comment.