From acc03e97076bdaaecc68b414f2daf47d37435f91 Mon Sep 17 00:00:00 2001 From: Zachary Yedidia Date: Thu, 25 Aug 2016 17:24:13 -0400 Subject: [PATCH] Update docs and add some comments --- cmd/micro/runtime.go | 12 ++++----- cmd/micro/settings.go | 10 ++++++- runtime/help/commands.md | 7 +++-- runtime/help/options.md | 15 +++++++++++ runtime/help/plugins.md | 57 +++++++++++++++++++++++----------------- 5 files changed, 68 insertions(+), 33 deletions(-) diff --git a/cmd/micro/runtime.go b/cmd/micro/runtime.go index 63a33ac4..6c21696e 100644 --- a/cmd/micro/runtime.go +++ b/cmd/micro/runtime.go @@ -332,7 +332,7 @@ func runtimeHelpColorsMd() (*asset, error) { return a, nil } -var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x6c\x54\xc1\x8e\xe3\x36\x0c\xbd\xfb\x2b\x1e\xa6\x87\x05\x8a\x89\x3f\x20\xb7\xa2\x97\x16\x28\x8a\x6d\x77\x2f\xbd\x99\xb6\xe9\x58\x88\x2c\x7a\x45\xda\x99\xf4\xeb\x0b\x4a\x4e\x06\xdb\xd9\x9b\x2d\x3e\xf2\x3d\x92\x4f\xfa\x09\x9f\x45\x35\xf4\x91\x31\xc8\xb2\x50\x1a\xb5\x69\xfe\x91\x0d\x03\x25\xf0\x1b\x0f\x9b\x31\xfc\x73\x0c\x26\xf9\x81\x41\x7f\xc7\x9a\x59\x35\xa4\x0b\xba\x5f\x2d\xc7\x13\x77\x98\x24\x46\xb9\x71\x89\xda\xfc\x2c\xd8\x36\xbf\x71\x66\x50\xe6\x72\xba\xfe\x9f\x0f\x36\x93\xe1\x7e\x70\x6e\xca\x6d\xd3\xfc\x8c\xee\xdb\x16\xac\x3b\xe3\xaf\x2d\x98\x62\x09\x43\x96\x7a\xae\xb4\x73\x77\xc6\x17\xda\x59\x2b\xcd\x96\x33\x27\x43\xbf\x4d\x13\xe7\x0a\xca\xbc\x46\x1a\x18\x2f\xca\x94\x87\xf9\x05\x2f\x3b\xc5\x8d\x5f\x30\x45\xba\x68\x77\xc6\xd7\x39\x28\x6e\x21\x46\x3c\xa0\x5d\x85\x76\xb8\x05\x9b\xd1\x15\x7c\xd7\xa2\x01\xf0\x75\x66\x74\x35\xb3\xb4\x21\xab\x05\x49\x14\x5b\x0f\xfe\x62\x30\x2f\xb6\x4a\x48\xf6\xea\x8a\x32\x23\x28\x24\xc5\x3b\x24\x71\xa1\x3c\xa3\x1b\xba\x57\xdc\xe6\x30\xcc\xe0\x44\x7d\x64\x45\x37\xcc\x3c\x5c\x3b\x2c\x32\x72\xe1\xa9\x61\xd2\xab\x22\x4c\x3e\x91\x4f\x23\x62\xb8\x32\x4c\xb0\x72\x9e\x24\x2f\xa5\xe3\x43\xf2\xe2\x5d\x33\x0d\x33\x2c\x2c\xdc\x78\x85\x3f\xc5\xb8\xce\xf3\xd9\xce\xb2\xa9\xa1\x67\x10\x76\x8a\x61\x44\xe6\x0b\xbf\xb5\xc0\xef\x53\x51\x27\x53\x29\x49\xf9\xb2\x79\x3d\xf5\x2a\xa3\xb0\x22\x89\x61\xa6\xdd\xb7\x7f\x87\xae\x34\xb0\x22\x24\x04\x7b\x2d\xbb\x5a\xe8\x0e\x59\x82\x95\xec\x6f\x9b\x18\xeb\xb1\x1f\xb6\x63\x40\xa8\x33\x3c\x43\xd9\xea\xaa\x8e\x73\x93\x1a\x6a\xf1\x39\x32\x29\x43\xb9\x7a\x23\xf1\x9b\x41\x79\x28\xa8\x49\xb2\x8b\x21\xc4\xa0\xe6\x3a\x6b\xb6\x3e\xad\xa2\x6c\xc7\xb6\xb7\x04\x9d\x4f\x87\xa1\xba\x33\xf2\x96\x2a\xe1\x25\xec\xec\x31\x8e\xf1\xe9\xdd\x90\x4a\xa8\xa7\xe1\x7a\xc9\xb2\xa5\xb1\x2d\x0b\x76\xae\x03\xf2\x49\x21\x9b\xad\x9b\x55\x87\xf4\x8c\x31\xe8\x1a\xe9\xce\x25\xdb\xc7\x16\x43\x62\xdc\x66\xf6\x81\x60\x0a\x29\xe8\xcc\xea\xbc\x29\xa4\x4b\x55\xd5\x87\x34\xe2\xca\x77\x50\xe9\xa7\x3b\x63\xc8\x4c\xc6\x0a\xf2\x63\x0f\xfb\xf5\x99\xb2\x2c\x05\x66\x72\x20\x5b\x7c\x39\xe6\x71\x8c\xc2\xcd\xe4\xf2\xde\xb3\x14\xd4\xcb\xce\x3e\x23\x2c\xe2\x86\x4b\x93\xf8\x99\x6b\xf6\xf5\x5f\xf9\xae\xf0\x6e\xe9\xa8\xe0\xbe\xa5\x9d\x42\x74\xef\x55\x81\xbb\xae\xb1\xa8\x8f\x9c\x68\xf1\x45\xc9\xca\x0e\xc5\xce\xd9\xc2\x40\x11\x15\x51\x6f\xc4\x13\xd7\xba\x77\x92\x3c\x13\x11\x8a\x6b\xd6\x2c\x7b\x18\x79\x7c\xfd\x58\xc0\xaf\xc3\xca\x89\xc7\x5a\xca\xdf\x93\x65\xb5\xfb\x71\x65\x8b\x98\xf9\x83\x18\xf5\xd2\xa4\x0f\x9d\x1d\xfa\xcd\x9e\x0a\x67\xc9\xe1\x5f\x49\xf6\x4e\x91\xd4\x98\x46\xc8\x54\x4d\xf3\xbd\x82\x42\x61\xd4\x7f\x6c\xf6\xdd\x25\x1e\xf2\xf5\x12\x12\xdf\x60\xd4\xb7\x4d\x73\x3a\x9d\x9a\xc6\xdd\x51\xdf\x36\xdf\xd7\xf3\xd9\xf2\x89\x3e\x7a\x7e\x3c\x79\x23\x4f\xb4\x45\xc3\x1a\xb7\x4b\x48\x7a\x2e\xbc\x31\x24\x7f\xc9\xfe\x08\xc9\xbe\x7b\xb0\x0a\xa1\x6f\x90\x73\x96\x7c\x5c\x9f\x8b\x4c\x8b\xa3\xff\xde\x12\xca\x37\x24\x7d\xc8\x7a\x40\xc3\xb2\x4a\x36\x7d\xc2\x8f\xff\x1f\xa7\xfc\x17\x00\x00\xff\xff\x7e\x05\xb6\x98\xeb\x05\x00\x00") +var _runtimeHelpCommandsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x54\xc1\xb2\xe4\x34\x0c\xbc\xe7\x2b\xba\x1e\x87\x05\xea\xcd\x7c\xc0\xdc\x28\x2e\x50\x45\x51\xc0\xee\x85\x9b\x9d\x44\x99\xb8\xc6\xb1\xb2\x96\x9c\xd9\xe1\xeb\x29\xd9\x99\x3c\xd8\xc7\x81\x5b\x62\xb5\xd4\x2d\xa9\xed\x6f\xf0\x1b\x8b\x84\x3e\x12\x06\x5e\x16\x9f\x46\xe9\xba\x3f\xb9\x60\xf0\x09\xf4\x85\x86\xa2\x04\xfb\x1c\x83\x72\x7e\x62\xd0\x3f\xb0\x66\x12\x09\xe9\x0a\xf7\xa3\xe6\x78\x22\x87\x89\x63\xe4\x3b\xd5\xa8\xce\x47\xc1\x73\xf7\x13\x65\x82\xcf\x54\x4f\xd7\xaf\xf9\xa0\xb3\x57\x3c\x76\xce\x22\x74\xee\xba\xef\xe1\x3e\x97\xa0\xee\x82\xdf\x4b\x50\xc1\x12\x86\xcc\xed\x5c\xfc\x46\xee\x82\x8f\x7e\x23\x69\x34\x25\x67\x4a\x8a\xbe\x4c\x13\xe5\x06\xca\xb4\x46\x3f\x10\x5e\x84\x7c\x1e\xe6\x17\xbc\x6c\x3e\x16\x7a\xc1\x14\xfd\x55\xdc\x05\x9f\xe6\x20\xb8\x87\x18\xf1\x84\xba\x06\x75\xb8\x07\x9d\xe1\x2a\xde\x9d\xd1\x01\xf8\x34\x13\x5c\xcb\xac\x6d\xf0\xaa\x81\x93\x8f\x67\x0b\xfe\xa0\x50\x2b\xb6\x72\x48\xfa\x6a\x8a\x32\x21\x08\x38\xc5\x07\x38\x51\xa5\xbc\xc0\x0d\xee\x15\xf7\x39\x0c\x33\x28\xf9\x3e\x92\xc0\x0d\x33\x0d\x37\x87\x85\x47\xaa\x3c\x2d\xec\xe5\x26\x08\x93\x4d\xe4\xc3\x88\x18\x6e\x04\x65\xac\x94\x27\xce\x4b\xed\x78\x97\xbc\x58\xd7\xe4\x87\x19\x1a\x16\xea\xac\xc2\xaf\xac\xd4\xe6\x79\xb4\xb3\x14\x51\xf4\x04\x8f\xcd\xc7\x30\x22\xd3\x95\xbe\x9c\x81\x9f\xa7\xaa\x8e\xa7\x5a\xd2\xe7\x6b\xb1\x7a\x62\x55\x46\x26\x41\x62\xc5\xec\x37\xdb\xfe\x03\xb2\xfa\x81\x04\x21\x21\xe8\x6b\xdd\xd5\xe2\x1f\xe0\x25\x68\xcd\xfe\x5c\x58\x49\xf6\xfd\x90\xee\x03\x42\x9b\xe1\x05\x42\xda\x56\xb5\x9f\x2b\xb7\xd0\x19\x1f\xa9\x99\xc2\xb5\x88\x38\xcc\x14\x57\x28\xaf\x61\x30\x25\x13\x67\x78\xc4\x20\x6a\x42\x77\xd0\xe1\x15\x21\x3d\x38\x23\x0f\x3e\xfe\x5f\x62\x54\x74\x7c\xe0\xdb\xba\xa5\x90\xfe\x69\x24\xe3\x6d\x5e\xfa\x6e\x37\x53\x49\x90\xf9\xb4\xfb\xd5\x5d\x90\x4b\x6a\x65\xaf\x61\x23\x8b\x51\x8c\xc7\xd5\xd8\x8b\xf5\x7e\xb8\x5d\x33\x97\x34\x9e\xab\x7f\xac\xea\x0e\xf9\x20\xe0\xa2\x6b\xd1\x66\xc0\x9e\x30\x06\x59\xa3\x7f\x50\xcd\xb6\xad\xc4\x90\x08\xf7\x99\x6c\xde\x98\x42\x0a\x32\x93\x18\x6f\x0a\xe9\xda\x54\xf5\x21\x8d\xb8\xd1\x03\x7e\xb0\xde\xdc\x05\x43\x26\xaf\x24\xf0\x76\x6c\x61\xbb\x9d\x53\xe6\xa5\xc2\x94\x77\xe4\xdb\xd4\x85\x86\x36\x50\x4e\x26\xef\x2d\x4b\xe0\x7b\xde\xa8\x8e\x7f\x61\xf3\x73\x9a\xd8\xce\x4c\xb3\xb9\xeb\x46\x0f\x81\x75\xeb\xf7\x0a\x76\x2d\xfc\xe6\x43\x34\x6b\x37\x81\x9b\xac\xb1\xaa\x8f\x94\xfc\x62\xeb\xe0\x95\x0c\x8a\x8d\xb2\x06\x5b\x57\x43\xb4\x0b\x77\xe0\xce\x66\xcd\xc4\x47\x22\x42\x35\xe5\x9a\x79\x0b\x23\x8d\xaf\xef\x0b\xd8\x6d\x5b\x29\xd1\xd8\x4a\xd9\x73\xb5\xac\xfa\xd8\xb7\x58\xc5\xcc\xef\xc4\x88\x95\xf6\xf2\xd4\xe9\xd0\x17\x3d\x14\xce\x9c\xc3\x5f\x9c\xf4\x8d\x22\x89\x92\x1f\xc1\x93\x69\xf9\x5a\x41\xa5\x50\xdf\xbf\x6f\xf6\xcd\x25\x16\xb2\xf5\x7a\x24\xba\x43\x7d\x7f\xee\xba\xd3\xe9\xd4\x75\xe6\x8e\xf6\x74\xda\xbe\x8e\x57\xd1\x26\xfa\xec\xf9\xf9\xa2\x8e\x34\xf9\x12\x15\x6b\x2c\xd7\x90\xe4\x52\x79\x63\x48\xf6\x50\xfe\x12\x92\xfe\xeb\x3d\xac\x84\xb6\x41\xca\x99\xf3\x7e\x3b\xaf\x3c\x2d\x86\xfe\xa3\x24\xd4\x6f\x70\x7a\x97\xf5\x84\x86\x65\xe5\xac\x72\xc0\xf7\xff\xff\x4e\xf9\x3b\x00\x00\xff\xff\x19\x8b\xa2\xea\x4a\x06\x00\x00") func runtimeHelpCommandsMdBytes() ([]byte, error) { return bindataRead( @@ -347,7 +347,7 @@ func runtimeHelpCommandsMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "runtime/help/commands.md", size: 1515, mode: os.FileMode(420), modTime: time.Unix(1472092792, 0)} + info := bindataFileInfo{name: "runtime/help/commands.md", size: 1610, mode: os.FileMode(420), modTime: time.Unix(1472159979, 0)} a := &asset{bytes: bytes, info: info} return a, nil } @@ -392,7 +392,7 @@ func runtimeHelpKeybindingsMd() (*asset, error) { return a, nil } -var _runtimeHelpOptionsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x9c\x57\x6f\x6f\xdb\xb6\x13\x7e\x6d\x7d\x8a\x43\x5a\x20\x49\xa1\x38\xf8\xf5\xb7\xed\x85\xdf\x05\x49\x97\x66\x68\x9b\x21\xe8\x80\x0e\xc3\x50\x9d\xa4\x93\xc5\x86\xe2\x69\xe4\xc9\xa9\x3b\x6c\x9f\x7d\x38\x52\x72\xec\xd4\x35\x86\xbd\xb3\xc8\xe3\x73\xcf\x3d\xbc\x3f\xf4\xb3\x67\xcf\xe0\xb6\x17\xc3\x2e\x64\xd9\x5b\x53\x79\x86\x20\xec\x29\x00\x5a\x0b\xdc\x80\xb4\x04\x43\x20\x0f\x15\xbb\xc6\x2c\x07\x8f\x6a\x0c\xc6\x81\x91\xf0\x64\xb1\x36\x9e\x2a\x61\xbf\x9e\x4f\x58\x43\xa0\x10\x21\x8a\xe7\x1f\xae\xae\x3f\x5e\xde\xbe\xfb\xf1\xe6\xfa\xe3\xeb\xdb\xb7\xaf\xce\x3b\x35\x28\x00\xd3\xfe\xb7\x80\xe0\x22\x40\x4f\x3e\x53\x9b\x0f\x57\xd7\x10\x7a\xaa\x72\x30\xcd\xd7\x80\x05\x98\x00\x8e\x05\x02\x49\x0e\xc5\xdf\xe7\xf3\x84\x39\x39\x32\x41\xd9\xd4\xea\x30\x7b\xf4\xb8\xc3\xf9\x35\x79\x02\xf4\x14\x19\x71\x52\x05\xa4\x45\x81\x35\x0f\x50\xa1\x53\xec\x45\x96\xbd\x80\xa2\x62\xcb\x3e\x54\x2d\x75\x54\x2c\xc0\x32\xd6\x53\x1c\x9b\xf5\x24\x64\xad\x52\x65\x00\xf0\xfc\x24\x79\xbc\x32\xfe\xf4\x7c\xcb\x2c\x9c\x17\xc9\x55\x31\x8f\x4c\xb3\x6c\x56\x53\x83\x83\x15\x58\xa1\x1d\x68\x01\xc5\xf8\x5d\x64\xb3\x77\x2c\x94\x18\xa9\xb3\xc9\x6e\x1b\x0d\x4e\xc6\xd5\x1c\x02\x5b\xf4\xe6\x0b\xd5\x39\xa0\xab\x1f\x3f\xcf\xa4\x3a\xcd\x66\x1a\xa7\xca\x65\xb9\x42\x49\x34\x37\x04\x73\x28\xa9\xc2\x21\x44\x25\xd6\x51\x12\xea\x4a\xaa\xeb\x64\xa7\xbe\x23\x57\x28\x8d\x43\xbf\xce\xb2\xd9\xfb\x27\xb1\xab\x58\x25\x41\x20\x4b\x95\xa2\x37\x9e\xbb\x98\x52\x7a\xb6\x31\x96\xc2\x04\x94\xcd\x9e\x5c\xd5\xae\x38\xdb\xb9\x90\x72\xaa\x62\x0d\xb3\x5c\x6f\xc2\x7f\x30\xd2\x82\xb4\x9e\x28\x9b\x6d\x9f\x5d\x64\xd9\xec\xc5\x64\xb5\x00\x69\x4d\xd0\x2c\xf8\x86\x72\xf3\x68\xbd\x11\x69\xd7\x7e\xb3\xbc\x13\xe4\x49\x4c\xa8\x31\x8e\x50\x79\x22\x17\x5a\x96\xd3\x39\x64\x33\x80\x5f\x79\x80\xd0\xf2\x60\x6b\x68\x71\x45\xfb\x70\xa0\x47\x4b\x22\xa4\x18\x6b\x1e\x3c\x08\xf9\xce\x38\xb4\x20\xb1\x76\xc0\xc8\x13\x5a\x67\x52\xfd\x1b\x66\x0d\x7b\x10\x3f\x8c\x77\x92\xc3\xa7\x21\x48\x24\xd5\xe1\x3d\x41\x18\x3c\x3d\xf1\x17\x86\xbe\x67\x2f\x61\xeb\x14\x94\xd4\xb0\xd7\xea\x37\x6e\x09\x46\x62\x12\x6d\x72\x4f\xc1\xde\xde\x5c\xde\xdd\x7e\x7c\x7f\xf7\xcb\xab\xcb\xdb\x37\xb7\x77\x40\x6e\x65\x3c\xbb\x8e\x9c\xe6\xae\x37\x58\x5a\x52\x9e\x81\x44\x03\xfa\xdf\x84\x18\x04\xbd\x28\x68\xbc\xef\x14\x61\xc7\x8e\xef\xd1\x7c\x15\xdf\xb8\xbe\x73\x53\x70\x23\xe0\xe9\x8f\xc1\x68\x9f\xda\x22\x2c\xac\xac\x2c\xf3\xbd\xf6\x8c\x86\x2a\xc9\xa1\x1c\x12\xdf\x97\xdf\xff\x30\x5a\x61\xdf\x7b\xfe\x6c\xba\xd4\x6a\xd4\x3a\xc0\x92\x39\x76\x86\x07\xb2\x36\xf1\x41\xe1\xee\xac\x46\x7f\xff\xc8\x68\x5b\x60\x13\xa0\x44\xbd\x7d\x6e\x1a\x6d\x93\x17\xc2\xdd\x71\x80\x23\x3d\x71\xb4\x9b\x56\x33\xf8\x36\xdf\x44\x56\xbd\xcf\xb3\xd8\x57\x04\xcb\x60\xbe\x68\x4f\x09\x24\x49\x01\xc1\x12\x74\x4d\xcd\xa7\x56\xb1\xa7\x49\x7c\x57\x44\x00\xe3\x6a\x72\x52\xb5\xe8\xb7\x31\xd2\x6a\x8a\x58\xf7\xb0\x12\xf2\x7b\x40\x60\x04\x59\x3a\xf6\x54\x61\x50\x22\x2a\x25\xfb\x0e\xf4\xf3\xcc\xb8\x40\x2e\x18\x31\x2b\x2d\x6e\xf4\x55\x4b\x61\x0f\x0e\x37\x4d\x42\x0a\x6b\x27\xf8\xb9\x58\x80\x0c\xde\x05\x48\x9f\xc0\x0e\xd8\xab\x74\xfb\x8e\xba\x62\xa3\x84\x70\xe8\xb1\xa2\x50\x2c\x62\x35\xa4\x0f\x30\x2e\x08\x61\x1d\xa7\x13\x96\x07\xdd\xe3\x20\x9c\x62\x2f\x16\xf0\xd0\x92\x83\xca\x13\xc6\xdc\x43\x70\xf4\x00\xd6\xb8\x38\xdf\x52\x2d\x61\xb7\x2b\xd5\x38\x9c\xb4\x7d\xf7\x9e\x56\x86\x87\x10\x4f\x1c\xa0\x5d\x0d\x3e\xb0\x57\xa3\x62\x01\xad\x59\xb6\xd6\x2c\xdb\x94\x82\xd1\xd7\xa6\x80\x92\xa1\x26\x52\x1a\xa7\x08\xb5\x69\x1a\xf2\x5a\x3c\x31\x3d\xd4\xeb\xc9\x66\xa6\xa8\x61\x4d\x8d\x71\x54\x6b\xef\x7b\x3a\x6b\x74\x40\xe1\x54\xac\xa7\x87\x24\xf1\x83\x25\xcd\x8d\xda\x84\xde\xe2\x3a\xb1\x72\x43\x57\x92\xdf\x2b\xe5\x18\x57\x10\x94\x21\x8c\x71\x4d\x67\xa3\x68\x71\x23\xc1\x8c\xa1\x95\x2c\xc2\xdd\xf4\x7a\x48\x8d\xf1\x10\x34\xae\x28\xa9\x51\x2c\xc0\x53\xa7\xa3\xc6\xeb\x6d\x8d\x93\x78\x54\xea\x01\x03\x58\x0c\x02\x62\x3a\xda\xcc\x91\xb8\xcc\x3d\xa9\x2e\xe8\xea\x78\x55\x83\x68\xbb\x92\x08\x10\x2f\x5d\xd5\x51\x9b\xc7\x53\xb8\x44\xb3\x97\xd3\x26\x71\x71\x45\x83\xab\x79\xca\x9b\xd8\x01\x52\xf5\xa5\x3b\xcb\x41\xb7\x63\x7b\xc3\x15\xd5\x40\x2b\x72\x80\x8d\x90\x4f\xaf\x05\xcb\x81\x00\xa3\x37\x25\x15\x58\x5f\x2d\x5b\x3b\xae\x06\x4f\x91\x54\x32\xca\x37\x8f\x8c\x7b\xa2\x3e\x82\x1b\xb7\x3c\x48\xb1\xf2\x6c\x6d\x87\x7e\x69\x5c\xb1\x00\xec\x78\x70\xa2\xaa\xeb\x5d\x84\x08\xf7\x10\xc7\x8f\x35\xf7\xb1\x7b\x04\x22\xc0\x92\x57\xc9\x7b\x49\x96\x1f\xb6\x04\xde\xe3\xea\xff\xdb\x8e\x42\x4f\x54\xef\xf1\xa3\xc0\xd1\x20\x4e\x1d\x76\x34\x7d\xaa\x22\xb2\x07\xf5\x65\x91\x65\x67\x67\x67\x59\x76\x35\x6e\xf4\x76\x58\x1a\x37\xbd\xb8\xd2\x03\xcb\x1a\x27\x31\x4f\xf5\x07\x58\x74\xcb\x01\x97\x14\x8b\x45\xf5\x86\x93\x71\x62\x51\xbd\xb5\xa9\x15\x70\x99\xc3\x55\x0e\xd7\x9c\xc3\x4f\xb8\xc2\x5c\xb5\xd7\x1f\xa1\xf2\xa6\x97\x1c\xde\x0c\x78\x3a\x87\x9f\x3d\xaf\x4c\xfd\x58\x4a\x93\xbb\x91\xca\xfc\x40\xb6\x6a\x4b\x89\x57\x58\x2c\xe0\x62\x10\xd6\x39\x52\xa1\xb5\xeb\xf1\x62\x8b\x3f\xff\x2a\xa0\x38\x39\x2d\xa0\xf8\xed\xf7\x02\x8a\xa3\xa3\x02\x8a\xe3\xe3\xe2\x6b\xa7\x1b\xa4\xd1\xeb\x01\xa7\x4b\x36\x5d\x9c\xcf\xc5\x02\xee\x06\x07\x9b\xef\x49\x8f\x3d\x21\x2d\xf9\x60\x38\x53\x16\x2d\xb9\xe9\x64\x03\xdb\x74\xf2\xdf\x21\x95\xec\x85\x5b\x4f\x65\xa2\x09\xa8\xa3\x7f\x7c\x20\x51\x6d\x44\xcb\xd8\x58\x1b\x9f\x86\xb1\x6a\x84\x1f\x6b\x32\x7b\xfa\x10\x0c\x24\xda\xaa\xc3\xfc\x53\x50\x4e\x9c\x2b\x14\x35\x69\xb0\xc7\xf7\xcb\xee\xdf\x86\xd4\x0f\x46\xfc\x2c\x76\x7a\x7d\x7a\x72\xac\xc8\x39\xdc\xc4\xfa\x3b\x7e\xac\x07\xd1\xc7\xd0\x1e\x9c\xf8\xa0\x54\xf6\xc2\x80\x8e\xb5\x91\x64\x1d\x56\xad\x71\x94\x43\x30\x5d\xaf\x97\xcd\xfd\xd8\xff\x76\x48\x8e\xf1\xc4\x33\x30\x9e\x99\x67\xff\x04\x00\x00\xff\xff\x93\x96\xee\x0f\x66\x0d\x00\x00") +var _runtimeHelpOptionsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x9c\x57\x5f\x8f\xdb\xb8\x11\x7f\x36\x3f\xc5\x20\x39\x60\x77\x0f\x5a\x07\xbd\xfe\x79\xf0\x5b\x90\xbd\xee\xa5\x48\x6e\x8b\x74\x0b\xdc\xa1\x28\x42\x4a\x1a\xd9\xbc\xa5\x38\x2a\x39\xb4\xcf\x29\xda\xcf\x5e\x0c\x29\xd9\xb2\xd7\x59\x14\xf7\x26\x91\xc3\x99\xdf\xfc\xe6\x0f\x87\xaf\x5f\xbf\x86\x87\x81\x2d\xf9\xa8\xd4\x47\xdb\x04\x82\xc8\x14\x30\x82\x71\x0e\xa8\x03\xde\x20\xa4\x88\x01\x1a\xf2\x9d\x5d\xa7\x60\x44\x18\xac\x07\xcb\xf1\x6c\xb1\xb5\x01\x1b\xa6\xb0\x5f\x4e\xba\x52\xc4\x98\x55\xe8\x6f\x7e\xba\xbb\xff\xfc\xee\xe1\xc7\x3f\xbf\xbf\xff\xfc\xc3\xc3\xc7\xef\xdf\xf4\x22\xa0\xc1\x94\xfd\xaf\x29\x82\xb7\x11\x06\x0c\x4a\x64\x7e\xba\xbb\x87\x38\x60\x53\x81\xed\x9e\x2b\xd4\x60\x23\x78\x62\x88\xc8\x15\xe8\xff\xbe\x59\x16\x9d\x93\x21\x1b\x05\x4d\x2b\x06\xd5\xd1\xe2\x09\xe6\x1f\x30\x20\x98\x80\x19\x11\x15\x56\x80\x37\x86\x61\x4f\x09\x1a\xe3\x45\xf7\x4a\xa9\x6f\x41\x37\xe4\x28\xc4\x66\x83\x3d\xea\x15\x38\x32\xed\xe4\xc7\x61\xbd\x10\xd9\x0a\x55\x0a\x00\xbe\xb9\x2e\x16\xef\x6c\xb8\x79\x33\x13\x8b\x6f\x74\x31\xa5\x97\x19\xa9\xc8\x3e\x6e\x6c\x14\x5b\x6c\xfd\x5a\x80\xeb\xb5\xa3\xda\x38\x20\xef\xf6\x7a\xa9\xd4\xa2\xc5\xce\x24\xc7\xb0\x35\x2e\xe1\x0a\xf4\xf8\xaf\xd5\xe2\x47\x62\x2c\x98\x05\xce\x24\x37\xb7\x07\xd7\xe3\x6a\x05\x91\x9c\x09\xf6\x0b\xb6\x15\x18\xdf\x1e\x7f\x6f\xb9\xb9\x51\x0b\x61\x42\x08\x75\xd4\x18\x2e\x8e\x1c\x5c\xa8\xa0\xc6\xc6\xa4\x98\xb9\xda\x67\xd2\xb0\xaf\xb1\x6d\x8b\x9c\xd8\xce\xde\x40\x6d\xbd\x09\x7b\xa5\x16\x8f\x67\xec\x08\x9d\x35\x42\x44\x87\x8d\x68\xef\x02\xf5\x39\xe9\xe4\x6c\x67\x1d\xc6\x49\x91\x5a\x9c\x05\xf3\x94\xbe\x79\xb6\x94\xac\x6b\x48\xdc\xac\xf7\x07\xf7\x77\x96\x37\xc0\x9b\x80\xa8\x16\xf3\xb3\x2b\xa5\x16\xdf\x4e\x52\x2b\x60\xa1\xdd\xc6\xaf\x31\xb7\xcc\xd2\x07\x92\x4e\xe5\x0f\xcb\x27\x4e\x5e\xe7\x94\x1b\xfd\x88\x4d\x40\xf4\x71\x43\x7c\xb3\x04\xb5\x00\xf8\x99\x12\xc4\x0d\x25\xd7\xc2\xc6\x6c\xf1\x92\x1e\x18\x8c\x43\x66\x14\x1d\x7b\x4a\x01\x18\x43\x6f\xbd\x71\xc0\xb9\xba\xc0\xf2\x19\xac\x5b\x6e\xfe\x1f\x64\x1d\x05\xe0\x90\xc6\x98\x54\xf0\x4b\x8a\x9c\x41\xf5\xe6\x09\x21\xa6\x80\x67\xf6\x62\x1a\x06\x0a\x1c\x67\xa7\xa0\xc6\x8e\x82\xf4\x87\x9c\xa7\x9c\x93\xe8\x90\x7b\xa2\xec\xe3\xfb\x77\x9f\x1e\x3e\x3f\x7e\xfa\xfb\xf7\xef\x1e\x3e\x3c\x7c\x02\xf4\x5b\x1b\xc8\xf7\xe8\x25\x77\x83\x35\xb5\x43\x28\xb9\x2e\x0e\xfd\x6e\xd2\x18\xd9\x84\x9c\xfc\x39\xde\xc5\xc3\x9e\x3c\x3d\x19\xfb\xcc\xbf\x71\xfd\x24\x52\xf0\x9e\x21\xe0\xbf\x92\x95\x4e\x36\x03\xcc\x24\xa8\x1c\xd1\x93\x74\x95\x0e\x1b\xae\xa0\x4e\x05\xef\x77\x7f\xfc\xd3\x28\x65\x86\x21\xd0\xaf\xb6\x2f\xcd\x48\xa4\x23\xac\x89\x72\xef\xd8\xa1\x73\x05\x8f\x61\xea\x6f\x5b\x13\x9e\x8e\x88\xe6\x04\xdb\x08\xb5\x91\xe8\x53\xd7\x49\x23\x7d\xcb\xd4\x5f\x45\x78\x25\x27\x5e\x9d\xa6\xd5\x02\xbe\x8e\xb7\x80\x15\xeb\x4b\x95\x3b\x0f\x9b\x3a\xda\x2f\xd2\x75\x22\x72\x61\x80\x4d\x0d\xb2\x26\xe2\x53\x33\xb9\xd0\x24\xfe\xa0\xb3\x02\xeb\x5b\xf4\xdc\x6c\x4c\x98\xeb\x28\xab\xc5\x63\xd9\x33\x0d\x63\xb8\xa0\x04\x8a\x12\x29\x50\xde\x0f\x27\x30\xa6\xb5\x92\x5b\x52\xee\x29\x04\x89\x74\x9d\xba\x0e\xc3\xf2\x79\x5b\x93\xce\x32\x76\x35\x25\x7d\x0f\xce\xac\x65\x52\x77\xd6\x39\xe9\x14\x26\x31\x49\x48\x1a\xe3\xdc\x3e\x67\x4c\x8b\x03\xfa\x56\x94\x91\x3f\x20\xc8\xbd\x3a\x97\x13\x0d\xe8\x8b\xc7\x6b\x4f\x01\x1b\x13\x05\xae\xc4\x9d\x42\x0f\xf2\x7b\x6b\x7d\x44\x1f\x2d\xdb\xad\x74\x22\x13\x9a\x0d\xc6\x0b\x4e\x53\xd7\x15\xb7\xe3\xde\xb3\xf9\x55\xaf\x80\x53\xf0\x11\xca\xaf\x58\xa7\x20\x71\xbe\x74\xd4\xeb\x43\xd8\x98\xe2\x60\x1a\x8c\x7a\x95\x4b\xb7\xfc\x80\xf5\x91\xd1\xb4\xf9\xb2\x35\xf5\x8b\xe6\x85\x82\x12\x28\xbd\x82\xdd\x06\x3d\x34\x01\x4d\xa6\xd3\x80\xc7\x1d\x38\xeb\xf3\x75\x5d\x0a\xdf\xf4\xa7\x71\x1d\xef\x5a\x61\x7a\x08\xb8\xb5\x94\x62\x3e\xf1\x02\xec\x26\x85\x48\x41\x84\xf4\x0a\x36\x76\xbd\x71\x76\xbd\x29\xf5\x92\x6d\x1d\xaa\xbd\x08\x4a\x54\xcb\x74\x60\xa0\xb5\x12\x75\x89\x7f\xce\x65\xb1\x7a\x7d\xb8\x22\x45\xb0\xc5\xce\x7a\x6c\xa5\x51\x9f\x5f\x9d\x12\x43\x33\x75\x96\x9b\x97\x28\x09\xc9\xa1\x24\x72\x6b\xe3\xe0\xcc\xbe\xa0\xf2\xa9\xaf\x31\x5c\xa4\x72\xf4\x2b\xb2\xe1\x14\x47\xbf\xa6\xb3\x99\xb4\xbc\x51\xd4\x8c\xae\xd5\xc4\x4c\xfd\x34\x0c\x95\x2e\xfe\x92\x6a\xb3\xc5\xc2\x86\x5e\x41\xc0\x5e\xee\xc5\x20\xd1\x1a\x07\x8b\x91\xa9\x9d\x89\xe0\x4c\x64\x60\xdb\xe3\x31\x7b\x65\x59\x12\x57\x26\x15\xdf\xe6\x50\x25\x96\xde\xca\x59\x41\x0e\xba\xb0\x23\x32\xc7\x53\x66\x6d\xec\x45\x4c\x87\xc4\x35\x5b\x4c\xbe\xa5\x29\x6f\x72\x65\x95\x56\x51\x62\x56\x81\x6c\xe7\x5e\x6c\xb6\xd8\x02\x6e\xd1\x83\xe9\x18\x43\x19\x7e\x1c\x45\x04\x93\xad\x09\xa8\x48\x32\x84\xcd\x76\x7c\x0b\x01\x33\xa8\x22\x54\x1d\x66\xa6\x27\xc4\x21\x2b\xb7\x7e\xfd\x22\xc4\x26\x90\x73\xbd\x09\x6b\xeb\xf5\x0a\x4c\x4f\xc9\xb3\xb0\x2e\xb1\x88\x59\xdd\x2e\xdf\x95\xce\x3e\xe5\x56\x17\x11\xc1\xd4\xb4\x2d\xd6\x6b\x74\xb4\x9b\x11\x7c\xc1\xd4\xef\xe7\x86\xe2\x80\xd8\x5e\xb0\x23\x8a\xb3\x40\x6e\x63\xe4\x71\xfa\x15\x46\xf8\x82\xd6\xef\xb4\x52\xb7\xb7\xb7\x4a\xdd\x8d\x1b\x83\x4b\x6b\xeb\xa7\x01\xb2\xcc\x8b\xce\x7a\xce\x79\x2a\x1f\xe0\x8c\x5f\x27\xb3\xc6\x5c\x2c\xc2\x37\x5c\x8f\xd7\x2b\xb6\xb3\x4d\xa9\x80\x77\x15\xdc\x55\x70\x4f\x15\xfc\xc5\x6c\x4d\x25\xdc\xcb\x47\x6c\x82\x1d\xb8\x82\x0f\xc9\xdc\x2c\xe1\xaf\x81\xb6\xb6\x3d\x96\xd2\x64\x6e\x84\x72\x69\x62\x9c\xb2\x55\x5a\x4a\x0e\xa1\x5e\xc1\xdb\x93\x0e\x5b\x02\xab\xff\xfd\x1f\x0d\xfa\xfa\x46\x83\xfe\xc7\x3f\x35\xe8\x57\xaf\x34\xe8\xab\x2b\xfd\xdc\xe8\x41\xd3\x68\xf5\x05\xa3\x6b\xb2\x7d\x1e\x26\xf4\x0a\x3e\x25\x0f\x87\xff\x89\x8f\x0b\x2e\xad\xe9\x45\x77\xa6\x2c\x5a\x53\xd7\xf3\x41\x6d\xd7\xf3\x6f\x57\x29\x60\xdf\xfa\xfd\x54\x26\x92\x80\x72\xeb\x8c\xd3\x1c\xb6\x96\xa5\x8c\xc7\xdb\xa9\x54\x0d\xd3\xb1\x26\xd5\xf9\xd4\x3a\xde\x7c\x71\xf9\x4b\x14\x4c\x54\x89\x2a\xec\xca\x14\x92\x87\xad\xd3\x57\x50\xe9\x07\xa3\x7e\x95\x3b\xbd\xcc\xc9\x94\x2b\x72\x09\xef\x73\xfd\x5d\x1d\xeb\x81\x65\x72\xbb\xa0\x27\x4f\xbf\x82\x9e\x09\x8c\x27\x69\x24\xaa\x37\xcd\xc6\x7a\xac\x20\xda\x7e\x90\x60\xd3\x30\xf6\xbf\x13\x90\xa3\x3f\xf9\x0c\x8c\x67\x96\x4a\xbd\x86\xfb\xf2\x20\x91\xc2\x2b\x97\xf8\x74\x4e\xa9\x9f\x8f\x6f\x25\x39\x1c\x8f\x3a\x01\x6d\x56\x54\x5e\x33\x6e\x2f\xb7\x66\x3e\xed\xf6\x4b\xf8\x50\x3e\xa0\x47\x33\xbd\xba\x66\x78\xd4\x8e\xfc\x15\x9f\x10\x7d\xfe\xc4\x3b\xe5\x57\x1f\x87\x51\xcb\x85\x45\x99\x33\xca\x93\x43\x82\xa8\x2e\x4d\x28\x7f\x1b\x87\x13\x33\x95\xef\x11\xeb\xe9\xbb\xa0\x3c\x98\xb2\xda\xd1\xcf\xf1\x80\x92\xbb\x4f\x42\x96\x35\xc6\xa5\x52\xf2\xf0\x39\x79\x2f\xce\xfa\xee\xec\x5d\x57\x8d\x80\x71\x36\x5c\xcd\x24\x8f\xa3\xd2\x12\x1e\x49\x89\xd1\x23\xc8\x91\xc4\x2a\x5f\xfd\x3a\x22\xe7\x05\x3d\x1f\x2d\x64\x55\x2f\xd5\xff\x02\x00\x00\xff\xff\x78\x5d\x9a\x45\xf0\x0f\x00\x00") func runtimeHelpOptionsMdBytes() ([]byte, error) { return bindataRead( @@ -407,12 +407,12 @@ func runtimeHelpOptionsMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "runtime/help/options.md", size: 3430, mode: os.FileMode(420), modTime: time.Unix(1472092792, 0)} + info := bindataFileInfo{name: "runtime/help/options.md", size: 4080, mode: os.FileMode(420), modTime: time.Unix(1472159931, 0)} a := &asset{bytes: bytes, info: info} return a, nil } -var _runtimeHelpPluginsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x57\xdb\x8e\xdc\xb8\xd1\xbe\xe7\x53\x14\x76\x2f\xdc\x6d\xb4\x35\x7b\xdd\x77\x5e\xff\x5e\xaf\xf7\x8f\x3d\x06\x66\x36\xc0\x22\x08\xc0\x92\x54\xdd\xa2\x47\x22\x15\x16\xd9\x3d\x4a\x90\x3c\x7b\x50\x24\x75\x98\xc3\x02\xb9\x18\x8c\x5a\x64\x9d\xbe\x3a\x7d\xfa\x11\xbe\xf5\xf1\x6c\x2c\x2b\xf5\xc5\x34\xde\x01\xc7\x71\x74\x3e\x30\x34\x9e\x30\x18\x7b\x86\x31\x5f\x80\xab\x09\x1d\x20\xb0\x19\xc6\x9e\xe0\x2f\x11\x81\x27\x0e\x34\x54\xf0\xf1\x42\x7e\x2a\xf7\xa0\x43\x06\x54\x03\x1a\x0b\xdc\x78\x33\x06\xb8\x76\xa6\xe9\xc0\x30\xf8\x68\x01\x03\x70\x40\x1f\xe2\x58\xde\x73\xe7\x62\xdf\x42\x4d\x30\xf6\xd8\x50\x0b\xc6\x82\xd2\xff\xb9\xa9\x1a\x67\x4f\xe6\x7c\x33\x88\x5b\x37\xc5\x89\xf2\xff\x2b\x0e\xb4\x79\xac\xfa\x88\xba\x52\xea\xbe\x23\x4f\x80\xf2\x07\x36\x0e\x35\x79\x70\x27\x68\xb0\xef\x6b\x6c\x1e\xe0\x14\x6d\x13\x8c\x93\x50\x92\xe5\xc9\x45\x68\xd0\xe6\x48\x49\xec\x4e\x2e\x7a\x55\xe2\x08\x2e\xf9\xdb\xb8\x96\xc4\xe9\x60\x06\x62\x70\xa1\x23\x0f\xa1\x43\x3b\x47\x51\xc1\x7d\x47\x60\x71\x10\xa8\xb8\xe9\x68\x20\x30\xac\xb4\xb3\xef\x93\xb1\xdd\x5e\x57\xf0\x8b\xf3\x40\x8f\x98\x80\xc3\xc5\x8f\xa7\xc0\x50\x02\x51\xcc\x40\xe8\x08\x22\x93\x07\xc6\x0b\xb1\x92\x9f\x75\x3c\x9d\xc8\xc3\xb5\x60\x75\x54\x4a\x6b\xdd\x47\x54\x8b\x32\x67\xef\xf0\x42\xbb\xbd\x02\x00\xa8\xaa\x2a\xfd\xf7\x14\xa2\xb7\x70\xc2\x9e\x49\x91\x6d\x45\x4a\xa9\xf7\x7d\x0f\x78\x41\xd3\x63\x2d\x0e\x15\x50\x04\xb7\xde\x70\xc8\x29\x10\xa3\x0f\x34\xd5\xc6\xb6\xc6\x9e\x19\x98\x8a\x99\x53\x3a\xea\xa8\x1f\x33\xe2\x4c\x1b\x60\x4b\x32\xb1\x67\x37\xdb\x46\xa8\x9d\xeb\x49\x10\x1b\xa9\x31\xa7\x49\x80\xba\x76\x54\x90\x24\xb8\x18\xba\xaa\xb5\x0a\x3c\xf5\xae\x41\xf1\x22\xb8\x74\xde\x44\xcf\xce\x83\xf3\x60\x5d\x00\x3c\x85\x22\x97\xfd\x16\xf8\x1a\x27\xc8\x06\xaa\x94\xfa\xea\x82\xe0\x27\x09\x4b\xae\xcd\xc9\x67\x70\x4d\x13\xfd\x4b\x71\x29\xd7\x9a\xc8\x2e\x4a\xda\x0a\x3e\x9f\xa4\x12\xd4\x15\x6d\x00\x5c\xeb\xa7\xa6\x93\xf3\xf4\xcc\x36\x3d\x52\x13\x03\xb5\x07\xc9\x18\xe8\xd1\xd3\x26\xef\x9f\x05\x47\x71\x10\x99\x72\x1a\x0b\x14\x19\x1b\x6a\x0b\x26\x86\x78\x81\xa4\xc4\xb9\xb1\xb2\x62\x33\x1b\x53\x6b\x18\x7d\xc4\x5c\xa3\xb3\xff\x5c\x29\xf5\xee\xdd\xbb\x3f\xeb\x86\x35\x57\x68\x5b\xb8\xa0\x37\x52\x04\x9c\x31\x4b\x97\x97\xc2\x08\x2e\xb5\x88\xb1\xca\xb5\x62\xcd\x01\x36\x0d\x31\x27\xbb\xc6\xda\x54\x8f\xfe\x21\x95\x87\x3b\x41\x6a\xd4\x0a\x7e\x15\xab\x86\x01\x53\x31\xc1\x4e\x2e\x87\x69\x24\x60\x73\xb6\x18\xa2\x27\x56\x27\xe7\xb7\x8e\x78\x82\xb3\xb9\x90\x85\xc8\x52\x1c\x9f\xdc\x1b\x2e\x22\x69\xc0\xec\x8f\x4a\xbd\x85\xdb\xbb\xe3\xe2\x6e\xe9\x1c\x11\xca\xde\xdc\xde\x65\xf3\xa9\x1a\xa2\xf7\x64\x43\x3f\x49\x5b\x59\x51\xe8\xac\xb8\x61\x58\x4e\xe5\x36\xe3\x40\x0a\x39\x1b\xfa\x74\x7b\x7b\xb7\x28\x3e\x00\x3b\xd0\x2d\xfa\xab\xb1\xfa\x00\xfa\x6a\x6c\xeb\xae\x2c\x8f\xbd\xb1\xf1\x51\x1e\x4e\x9e\xa8\xe6\x56\x57\x55\xb5\x17\xc7\x02\xd6\x7c\x9c\xc3\x75\x27\xc0\xbe\x4f\x56\xe4\xfd\xc6\x19\x23\xe1\x91\x08\x34\xd1\xdf\x63\x7d\x2c\x30\xb6\xf4\x38\x37\x55\xb9\x9c\x25\x4b\x0f\xa6\x67\x51\x2d\x92\x03\x31\x93\x3d\x93\x3f\x42\x4f\x81\x53\x7a\x98\x6c\x9b\x0e\xf0\x2c\x60\xb8\x75\x7a\x38\x3f\x8f\xb6\xd1\xbb\x61\x0c\x2c\x2a\x3e\x51\xb8\x1d\x53\x81\x5a\x1c\x08\x38\x78\x63\xcf\xfb\x63\xa9\xc8\x8c\xcf\x05\xfb\x48\xb3\x53\x9e\xfe\x11\x29\x4d\x05\x97\xe4\x44\xc9\xfb\xb6\x7d\xa9\xe4\x50\xe4\x8c\x0d\xe4\x4f\xd8\xd0\xbf\xfe\xbd\x3f\x02\x8b\x9f\xa2\x27\x67\x38\xeb\xc8\xbb\x64\x79\xab\xb2\xe0\x4e\x6f\x44\x35\x0c\x84\xa9\x4a\xa7\x5c\x0b\xc6\xc2\x27\xb7\xaf\xc4\xfc\xcf\xc6\xb6\xff\x4f\xd3\xee\x81\xa6\xc3\xd2\x24\x73\x20\x32\xb1\x18\xf4\x03\x4d\x5a\xd0\xd0\xf9\x5c\x27\xc1\x2f\xf8\x40\x1f\xdc\x30\xa0\x6d\x93\xe7\x87\x75\x16\xcf\x31\x94\x36\x4a\x85\x59\x55\xd5\x87\xe5\xe7\xfe\x08\x0a\x0a\xa0\x52\xdd\x4d\xd6\x93\x43\xd1\xa2\x4d\x97\xb2\xbc\x9a\xbe\x4f\x53\x03\xf4\xac\x5e\x8e\xc8\x2e\xfd\x2b\xc3\xf9\x77\x26\xf8\x09\xa4\x13\xb6\x26\x83\x83\x33\x05\xf8\xea\x56\xc3\xc9\xf3\x0f\xd1\xff\xd5\xd0\x75\xf7\x2c\x53\x73\xc5\xa4\x19\xaa\xde\xc2\xaf\x68\xdb\x7e\x09\xb1\x19\xda\x4d\x82\xa3\xdd\x26\xa2\xb8\xbf\x0a\xdd\x75\xd4\xf7\xb3\x24\xa7\x1f\x8b\xf8\x21\x27\x55\xa0\xbc\xe4\x21\xf6\x52\x61\x12\x51\x1b\xb5\xbf\xb9\xfa\x4e\x76\xe4\xc6\x8d\x83\x6c\xa9\xd0\xba\x18\xca\x13\x79\x2f\x4f\x1f\x1f\x4d\x58\xae\x48\xed\xa2\x3f\x27\xf8\x67\xef\x55\xd2\xc4\x4b\x47\x3f\x33\xbb\x24\xa3\x34\x8d\x8c\xeb\xb3\x77\xd1\xb6\x15\xe8\xd9\xa4\x2e\x8f\xe4\xbd\x4e\xc3\x4f\x67\xc3\x5a\xc9\x00\x5a\x17\x45\x70\x69\xa8\x3e\x67\x0b\x29\xab\x75\xbe\x48\x6d\xce\xe7\xea\xc6\xbc\x44\x3b\x1c\x47\xb2\xaa\xb4\xe1\xea\x87\xb4\xa0\xcc\xce\x4a\xe9\x39\x3e\x9d\x06\x5f\x9a\xf3\xfe\x1c\x07\xb2\xe1\x89\x29\x29\x83\x11\x99\x37\x8b\xf0\x05\x91\x99\x61\xa6\x92\xec\xb7\x52\x60\xd5\x87\xa1\x3d\x40\x8b\x01\xd7\xe4\xa7\x21\x31\xff\x96\x64\x66\x8d\x1c\x5a\xb3\xac\xf4\xef\xae\x9e\xbd\x5c\xd2\xe7\xc6\xa7\x7a\xf7\x47\x78\x10\xe7\x50\x6e\xcb\x8a\x31\x0c\x03\x4e\xc0\x44\x03\xf4\xe6\x41\x76\x0d\x0f\x52\xfa\xcb\x34\x5c\xd6\xc9\x0a\x68\x1d\x03\xb0\x1b\x96\x11\xe3\xea\xef\xd4\x04\x56\xcb\x56\xac\xa7\xf4\x7e\x95\xe8\xf0\x42\x30\xc8\x2c\x18\x28\x74\xae\xe5\x0a\xf4\xd2\x12\x7a\x69\x09\x4c\x8d\x50\xf4\xa9\x0c\x66\xe2\xa3\x65\x24\xe3\xeb\xfc\x0f\xfb\xfe\x29\x47\x5b\x75\x1f\x13\xa9\x4a\xfc\x69\xaf\x2b\xf5\x47\x11\x61\xa2\xe2\xe1\x26\xd4\xd1\x31\x9b\x2d\xa3\x7a\x85\x46\x09\x6f\x82\xe0\x46\xd3\x54\xb2\xa0\x17\x42\xe0\xec\x0b\x27\x45\xa4\x49\xc3\xe6\x15\x6a\x90\xd6\xfe\x52\xb2\x99\x21\x28\x61\x4f\xd1\x56\xf0\xb9\xf0\x44\x4f\xd2\x17\x92\xfa\x33\x59\xf2\xd8\xf7\x13\x70\x30\xcd\x43\x6a\x21\x97\x69\x61\xae\xe4\x01\xd3\x4b\x84\x85\xfd\x2a\xbc\x38\x93\x74\x44\xcf\xd2\xf6\xa3\x77\x75\x4f\x03\x1f\xd2\xd0\x9a\xa1\x32\xa7\x82\xa3\x8c\xbb\x67\xb0\x05\x1f\x69\xaf\x05\x06\x3d\xb3\x53\x5d\xa9\xdf\x22\x87\x4c\x96\x5e\x47\x59\x56\x70\x62\x23\x26\xc0\xd5\xd9\x37\xa1\x28\x5f\x54\x00\x9e\xd1\xc8\x58\xfc\x9d\xe7\x59\xb0\x49\xfb\x61\xc9\x6b\x62\xa1\x1b\xca\x52\x38\x34\x32\xbb\xc6\x24\x86\x59\xd6\x10\x96\x01\x5a\x4f\x85\x81\xac\x9e\x55\x3f\xc7\x93\x3e\x94\x82\x59\x76\xee\x46\xa9\xfe\xc5\xf4\x74\x3f\x8d\x24\xd4\xe0\x1b\x86\x4e\xfe\xcb\x47\x89\xf0\x83\x44\xc2\xd6\xba\x28\xb5\xfb\x4a\xf9\x15\xbb\x49\xe1\xb2\xe4\xf5\xca\x77\xd0\x53\x22\x41\xeb\x61\xf5\x25\xaf\xfc\xdd\xc0\x67\x99\x94\xdb\xad\xab\x9f\xde\xfc\xe8\xbd\xf3\xff\xc3\xbd\x3f\x88\xbf\xba\x6f\x89\x2a\xec\x32\x63\x98\x07\x08\xec\xa4\x4e\x0f\x79\xf2\x3f\x93\x7a\x22\x70\x80\xce\x70\x70\x7e\xba\x4f\xf4\xed\xc5\x4e\x4d\xaf\x37\x3b\x15\x76\xf3\x9d\xa2\x5a\x65\xee\x0d\x85\x7b\x73\x40\xdb\xa2\x6f\x61\x56\xff\x7d\x29\x9e\x3f\xf5\xe0\x87\x1f\x0e\xf0\x93\xa8\xfa\x11\xfe\x8f\x4e\x18\xfb\x30\x7f\xc2\x2a\xb5\x69\xf2\xc4\x59\xcb\xc1\x61\x69\xe8\xf6\xa9\x44\xa2\x7d\x81\xbc\x24\xf5\xec\xf4\x21\xef\x0d\x8c\xc1\x35\xbd\x63\xd2\xa9\x89\xa7\x34\xc8\x25\xec\xfc\xe9\x94\x3e\xa4\xdf\x30\x9c\x4d\xe8\x62\x0d\x9e\x46\xc7\x46\x40\x81\xbf\x09\x25\xff\xfb\xae\x0b\x61\xe4\xe3\xcd\x4d\xbe\x50\x35\x6e\xb8\xf9\xe7\x44\xad\x69\x0d\x96\xcf\xdd\xe0\x89\x6e\x06\xe4\x40\xfe\xc6\x47\x2b\x5f\x85\xf3\x27\xf0\xbe\x52\xff\x0d\x00\x00\xff\xff\xd6\x41\x08\x2e\xb5\x0f\x00\x00") +var _runtimeHelpPluginsMd = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x58\xdd\x8f\xdc\xb6\x11\x7f\xd7\x5f\x31\x48\x1e\x72\x67\xac\x75\x79\xde\x37\xdb\x75\x1c\xa7\xf1\x07\x70\x97\x02\x41\x51\x80\x23\x69\xb4\xa2\x8f\x22\x55\x0e\xb9\x6b\xb5\x68\xff\xf6\x62\x48\xea\x63\x7d\x97\xa0\x0f\x87\xd5\xad\xe6\x8b\x33\xbf\x99\xf9\x71\xbf\x87\xcf\x26\x9e\xb4\xe5\xaa\xfa\xa0\x5b\xef\x80\xe3\x34\x39\x1f\x18\x5a\x4f\x18\xb4\x3d\xc1\x94\x05\xe0\xa2\xc3\x00\x08\xac\xc7\xc9\x10\xfc\x1a\x11\x78\xe6\x40\x63\x0d\x6f\xcf\xe4\xe7\x22\x07\x03\x32\x60\x35\xa2\xb6\xc0\xad\xd7\x53\x80\xcb\xa0\xdb\x01\x34\x83\x8f\x16\x30\x00\x07\xf4\x21\x4e\xe5\x7b\x1e\x5c\x34\x1d\x34\x04\x93\xc1\x96\x3a\xd0\x16\x2a\xf5\xdf\xbb\xba\x75\xb6\xd7\xa7\xbb\x51\xc2\xba\x2b\x41\x94\xcf\x8f\x38\xd2\xee\xb1\x36\x11\x55\x5d\x55\x0f\x03\x79\x02\x94\x3f\xb0\x71\x6c\xc8\x83\xeb\xa1\x45\x63\x1a\x6c\x1f\xa1\x8f\xb6\x0d\xda\xc9\x51\x92\xe7\xd9\x45\x68\xd1\xe6\x93\x92\xf8\x9d\x5d\xf4\x55\x39\x47\x70\x29\xde\xd6\x75\x24\x41\x07\x3d\x12\x83\x0b\x03\x79\x08\x03\xda\xe5\x14\x35\x3c\x0c\x04\x16\x47\x49\x15\xb7\x03\x8d\x04\x9a\x2b\xe5\xec\xab\xe4\xec\xe6\xac\xe9\x72\xab\x6a\xf8\xc9\x79\xa0\xaf\x98\x92\x87\x6b\x2c\xd7\xc9\xa1\x94\x48\x71\x05\x61\x20\x88\x4c\x1e\x18\xcf\xc4\x95\xfc\xdb\xc4\xbe\x27\x0f\x97\x92\xaf\x63\x55\x29\xa5\x4c\xc4\x6a\x35\xe6\xec\x3d\x9e\x29\xbb\xac\x00\x00\xea\xba\x4e\x9f\x9e\x42\xf4\x16\x7a\x34\x4c\x15\xd9\x4e\x34\x53\xbe\x40\x89\xb0\x82\x33\x7a\x8d\x8d\x91\xd8\x01\xc1\x53\x4f\x9e\x6c\x4b\x92\x05\x71\x2d\x42\xe9\x01\xb3\x23\xcd\xd0\x90\x9c\x98\xbe\x52\x1b\x03\x75\xe0\x6c\x5d\x3d\x0c\x9a\x93\x01\x33\x3a\x0e\x80\xe6\x82\x33\x27\xb5\x36\x7a\x4f\x36\x24\x3b\x87\x6f\xd2\x7f\xa2\x90\xb1\xa5\xde\x44\xff\x37\x4d\x97\x9b\x5b\x05\xc8\x70\x21\x63\xea\xaa\x7a\x65\x0c\xe0\x19\xb5\x49\xe1\x61\xa9\xa0\x14\xd9\x68\x0e\x19\x2f\xe2\xe2\x91\xe6\x46\xdb\x4e\xdb\x13\x03\x53\xc9\x47\x9f\x5e\x0d\x64\xa6\x0c\x0f\xa6\x1d\x0a\x0a\xf2\xd0\xb0\x5b\x12\x84\xd0\x38\x67\x48\xca\x3b\x51\xab\xfb\x59\xce\x78\x19\xa8\x94\x3d\x27\xa2\xda\x20\xeb\xc9\xb8\x16\x25\x8a\x92\xa8\x36\x7a\x76\x1e\x9c\x07\xeb\x02\x60\x1f\x8a\xde\x96\xb7\xd6\x09\x04\x02\xd5\x55\xf5\xd1\x05\x29\xb4\xa0\x2b\x85\xb6\x20\x95\xc1\xb5\x6d\xf4\x4f\xd5\xa5\xb7\x1a\x22\xbb\x1a\xe9\x6a\x78\xdf\x4b\x26\xab\x0b\xda\x00\xb8\x81\xbd\xa1\xde\x79\xfa\xc6\xf7\x52\xad\x83\x40\x0b\xd4\xe4\xa9\x80\x54\x00\xfa\x5e\xf2\x28\x01\x22\x53\xc6\x5b\x49\x45\xce\x0d\x75\x25\x27\x9a\x78\x4d\x49\x39\xe7\xce\xcb\x96\x9b\xc5\x59\xb5\x1d\xc3\x44\xcc\x0d\xb5\xc4\xcf\x75\x55\xbd\x7c\xf9\xf2\x8f\x5a\x77\xab\x15\xda\x6e\xc5\x28\xe7\x9c\x25\xe1\x15\x18\xc1\x25\x40\x69\x5b\xb9\x4e\xbc\x39\xc0\xb6\x25\xce\xf0\xd3\xd6\xa6\xc6\xf1\x8f\x09\x1e\xae\x87\x34\x55\x6a\xf8\x59\xbc\x26\xc8\x0b\x98\xe0\x46\x84\xc3\x3c\x11\xb0\x3e\x59\x0c\xd1\x13\x57\xbd\xf3\xfb\x40\x3c\xc1\x49\x9f\xc9\x42\x64\x01\xc7\x3b\xf7\x03\x17\x95\x34\x0d\x6f\x8f\x55\xf5\x02\xd4\xa7\x7b\x75\xdc\x9a\x2a\x03\x5e\xd4\x72\x3c\x9f\xee\x73\x00\x09\x0f\xb9\x35\xcc\x2c\x13\xc0\x8a\x49\x67\x25\x90\xdc\x4a\x22\xcd\x38\x52\x85\x9c\x5d\xbd\xfb\xf4\xe9\x7e\x35\x7c\x00\x76\xa0\x3a\xf4\x17\x6d\xd5\x01\xd4\x45\xdb\xce\x5d\x58\x1e\x8d\xb6\xf1\xab\x3c\xf4\x9e\xa8\xe1\x4e\xd5\x75\x7d\x9b\x42\x0b\xd8\xb0\x3a\x2e\x47\x76\x3d\xa0\x31\xc9\x8f\xbc\xd8\x85\xa3\xe5\x88\x94\x54\xda\xe8\x1f\xb0\x51\xc7\x92\xcc\x8e\xbe\x2e\xad\xb5\x34\x76\xd2\x2d\x9d\x98\x9e\xc5\x78\xd2\x1d\x89\x99\xec\x89\xbc\x3a\x82\xa1\xc0\xa9\x4c\x4c\xb6\x03\x79\x83\x27\x49\x89\xdb\xc6\x9d\xf3\xcb\x3c\x9e\xbc\x1b\xa7\xc0\xc9\xc8\x3b\x0a\x9f\xa6\x84\x54\x8b\x23\x01\x07\xaf\xed\xe9\x56\x1d\x0b\x36\x73\x9e\xce\x68\x22\x2d\x81\x79\xfa\x67\xa4\x34\x1f\x5c\x52\x4c\x66\x5e\x75\xdd\x53\x33\x87\xa2\xa8\x6d\x20\xdf\x63\x4b\xff\xfe\x8f\x58\x66\x89\x55\x2c\xe5\x6a\x67\x2b\x79\x50\xad\xdf\xca\x6c\xcd\xca\x37\x6a\xa7\xae\x60\x24\x4c\xa0\x9d\x33\x34\xb4\x85\x77\xee\xb6\x4e\x31\xdc\xaf\x47\xc9\x26\x17\xf7\xdb\x99\x9e\xf7\xbc\x4c\x62\x11\x96\xa5\xa3\x65\x23\x1b\x23\x21\x30\xe5\x16\x2c\x92\x27\xe3\x1a\x34\x66\x3e\x40\xb4\x46\x5a\x40\x87\x82\x71\xd7\xa2\x01\x67\xcd\x5c\x44\xd7\x88\x7e\x95\x37\x7f\x12\xd6\x61\x59\x3e\x2f\x5e\xa7\xcf\x3f\x0b\x53\x22\xda\xca\x91\x7c\x66\x34\x6d\xb2\xd9\x58\xf6\xfe\x5a\xdb\xee\xaf\x34\xdf\x3c\xd2\x7c\x58\x87\xc8\x9a\x0b\x19\xe9\x0c\xea\x91\x66\x25\x19\x50\x59\x40\x65\xd5\x0f\xf8\x48\x6f\xdc\x38\xa2\xed\x52\x41\x0f\xdb\x5a\x5d\xc2\x2e\x83\x26\xb5\x6e\x5d\xd7\x6f\xd6\x7f\xc5\xb8\x44\x9a\xc1\x26\xd9\x69\xb3\xa5\xb2\x8b\xc4\x9e\x2a\x8d\x2b\x79\x4e\x93\x15\xd4\xe2\x40\x5e\x91\x5d\x67\x5c\xda\xb2\xbf\x31\xc1\x8f\x20\xe3\x62\xef\x35\xb8\xb4\xe1\x3e\xba\xcd\x77\x8e\x7e\xdb\x76\xd7\x30\xde\xef\xca\x24\xf8\x33\xda\xce\xac\x07\x6d\xc7\x6e\x8f\xff\x68\xf7\x45\x28\x67\xd8\xa9\xdd\x0f\x64\xcc\xa2\xcb\xe9\x9f\xd5\xc0\x21\x63\x5e\x72\x7a\xce\xe3\xfe\x19\x93\x49\x27\x65\x6a\x67\xfb\x17\xd7\xdc\x0b\xff\xd9\x45\x73\x10\xf6\x11\x3a\x17\x43\x79\x22\xef\xe5\xe9\xed\x57\x1d\x56\x11\x69\x71\xf4\xa7\x54\x8b\xf5\x10\x62\x3c\x59\xe3\x75\x04\x7e\xe3\x7e\xad\x4d\x41\x91\x6c\xb8\x93\x77\xd1\x76\x35\xa8\xc5\xad\x2a\x8f\xe4\xbd\x4a\xfb\x42\x65\xe7\x4a\xec\xcb\xd8\xde\xd6\x6b\x70\x69\x15\x7d\x4b\x08\x53\x9d\x9b\x2c\x48\x5d\xae\xf0\x16\xc9\x42\x3d\x06\x9c\xa6\xdc\xfa\xa5\x25\xb7\x68\x64\x66\xc9\xd2\x49\x70\x50\xcb\x61\x55\xf2\x9e\x76\xa4\x3f\xc5\x91\x6c\xb8\x72\x28\xe8\x98\x90\x79\x47\x22\x9e\x30\xd6\x35\xe9\x54\x10\xf0\x42\x90\x57\xbf\x19\xbb\x03\x74\x18\xf0\x6a\x7a\xd8\x0e\x96\x2f\xa4\xc0\xd9\x26\x87\x4e\xaf\x84\xe8\x8b\x6b\x96\x50\xb7\x72\xba\xe9\xda\xb2\x18\x7b\x94\x00\x51\xe4\xab\xcc\xee\x46\x9c\x81\x89\x46\x30\xfa\x51\x76\x35\x8f\xd2\x16\xeb\x26\x59\xd7\xf1\x96\xda\x26\x06\x60\x37\xae\x83\xd9\x35\x5f\xa8\x0d\x5c\xad\xac\xa2\x99\xd3\xf7\x9b\xc6\x80\x67\x82\x51\x86\xe7\x48\x61\x70\x1d\xd7\x57\xd4\x70\xe9\x15\xcc\xac\x34\xdb\xab\x72\x42\xd3\xe5\xa3\xac\x33\x7c\x9e\xec\xa3\x31\xd7\x64\x7c\xb3\x7d\x4c\xec\x39\x91\xe4\x5b\x55\x57\xbf\x17\x15\x26\x2a\x11\xee\x8e\x3a\x39\x66\xbd\x67\xa4\xcf\xd0\x50\xe1\x9d\x10\xdc\xa4\xdb\x3a\x71\xed\x85\x50\x39\xfb\x24\x48\x51\x69\xd3\x20\x7a\x86\x5a\x25\xda\xb4\x82\x37\x33\xac\x4a\xd8\x67\xb4\x35\xbc\x2f\x17\x02\x4f\xd2\x24\x52\xfc\x13\x59\xf2\x69\xe8\x72\xd0\xed\x63\xea\x27\x97\xb9\x7f\xc6\xf4\x88\xe9\x4b\x84\xf5\xaa\x53\xe1\xd9\xe9\x64\x23\x7a\x96\x61\x30\x79\xd7\x18\x1a\xf9\x90\xe6\xd9\x92\x2a\xdd\x97\x3c\xca\x28\xfc\x26\x6d\xc1\x47\xba\x55\x92\x06\x55\xae\x21\x92\xc3\x5f\x22\x87\x4c\x36\x9f\xcf\xb2\x10\x98\xc4\xe6\x74\x80\x8b\xb3\x3f\x84\x62\x7c\x35\x01\x78\x42\x2d\x13\xf3\x37\x5e\x06\xc3\xae\xec\x87\xb5\xae\x89\xc5\xef\x28\x5f\xd9\x57\xc8\xec\x5a\x9d\x18\x7a\x59\xdd\x58\x26\x6b\x33\x17\x06\xb7\x45\x56\xbf\x8e\xbd\x5a\xae\x27\x2b\x57\xd9\x19\x55\x3f\x69\x43\x0f\xf3\x44\x42\xac\x3e\x63\x18\xe4\x53\x6e\xa0\xc2\xae\xf2\x7d\x6a\xc5\x45\xc1\xee\x33\xf0\x2b\x7e\x93\xc1\x8d\x1d\x6d\x6c\x11\x3d\x1d\xaf\xa9\x53\xfd\x21\x53\xa5\x9b\x91\x4f\x32\x3a\xaf\xa8\xca\xb5\xe4\x5b\xef\x9d\xff\x3f\xe4\x7e\x27\xfe\xe8\x3e\x27\x8a\x75\x93\x99\xd6\x32\x43\xe0\x46\x70\x7a\x28\xfb\xe0\x5a\xeb\x4a\xe1\x00\x83\xe6\xe0\xfc\xfc\x90\xe8\xef\x93\x8d\x9b\xbe\xde\x6d\x5c\xb8\x59\xc9\x44\x36\x5d\xe5\xbb\x0b\x94\xbb\x0b\x07\xb4\x1d\xfa\x0e\x16\xf3\x5f\x56\xf0\xfc\x61\x04\xdf\x7d\x77\x80\x1f\xc5\xd4\xf7\xf0\x17\xea\x31\x9a\xb0\xfc\x5e\x51\x55\xbb\x26\x4f\x9c\xbf\xbc\x38\xac\x0d\xdd\x5d\x6b\x24\xd2\x1c\xc8\x4b\x51\x4f\x4e\x1d\xf2\x12\xc1\x18\x5c\x6b\x1c\x93\x4a\x4d\x3c\xa7\x61\x2e\xc7\xce\x57\xcf\xf4\xab\xc9\x0f\x0c\x27\x1d\x86\xd8\x80\xa7\xc9\xb1\x96\xa4\xc0\xdf\xe5\x4a\xf3\x8f\x9b\x21\x84\x89\x8f\x77\x77\x59\xa0\x6e\xdd\x78\xf7\xaf\x99\x3a\xdd\x69\x2c\xbf\x6d\x04\x4f\x74\x37\x22\x07\xf2\x77\x3e\x5a\xb9\xfe\x2f\xbf\x77\xdc\xd6\xd5\xff\x02\x00\x00\xff\xff\xc4\xe7\xe3\xc4\xa2\x11\x00\x00") func runtimeHelpPluginsMdBytes() ([]byte, error) { return bindataRead( @@ -427,7 +427,7 @@ func runtimeHelpPluginsMd() (*asset, error) { return nil, err } - info := bindataFileInfo{name: "runtime/help/plugins.md", size: 4021, mode: os.FileMode(420), modTime: time.Unix(1472092792, 0)} + info := bindataFileInfo{name: "runtime/help/plugins.md", size: 4514, mode: os.FileMode(420), modTime: time.Unix(1472160229, 0)} a := &asset{bytes: bytes, info: info} return a, nil } diff --git a/cmd/micro/settings.go b/cmd/micro/settings.go index c78f0f70..16d390df 100644 --- a/cmd/micro/settings.go +++ b/cmd/micro/settings.go @@ -64,15 +64,19 @@ func AddOption(name string, value interface{}) { } } -// GetOption returns the specified option. This is meant to be called by plugins to add options. +// GetGlobalOption returns the global value of the given option func GetGlobalOption(name string) interface{} { return globalSettings[name] } +// GetLocalOption returns the local value of the given option func GetLocalOption(name string, buf *Buffer) interface{} { return buf.Settings[name] } +// GetOption returns the value of the given option +// If there is a local version of the option, it returns that +// otherwise it will return the global version func GetOption(name string) interface{} { if GetLocalOption(name, CurView().Buf) != nil { return GetLocalOption(name, CurView().Buf) @@ -81,6 +85,7 @@ func GetOption(name string) interface{} { } // DefaultSettings returns the default settings for micro +// Note that colorscheme is a global only option func DefaultGlobalSettings() map[string]interface{} { return map[string]interface{}{ "autoindent": true, @@ -100,6 +105,8 @@ func DefaultGlobalSettings() map[string]interface{} { } } +// DefaultLocalSettings returns the default local settings +// Note that filetype is a local only option func DefaultLocalSettings() map[string]interface{} { return map[string]interface{}{ "autoindent": true, @@ -172,6 +179,7 @@ func SetOption(option, value string) error { return nil } +// SetLocalOption sets the local version of this option func SetLocalOption(option, value string, view *View) error { buf := view.Buf if _, ok := buf.Settings[option]; !ok { diff --git a/runtime/help/commands.md b/runtime/help/commands.md index 2fb4d8cc..31f64cc0 100644 --- a/runtime/help/commands.md +++ b/runtime/help/commands.md @@ -15,8 +15,11 @@ Here are the possible commands that you can use. Note that `search` must be a valid regex. If one of the arguments does not have any spaces in it, you may omit the quotes. -* `set option value`: sets the option to value. Please see the next section for - a list of options you can set. +* `set option value`: sets the option to value. See the `options` help topic + for a list of options you can set. + +* `setlocal option value`: sets the option to value locally (only in the current + buffer). * `run sh-command`: runs the given shell command in the background. The command's output will be displayed in one line when it finishes running. diff --git a/runtime/help/options.md b/runtime/help/options.md index 4c61bdbf..1a413f8b 100644 --- a/runtime/help/options.md +++ b/runtime/help/options.md @@ -10,6 +10,7 @@ Here are the options that you can set: * `colorscheme`: loads the colorscheme stored in $(configDir)/colorschemes/`option`.micro + This setting is `global only`. default value: `default` Note that the default colorschemes (default, solarized, and solarized-tc) @@ -43,6 +44,10 @@ Here are the options that you can set: default value: ` ` +* `filetype`: sets the filetype for the current buffer. This setting is `local only` + + default value: this will be automatically set depending on the file you have open + * `ignorecase`: perform case-insensitive searches default value: `off` @@ -116,3 +121,13 @@ Any option you set in the editor will be saved to the file ~/.config/micro/settings.json so, in effect, your configuration file will be created for you. If you'd like to take your configuration with you to another machine, simply copy the settings.json to the other machine. + +# Global and local settings + +You can set these settings either globally or locally. Locally means that the setting +won't be saved to `~/.config/micro/settings.json` and that it will only be set in +the current buffer. Setting an option globally is the default, and will set the option +in all buffers. + +The `colorscheme` option is global only, and the `filetype` option is local only. To +set an option locally, use `setlocal` instead of `set`. diff --git a/runtime/help/plugins.md b/runtime/help/plugins.md index 49eb5588..051c33c3 100644 --- a/runtime/help/plugins.md +++ b/runtime/help/plugins.md @@ -6,16 +6,19 @@ main script which is run at startup which should be placed in There are a number of callback functions which you can create in your plugin to run code at times other than startup. The naming scheme is -`onAction()`. For example a function which is run every time the user saves +`onAction(view)`. For example a function which is run every time the user saves the buffer would be: ```lua -function onSave() +function onSave(view) ... return false end ``` +The `view` variable is a reference to the view the action is being executed on. +This is almost always the current view, which you can get with `CurView()` as well. + All available actions are listed in the keybindings section of the help. These functions should also return a boolean specifying whether the view @@ -32,42 +35,48 @@ There are a number of functions and variables that are available to you in oder to access the inner workings of micro. Here is a list (the type signatures for functions are given using Go's type system): -* OS: variable which gives the OS micro is currently running on (this is the same +* `OS`: variable which gives the OS micro is currently running on (this is the same as Go's GOOS variable, so `darwin`, `windows`, `linux`, `freebsd`...) -* tabs: a list of all the tabs currently in use +* `tabs`: a list of all the tabs currently in use -* curTab: the index of the current tabs in the tabs list +* `curTab`: the index of the current tabs in the tabs list -* messenger: lets you send messages to the user or create prompts +* `messenger`: lets you send messages to the user or create prompts -* GetOption(name string): returns the value of the requested option +* `GetOption(name string)`: returns the value of the requested option -* AddOption(name string, value interface{}): sets the given option with the given -value (`interface{}` means any type in Go). +* `AddOption(name string, value interface{})`: sets the given option with the given + value (`interface{}` means any type in Go). -* BindKey(key, action string): binds `key` to `action`. +* `SetOption(option, value string)`: sets the given option to the value. This will + set the option globally, unless it is a local only option. -* MakeCommand(name, function string, completions ...Completion): - creates a command with `name` which will call `function` when executed. - Use 0 for completions to get NoCompletion. +* `SetLocalOption(option, value string, buffer *Buffer)`: sets the given option to + the value locally in the given buffer. -* CurView(): returns the current view +* `BindKey(key, action string)`: binds `key` to `action`. -* HandleCommand(cmd string): runs the given command +* `MakeCommand(name, function string, completions ...Completion)`: + creates a command with `name` which will call `function` when executed. + Use 0 for completions to get NoCompletion. -* HandleShellCommand(shellCmd string, interactive bool): runs the given shell -command +* `CurView()`: returns the current view -* JobStart(cmd string, onStdout, onStderr, onExit string, userargs ...string): -Starts running the given shell command in the background. `onStdout` `onStderr` and `onExit` -are callbacks to lua functions which will be called when the given actions happen -to the background process. -`userargs` are the arguments which will get passed to the callback functions +* `HandleCommand(cmd string)`: runs the given command -* JobSend(cmd *exec.Cmd, data string): send a string into the stdin of the job process +* `HandleShellCommand(shellCmd string, interactive bool)`: runs the given shell + command -* JobStop(cmd *exec.Cmd): kill a job +* `JobStart(cmd string, onStdout, onStderr, onExit string, userargs ...string)`: + Starts running the given shell command in the background. `onStdout` `onStderr` and `onExit` + are callbacks to lua functions which will be called when the given actions happen + to the background process. + `userargs` are the arguments which will get passed to the callback functions + +* `JobSend(cmd *exec.Cmd, data string)`: send a string into the stdin of the job process + +* `JobStop(cmd *exec.Cmd)`: kill a job This may seem like a small list of available functions but some of the objects returned by the functions have many methods. `CurView()` returns a view object