add 'autoquit' option to auto quit server on quit

cc #177
This commit is contained in:
Gokcehan committed 2021-05-19 21:55:19 +03:00
1 parent 7bf895e301
commit 06a30eda19
7 files changed
+35 -2

No files matched your search

+6
View File
@@ -20,6 +20,12 @@ func (e *setExpr) eval(app *app, args []string) {
gOpts.anchorfind = false
case "anchorfind!":
gOpts.anchorfind = !gOpts.anchorfind
case "autoquit":
gOpts.autoquit = true
case "noautoquit":
gOpts.autoquit = false
case "autoquit!":
gOpts.autoquit = !gOpts.autoquit
case "dircounts":
gOpts.dircounts = true
case "nodircounts":