mirror of
https://github.com/zyedidia/micro.git
synced 2026-03-24 17:50:15 +09:00
Add linter plugin support
This commit is contained in:
@@ -57,7 +57,7 @@ func Import(pkg string) *lua.LTable {
|
||||
return importRuntime()
|
||||
case "path":
|
||||
return importPath()
|
||||
case "filepath":
|
||||
case "path/filepath", "filepath":
|
||||
return importFilePath()
|
||||
case "strings":
|
||||
return importStrings()
|
||||
@@ -67,7 +67,7 @@ func Import(pkg string) *lua.LTable {
|
||||
return importErrors()
|
||||
case "time":
|
||||
return importTime()
|
||||
case "utf8":
|
||||
case "unicode/utf8", "utf8":
|
||||
return importUtf8()
|
||||
default:
|
||||
return nil
|
||||
|
||||
Reference in New Issue
Block a user