simplified file handling for runtime files

This commit is contained in:
Florian Sundermann
2016-09-15 15:50:26 +02:00
parent 79621505f1
commit 796638d095
9 changed files with 161 additions and 230 deletions

View File

@@ -94,7 +94,7 @@ func Help(args []string) {
CurView().openHelp("help")
} else {
helpPage := args[0]
if _, ok := helpPages[helpPage]; ok {
if FindExtensionFile(FILE_Help, helpPage) != nil {
CurView().openHelp(helpPage)
} else {
messenger.Error("Sorry, no help for ", helpPage)