Skip to content

Commit

Permalink
Add bash
Browse files Browse the repository at this point in the history
  • Loading branch information
piersolenski committed Nov 4, 2023
1 parent 49cc693 commit e6b66fb
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
@@ -1,4 +1,9 @@
local languages = {
{
regex = [[^(?:source\s+)]],
filetypes = { "sh", "zsh" },
extensions = { "sh", "zsh" },
},
{
regex = [[(?m)^(?:from[ ]+(\S+)[ ]+)?import[ ]+(\S+)[ ]*$]],
filetypes = { "python" },
Expand Down

0 comments on commit e6b66fb

Please sign in to comment.