]> git.lizzy.rs Git - micro.git/commitdiff
Updating changes to be in-line with master
authorSamantha Marshall <me@samdmarshall.com>
Sat, 22 Apr 2017 18:22:38 +0000 (14:22 -0400)
committerSamantha Marshall <me@samdmarshall.com>
Sat, 22 Apr 2017 18:22:38 +0000 (14:22 -0400)
Merging in master

cmd/micro/runtime.go
runtime/plugins/linter/linter.lua

index 003bda4431ef50701f3812baf1359ba60b2d8209..b838c00f4cc3ce6bec441c4907c47fb96f8515e3 100644 (file)
@@ -1080,7 +1080,7 @@ func runtimePluginsFtoptionsFtoptionsLua() (*asset, error) {
        return a, nil
 }
 
-var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x56\x6d\x8b\xdc\x36\x10\xfe\x7c\xfb\x2b\x06\x51\x83\x7d\x6b\x3b\x6d\xe8\xa7\x05\x53\xd2\x6b\x13\x28\x49\xae\x70\x69\xfb\xa1\x6d\x8a\xd6\x1a\xef\xea\x4e\x96\x8c\x24\xef\x0b\x4b\xfe\x7b\x91\xe4\xf5\xda\x5e\xdf\x91\xd2\x83\x5b\xc9\xd2\x68\x9e\x79\x79\xa4\x19\x5e\xc1\x3b\xb4\xf7\x8d\xe5\x4a\xc6\x44\x70\x69\x51\x93\x04\x8a\x02\x24\x17\x60\xb7\x28\x17\x00\x00\x6f\x18\x9b\xc8\xa4\x60\x75\x8b\xc9\x02\x25\x5b\x2c\x3e\xd0\x27\xbc\x53\x75\x4d\x25\x0b\x02\x24\x85\x4e\x30\x77\x43\xb7\x47\x52\xf8\x36\x59\x2c\xaa\x56\x96\x4e\x17\x0c\xb6\xe2\xc4\xe3\xdc\xb5\xfa\x77\x8e\xfb\x38\x59\x3d\xd0\x1d\xc6\x15\x15\x06\xc3\x8e\x6e\xe5\x7b\xaf\x30\xee\x30\x7b\x2d\xc3\x1d\x27\x29\x54\x49\x05\x54\x16\x8a\x8b\xba\xfc\xc7\xb6\x5a\xbd\xe5\x02\x3f\x1d\x1b\x1c\xcb\x71\x81\x53\xc9\xfc\x57\x6a\xb7\x03\x19\xc6\x35\x14\xf0\x13\xd7\x58\x5a\xa5\x8f\x1f\x69\x8d\xb1\x3b\x17\xf4\xf0\x0a\xee\x1f\x5c\xc4\xc8\x9e\x4b\xa6\xf6\x86\x5c\xe2\xe6\xfe\x18\xee\x64\x2b\x04\x14\x40\x3e\xfe\xf6\x9e\xf8\x75\x14\x06\xfd\xe4\x66\xb0\xfb\x8a\xe1\xee\x95\xfb\xe8\x64\x24\x3b\xeb\x77\xce\x14\x40\x36\x6a\xa2\xda\x05\x30\x26\x1b\xb5\x6e\xb9\x70\xd1\x75\x12\x29\x9c\x48\xff\x9d\xb9\xef\x0e\xe2\x4b\x0a\x24\xaa\x56\x91\x58\x41\x54\x93\xe4\x4a\xc9\x39\x6f\xfd\xec\xe4\x7c\xbc\x9c\x8a\xd8\x72\x70\xd2\x79\x70\xb1\x4c\xb4\x74\xd6\x34\xd1\xd2\x72\x8b\xe5\x93\xe7\xc3\x65\x7e\x22\x59\x26\x55\x56\x2a\xa1\x1c\x93\xbe\x1e\xa7\x39\xda\xad\x92\xb3\x50\xcd\xb1\x12\xf4\x09\x8d\x83\x1a\xcc\x27\x4e\xe4\xd9\xea\x87\x39\xf7\xeb\x63\x73\x74\x27\xbb\x71\x72\x6a\xee\x44\x73\x3c\x07\xac\x9f\x39\xb7\x54\x6b\x9b\xd6\x66\x95\xd2\x35\xb5\x45\x43\xb5\x41\xba\x16\xe8\x93\x91\x69\x6c\x94\xb6\xa6\x90\xea\xca\xeb\xe7\x3c\x2e\xe7\x53\x5e\x96\x3e\x55\x7e\x38\x91\xac\x32\x47\x69\xe9\x21\x53\x52\x78\x37\xb2\x3f\xa8\x10\x61\x82\x07\xab\xe9\x6c\x90\xf3\x73\x9c\x6f\x26\x90\xcb\xe5\x18\xf4\x6b\x30\x49\x66\x2c\x2b\xca\xe5\xf2\xbb\xef\xff\xb3\x01\x37\x37\x33\x8e\x9b\x3d\xaf\xec\xac\xf3\x66\xcf\x6d\xe5\x6d\x39\x94\xba\x95\xde\x1a\x2f\x5d\xbe\xec\xe6\x35\xc6\xfd\xfa\x11\x4b\xcb\x77\x98\xdd\xcd\x22\x95\x82\xca\xcd\x18\xa8\x5f\xfa\x9f\x31\xbf\x36\x86\xcd\x9a\xc0\x6a\x7f\x91\xc3\x70\x22\xe1\xce\x14\xaa\xaa\xc2\xf5\xce\xfc\xb0\x0f\xbf\xdc\x0f\xe3\x28\x44\x71\x24\xa2\xe4\x25\xdc\x47\xba\x9b\xbf\xbc\x6e\xc3\x87\xf9\x3c\x39\x91\xcc\x59\xc1\xb8\xbe\x62\x2f\x6a\xad\xf4\x8b\x10\xa6\xd4\xbc\x99\x4f\xe8\xa3\xd9\x76\x57\xa9\x9f\x0d\x2f\xa0\x93\x42\x88\x44\x9a\x2f\xd3\xe7\x10\x24\xaf\x67\x55\xbb\xf5\x14\xba\xe1\x44\xfa\xc7\x28\xcb\x04\x37\xf6\x6d\x2b\x84\x7b\xeb\x4d\x58\x32\x96\xa9\xd6\x86\xb9\xb3\xc3\xac\x42\x9c\x2f\xb6\xe4\x91\x48\x21\x62\xcb\xfc\xca\x0e\x63\x35\x97\x9b\xbc\xa6\xb6\xdc\xc6\x95\xf5\xf5\xcf\xa2\xa6\x16\x49\x32\xfb\x32\x9e\x77\x83\x64\x97\xdc\x6b\xce\xf4\x30\x92\x4d\xea\x9e\x92\xbe\x46\xee\x38\xee\xfb\x42\x34\x57\xcb\x47\xe0\xd3\x62\xd9\x17\xa2\x71\xf5\xbd\x13\x48\xf5\x1b\x21\xde\xb5\xd6\xa2\xfe\x80\xc6\xd0\x0d\x9a\xf8\x39\x53\xbc\x4b\x01\x30\x85\xb2\x66\x29\x50\xbd\x31\x69\x60\x45\x78\x0a\xa7\xf5\xdd\x23\x4c\xd4\x07\x0d\xc9\xc2\x8b\xfe\xa2\xd6\x0f\x0d\xdd\xcb\x78\xa0\x8f\x90\xee\xbf\xeb\x2d\x94\xfc\xf9\xe0\x63\x77\xc6\x1e\x01\x4e\xc3\xe5\x64\xe3\xf0\x3e\x3f\x73\xe2\x52\xf2\x1d\xe5\x0c\x14\x60\x1a\x31\x38\x44\xfe\x92\xa4\x33\x2f\x88\x69\xdc\xe0\x01\x8a\xa1\x96\xd5\xc6\xb4\xeb\x98\x44\x91\xbf\xa1\x71\x9e\x67\x09\x49\xfa\x45\xff\x40\xc4\x11\x5b\x0e\x17\xeb\x20\xe9\xd6\xbc\xee\x4a\x69\xf8\x27\xf5\xac\xe7\x12\x78\x43\xb9\xf6\xc1\x41\x93\x00\x53\x7d\xba\xb2\x0c\x3e\x69\x5e\xc3\x7e\xcb\x2d\x9a\x86\x96\x38\xe4\x98\xeb\x6a\xdc\xb0\x0a\x94\x24\x9f\x23\x73\xeb\x30\x22\x73\xfb\xcd\xa0\x98\x5d\xa8\x5b\x71\xc9\x3c\x4a\x1a\xdc\x9a\x30\x07\x46\x2d\x93\x0f\x20\xa6\x50\x9b\x8d\x8b\xd2\x90\xfc\x43\x15\xa3\xd3\xbc\x82\x35\x35\x28\x5d\xfb\x74\xdd\x6f\xf9\xa6\xb3\xdf\xf7\xed\xd5\xb5\x01\x63\x0e\x8d\xe8\xd3\xf3\xcf\x2a\xd9\xd6\x6b\xd4\xde\x90\xc4\x9b\x98\xc2\xeb\xb1\x29\xe7\xde\x6a\x38\xbf\xa6\x75\x48\xbe\xb1\x3a\x05\x83\x4d\x32\xca\xbb\x69\x85\xeb\x30\x4f\x5f\x66\xd8\x10\x93\xf8\xcf\xcf\x91\xf9\xdb\x27\x39\xb0\x22\xee\x15\xb8\xe4\x22\x2d\xb7\x2e\xb5\xc6\xea\xd5\x26\x44\xad\x0b\xf9\x20\xbd\xd6\xf5\x0d\x39\x97\x06\xb5\x8d\x03\x60\xea\x4f\x26\xa3\xf6\x50\xa3\x6d\xb5\xec\x2c\x9a\x38\x30\x0e\xe7\xc0\x52\xb7\x78\xc9\x9b\xe7\x61\xc8\x2a\x89\xf3\xdb\x57\x49\x9c\xdf\x26\x8e\x93\xd1\xeb\x8e\x29\x1d\x88\x3b\xe6\x21\xfe\x0d\x00\x00\xff\xff\xa3\xce\x4a\xc8\x37\x0c\x00\x00")
+var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x00\x00\x00\x00\xff\xa4\x56\x6d\x8b\xdc\x36\x10\xfe\x7c\xfb\x2b\x84\xa8\x41\xbe\xb5\x9d\x36\xf4\xd3\x82\x29\xe9\xb5\x09\x94\x24\x57\xb8\xb4\xfd\xd0\x36\x45\x6b\x8d\xbd\xba\x93\x25\x23\xc9\xfb\xc2\x92\xff\x5e\x24\x79\xbd\x7e\xbb\x23\xa5\x07\xb7\x92\xa5\x99\x79\x9e\x79\x91\x34\xbc\x44\xef\xc0\xde\x37\x96\x2b\x49\xb0\xe0\xd2\x82\xc6\x31\xca\x73\x24\xb9\x40\x76\x07\x72\x85\x10\x42\x6f\x18\x9b\xc8\x24\xc8\xea\x16\xe2\x15\x48\xb6\x5a\x7d\xa0\x4f\x70\xa7\xea\x9a\x4a\x16\x04\x70\x82\x3a\xc1\xcc\x0d\xdd\x1e\x4e\xd0\xb7\xf1\x6a\x55\xb6\xb2\x70\xb6\xd0\x60\x8b\xc4\x1e\xe7\xae\xd5\xbf\x73\x38\x90\x78\xf3\x40\xf7\x40\x4a\x2a\x0c\x84\x1d\xdd\xca\xf7\xde\x20\xe9\x30\x7b\x2b\xc3\x1d\x27\x29\x54\x41\x05\x2a\x2d\xca\xaf\xe6\xb2\x1f\xdb\x72\xf3\x96\x0b\xf8\x74\x6a\x60\x2c\xc7\x05\x4c\x25\xb3\x5f\xa9\xdd\x0d\x64\x18\xd7\x28\x47\x3f\x71\x0d\x85\x55\xfa\xf4\x91\xd6\x40\x9c\x5e\xb0\xc3\x4b\x74\xff\xe0\x22\x86\x0f\x5c\x32\x75\x30\xf8\x1a\x37\xf7\xc7\x60\x2f\x5b\x21\x50\x8e\xf0\xc7\xdf\xde\x63\xbf\x0e\xc2\x80\x9f\xdc\x0c\x76\x5f\x31\xd8\xbf\x72\x1f\x9d\x8c\x64\x17\xfb\xce\x99\x1c\xe1\x4a\x4d\x4c\xbb\x00\x12\x5c\xa9\x6d\xcb\x85\x8b\xae\x93\x48\xd0\x19\xf7\xdf\xa9\xfb\xee\x20\xbe\x24\x08\x47\xe5\x26\x12\x1b\x14\xd5\x38\x9e\x19\xb9\xe4\xad\x9f\x9d\x9d\x8f\x57\xad\x88\xad\x07\x9a\xce\x83\x2b\x33\xd1\xd2\x45\x6a\xa2\xa5\xc5\x0e\x8a\x27\x5f\x0f\xd7\xf9\x19\xa7\xa9\x54\x69\xa1\x84\x72\x95\xf4\xf5\x38\xcd\xc9\xee\x94\x5c\x84\x6a\x4e\xa5\xa0\x4f\x60\x1c\xd4\x60\x3e\x71\x22\x4b\x37\x3f\x2c\xb9\x5f\x9f\x9a\x93\xd3\xec\xc6\x89\xd6\x92\x46\x73\xba\x04\xac\x9f\x39\xb7\x54\x6b\x9b\xd6\xa6\xa5\xd2\x35\xb5\x79\x43\xb5\x01\xba\x15\xe0\x93\x91\x6a\x68\x94\xb6\x26\x97\x6a\xe6\xf5\x73\x1e\x17\xcb\x29\x2f\x0a\x9f\x2a\x3f\x9c\x71\x5a\x9a\x93\xb4\xf4\x98\x2a\x29\xbc\x1b\xe9\x1f\x54\x88\x30\x81\xa3\xd5\x74\x31\xc8\xd9\x25\xce\x37\x33\xd0\xf5\x7a\x0c\xfb\x35\xa8\x38\x35\x96\xe5\xc5\x7a\xfd\xdd\xf7\xff\x99\xc2\xcd\xcd\x82\xeb\xe6\xc0\x4b\xbb\xe8\xbe\x39\x70\x5b\x7a\x2e\xc7\x42\xb7\xd2\xb3\xf1\xd2\xc5\xcb\x8e\xce\x31\xee\xb7\x8f\x50\x58\xbe\x87\xf4\x6e\x11\xa9\x10\x54\x56\x63\xa0\x7e\xe9\x7f\x46\x7d\x4e\x86\x2d\x52\x60\xb5\x3f\xca\x61\x38\xe3\x70\x6a\x72\x55\x96\xe1\x80\xa7\x7e\x38\x84\x5f\xee\x87\x71\x14\x22\x12\x89\x28\x7e\x09\xf7\x91\xee\x97\x8f\xaf\xdb\xf0\x61\xbe\x4c\xce\x38\x75\x2c\x18\xd7\xb3\xfa\x05\xad\x95\x7e\x11\xc2\x14\x9a\x37\xcb\x09\x7d\x34\xbb\xee\x30\xf5\xb3\xe1\x11\x74\x52\x80\x22\x91\x64\xeb\xe4\x39\x04\xc9\xeb\x45\xd3\x6e\x3d\x41\xdd\x70\xc6\xfd\x75\x94\xa6\x82\x1b\xfb\xb6\x15\xc2\xdd\xf6\x26\x2c\x19\xcb\x54\x6b\xc3\xdc\xf1\x30\x9b\x10\xe7\x2b\x97\x2c\x12\x09\x8a\xd8\x3a\x9b\xf1\x30\x56\x73\x59\x65\x35\xb5\xc5\x8e\x94\xd6\xbf\x80\x16\x34\xb5\x80\xe3\xc5\xbb\xf1\xb2\x1b\x24\xbb\xe4\xce\x6b\x66\xd9\xdd\x13\xad\xc5\xa2\xbf\x7e\x23\x09\x02\x83\x7b\x29\x5c\x48\xfe\xba\xa2\xda\x74\x57\xd2\x52\x75\x0e\xfc\x92\x6c\xf2\xd4\x2a\xe9\x9f\xe5\x3d\x87\x43\xff\xf6\x2d\xb5\x0f\x23\x5a\xd3\xf7\xb9\x7f\xfb\xc6\x0f\xfe\x9d\x00\xaa\xdf\x08\xf1\xae\xb5\x16\xf4\x07\x30\x86\x56\x60\xc8\x73\x54\xbc\xb3\x01\x30\x41\x45\xcd\x12\x44\x75\x65\x92\x50\x86\xc1\xd9\x69\x4b\xe1\x11\x26\xe6\x83\x85\x78\xe5\x45\x7f\x51\xdb\x87\x86\x1e\x24\x19\xd8\xc3\xb8\xfb\xef\xda\x19\x25\x7f\x3e\xfa\x64\x5d\xb0\x47\x80\xd3\x70\x39\x59\x12\x9e\x84\x67\x34\xae\x5d\x86\xab\x71\x83\x72\x64\x1a\x31\x50\xc2\x7f\x49\xdc\xd1\x0b\x62\x1a\x2a\x38\xa2\x7c\x68\x65\x53\x99\x76\x4b\x70\x14\xf9\x2b\x81\x64\x59\x1a\xe3\xb8\x5f\xf4\xd5\x40\x22\xb6\x1e\x2e\xd6\x41\xd2\xad\x79\xdb\xa5\xd2\xe8\x9f\xc4\x1f\x33\x2e\x11\x6f\x28\xd7\x3e\x38\x60\x62\xc4\x54\x9f\xae\x34\x45\x9f\x34\xaf\xd1\x61\xc7\x2d\x98\x86\x16\x30\xac\x3e\xd7\x48\xb9\x61\x13\xce\x00\xfe\x1c\x99\x5b\x87\x11\x99\xdb\x6f\x06\xef\xe7\xf5\xac\x94\x5c\x32\x8f\x92\x04\xb7\x26\x95\x83\x46\x5d\x9a\x0f\x20\x24\xa8\x36\x95\x8b\xd2\xf0\xb4\x0d\x4d\x8c\xb4\x79\x89\xb6\xd4\x80\x74\x1d\xdb\xbc\xc5\xf3\x7d\x6e\xbf\xef\x3b\xba\x39\x81\x71\x0d\x8d\xca\xa7\xaf\x3f\xab\x64\x5b\x6f\x41\x7b\x22\xb1\xa7\x98\xa0\xd7\x63\x2a\x97\x76\x6e\x38\x9f\x97\x75\x48\xbe\xb1\x3a\x41\x06\x9a\x78\x94\x77\xd3\x0a\xd7\xd4\x9e\xbf\x2c\x54\x03\xc1\xe4\xcf\xcf\x91\xf9\xdb\x27\x39\x54\x05\xe9\x0d\xb8\xe4\x02\x2d\x76\x2e\xb5\xc6\xea\x4d\x15\xa2\xd6\x85\x7c\x90\x5e\xeb\xee\x85\x8c\x4b\x03\xda\x92\x00\x98\x78\xcd\x78\xd4\x91\x6a\xb0\xad\x96\x1d\xa3\x89\x03\xe3\x70\x0e\x98\xba\xc5\x6b\xde\x7c\x1d\x86\xac\x62\x92\xdd\xbe\x8a\x49\x76\x1b\xbb\x9a\x8c\x5e\x77\x95\xd2\x81\x38\x35\x0f\xf1\x6f\x00\x00\x00\xff\xff\x2b\xaf\x8d\x1f\xaa\x0c\x00\x00")
 
 func runtimePluginsLinterLinterLuaBytes() ([]byte, error) {
        return bindataRead(
index db0cf8fc62f1570233820fd06db6e86aabb635f3..746428431b19ef91dd706a038b62b5a890e88f90 100644 (file)
@@ -29,7 +29,7 @@ function runLinter()
         lint("pylint", "pylint", {"--output-format=parseable", "--reports=no", file}, "%f:%l: %m")
     elseif ft == "c" then
         lint("gcc", "gcc", {"-fsyntax-only", "-Wall", "-Wextra", file}, "%f:%l:%d+:.+: %m")
-       elseif ft == "c++" then
+         elseif ft == "c++" then
        lint("gcc", "gcc", {"-fsyntax-only","-std=c++14", "-Wall", "-Wextra", file}, "%f:%l:%d+:.+: %m")                
     elseif ft == "swift" then
         lint("switfc", "xcrun", {"swiftc", file}, "%f:%l:%d+:.+: %m")
@@ -45,6 +45,8 @@ function runLinter()
         lint("nim", "nim", {"check", "--listFullPaths", "--stdout", "--hints:off", file}, "%f.%l, %d+. %m")
     elseif string.match(ft, "literate") then
         lint("literate", "lit", {"-c", file}, "%f:%l:%m")
+    elseif ft == "yaml" then
+        lint("yaml", "yamllint", {"--format", "parsable", file}, "%f:%l:%d+:.+ %m")
     end
 end