diff --git a/lua/import/languages.lua b/lua/import/languages.lua index bdffb08..71e9962 100644 --- a/lua/import/languages.lua +++ b/lua/import/languages.lua @@ -1,4 +1,9 @@ local languages = { + { + regex = [[^(?:source\s+)]], + filetypes = { "sh", "zsh" }, + extensions = { "sh", "zsh" }, + }, { regex = [[(?m)^(?:from[ ]+(\S+)[ ]+)?import[ ]+(\S+)[ ]*$]], filetypes = { "python" },