adding nim linter and syntax

This commit is contained in:
Samantha Marshall
2017-01-26 14:19:07 -05:00
parent f7560c3311
commit 15ab0b2fed
3 changed files with 48 additions and 2 deletions

View File

@@ -80,6 +80,7 @@
// runtime/syntax/mpdconf.micro
// runtime/syntax/nanorc.micro
// runtime/syntax/nginx.micro
// runtime/syntax/nim.micro
// runtime/syntax/objc.micro
// runtime/syntax/ocaml.micro
// runtime/syntax/pascal.micro
@@ -309,7 +310,7 @@ func runtimeColorschemesGruvboxMicro() (*asset, error) {
return a, nil
}
var _runtimeColorschemesMonokaiMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x92\xc1\x6e\x83\x30\x10\x44\xef\xfd\x0a\xcb\xbe\x86\xa8\x21\x89\x21\x47\x28\xf0\x1f\x06\x36\xa9\x55\x63\xa3\xb5\xad\x2a\x7f\x5f\x2d\xa5\x52\x22\xb9\xb4\xec\xc5\x12\xcf\xc3\xec\x30\x83\x33\x0e\x33\xa3\xed\x07\x1b\xe1\xaa\xa2\x09\x8c\x8b\xae\xec\xca\x2e\xdf\x89\xbc\xa4\xe1\x2f\x0f\xd0\xe0\xa6\x09\x2c\x41\xc5\xb9\x38\x9c\xdb\x24\xa4\x47\xb0\x41\x5f\x35\x20\xe3\x42\xca\xe6\xd2\x76\xbf\x88\x59\x1f\xd4\xa2\x56\xb5\xe5\xa1\xdb\xa6\xf6\x3e\xa0\xb6\x37\xc6\x45\x2b\x9b\xba\x38\xfd\x07\xde\x0f\xef\x8a\x4c\xd4\x4d\x2b\xab\x26\x79\xc3\xdf\xa7\xde\x19\xda\xfa\x92\xcb\x22\xbd\xb5\x9b\x01\x55\x70\xb8\x4d\xcd\x08\x33\xba\x81\x71\xf1\x56\x9f\xea\x83\x4c\x42\xe1\x3e\xc3\x76\x2a\x7e\x86\x41\x2b\x72\x54\xc9\x36\xcf\xd3\x11\x47\x3b\x02\x1a\x6d\x61\x64\x5c\x34\xc7\xa3\x2c\xd3\x9e\x00\x91\x6c\xf7\xce\x8c\x6c\xd3\x96\x1b\xdd\x0f\xb6\x21\xe7\x83\x0a\xd1\xd3\x77\x19\x5f\xdf\xef\xd6\xba\x3c\x37\xc0\x52\x05\xb2\x35\xfd\xf3\x2b\x4d\x52\x90\xa4\x32\x1b\xa7\x7e\xe9\x4a\xb5\x3c\x3b\x71\xcc\x69\x9e\x7f\x6c\x44\x24\xc9\xf4\x85\x84\xf2\x2d\x86\x00\x98\xad\x01\x6c\xed\xbe\x92\x9f\x0a\xed\xdf\xfd\x8a\xe8\xbf\xcf\x94\x40\xca\xe7\x72\x1c\x9c\x89\x93\x7d\x20\xbe\x02\x00\x00\xff\xff\x8d\x6b\xa4\x59\x68\x03\x00\x00")
var _runtimeColorschemesMonokaiMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x8c\x92\xdd\x6e\x83\x30\x0c\x85\xef\xf7\x14\x51\x72\x5b\xaa\x95\xb6\x81\x5e\xc2\x80\xf7\xe0\xc7\xed\xa2\x85\x04\x39\x89\xa6\xbe\xfd\x64\xc6\xa4\x56\xca\xb2\xe1\x9b\x48\x7c\x39\xb6\x4f\xce\x68\xb5\xc5\x4c\x2b\xf3\xc1\x26\xb8\xf6\x41\x7b\xc6\x45\x57\x76\x65\x97\xef\x44\x5e\x52\xf1\x97\x07\x68\xb4\xf3\x0c\x86\xa0\xe2\x5c\x1c\xce\x6d\x14\x52\x13\x18\xaf\xae\x0a\x90\x71\x21\x65\x73\x69\xbb\x5f\xc4\x8c\xf3\xfd\xaa\x56\xb5\xe5\xa1\x4b\x53\x7b\xe7\x51\x99\x1b\xe3\xa2\x95\x4d\x5d\x9c\xfe\x03\xef\xc7\xf7\x9e\x86\xa8\x9b\x56\x56\x4d\xf4\x86\xf3\xbd\x87\x6d\xa7\xee\x92\xcb\x22\xbe\xb8\xbb\xcf\x83\xd5\x69\x66\x41\x58\xd0\x8e\x8c\x8b\xb7\xfa\x54\x1f\x64\x14\xf2\xf7\x05\xd2\xb6\xb8\x05\x46\xd5\x53\xaf\x4a\xb6\x79\x1e\xf7\x38\x98\x09\x50\x2b\x03\x13\xe3\xa2\x39\x1e\x65\x19\x9f\x09\x10\x2d\x32\x3e\x58\x3d\xb1\xe4\x58\x76\xb2\x3f\x58\x42\x8e\xdc\x0a\x8e\xfa\x32\xbe\xfd\xdf\x6d\x79\x79\x8e\x80\xa1\x0c\x64\x9b\xfd\xe7\x57\xaa\xa8\x20\x49\x65\x26\xcc\xc3\x1a\x96\x6a\xfd\x76\xe2\x98\x53\x3d\xbf\x6c\x40\x24\xc9\xf8\x85\x88\xf2\x2d\x78\x0f\x98\x6d\x06\xa4\x76\xdf\xc8\xcf\x1e\xcd\xdf\x01\x0b\xe8\xbe\xcf\xe4\x40\x6c\xce\xf5\x38\x5a\x1d\x66\xf3\x40\x7c\x05\x00\x00\xff\xff\xe4\x96\xda\x25\x69\x03\x00\x00")
func runtimeColorschemesMonokaiMicroBytes() ([]byte, error) {
return bindataRead(
@@ -589,7 +590,7 @@ func runtimePluginsFtoptionsFtoptionsLua() (*asset, error) {
return a, nil
}
var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\x5d\x6f\xa4\x36\x14\x7d\x9f\x5f\x61\x59\x45\x32\x59\x20\xd5\x3e\x8e\x84\xaa\x6d\xba\x5d\xb5\xda\x34\x51\x93\xb6\x0f\x6d\xb7\xf2\xc0\x85\xf1\xc6\xd8\xc8\x36\xf3\xa1\xd1\xfe\xf7\xea\xda\x0c\x03\x0c\x59\xf5\xa1\x91\x32\x36\xf6\xf5\x39\xd7\xe7\x1e\x6c\x44\x45\x3e\x80\x7b\x68\x9d\xd0\x8a\x51\x29\x94\x03\x43\x63\x92\xe7\x44\x09\x49\xdc\x16\xd4\x8a\x10\x42\xde\x95\xe5\x2c\x26\x21\xce\x74\x10\xaf\x40\x95\xab\xd5\x3d\x7f\x81\x3b\xdd\x34\x5c\x95\x21\x80\x26\xa4\x0f\xcc\xb0\xe9\xe7\x68\x42\xbe\x8d\x57\xab\xaa\x53\x05\x62\x91\xd1\x14\x8b\x3d\xcf\x5d\x67\x7e\x17\xb0\x67\xf1\xfa\x89\xef\x80\x55\x5c\x5a\x08\x33\xa6\x53\x1f\x3d\x20\xeb\x39\x07\x94\xf1\x0c\x46\x4a\x5d\x70\x49\x2a\x47\xf2\x0b\x5c\xf6\x7d\x57\xad\x7f\x14\x12\x9e\x8f\x2d\x4c\xe3\x84\x84\x79\x64\xf6\xc8\xdd\x76\x14\x53\xc2\x4e\x75\x52\x92\x9c\xd0\xdb\x12\x76\xb7\xf8\x40\x47\xf3\x0e\x9a\x96\xe4\x44\xdb\xac\x06\x07\x6a\xc7\xe8\xf3\xfd\xe3\x0f\x3f\xfd\x4a\x03\x91\xa8\xc8\xc3\x13\x4a\x4a\xf7\x42\x95\x7a\x6f\xe9\x45\x58\xfc\x1b\xc1\xff\xf2\xdb\x47\x3a\x8c\x2f\xc0\xbe\xbf\x7f\xec\x41\x51\x83\x1e\x1c\xb7\x9a\x13\x5a\xeb\x19\x2e\xca\xcb\x68\xad\x37\x9d\x90\xa8\x3d\x46\x24\xe4\x44\x87\xe7\x14\x9f\x7b\xf6\x2f\x09\xa1\x51\xb5\x8e\xe4\x9a\x44\x4d\xcf\x31\x06\x39\x57\x75\xe8\x9d\xae\x25\xbb\x60\x44\xe5\x9b\x11\x0e\x48\x0b\x97\x3c\x65\xc7\x17\x13\x95\x1d\x2f\xb6\x50\xbc\x78\xef\x5c\xfa\x27\x9a\xa6\x4a\xa7\x85\x96\x1a\x5d\x87\xf5\xfa\x6f\x3c\xed\xd1\x6d\xb5\x5a\xa4\x6a\x8f\x95\xe4\x2f\x60\x91\x6a\xd4\x3f\x4d\xc1\xb3\x74\xfd\xdd\x92\x18\xcd\xb1\x3d\xe2\xca\xbe\x9d\xad\x5a\x5a\xd1\x1e\xcf\xf2\x0d\x3d\xdc\x96\xee\x5c\xdb\xb9\xb4\xd2\xa6\xe1\x2e\x6f\xb9\xb1\xc0\x37\x12\x7c\x69\x52\x03\xad\x36\xce\xe6\x4a\x5f\xed\xfa\xb5\x1d\x17\xcb\x06\x28\x0a\x5f\x38\xdf\x9c\x68\x5a\xd9\xa3\x72\xfc\x90\x6a\x25\xfd\x36\xd2\x3f\xb8\x94\xa1\x03\x07\x67\xf8\xa2\xc8\xd9\xeb\x3a\x3f\x6c\x3e\x43\xe1\xc4\x0e\xd2\xbb\x45\xfe\x42\x72\x55\x23\xfe\xa1\x30\x9d\xf2\x39\x0c\x43\xff\x7b\x32\xe5\x62\x0a\x65\xe3\xfd\x1e\x9a\x13\x0d\x66\xca\x75\x55\x85\xb7\x20\xf5\xcd\x3e\xfc\x0a\xdf\x14\x13\xe2\x88\x45\x32\x8a\xbf\xc6\xfb\x99\xef\x96\x5d\x8d\x13\x5e\xff\x73\xe7\x44\x53\xcc\x02\x5f\xee\xab\xba\x82\x31\xda\x7c\x95\xc3\x16\x46\xb4\x6e\x99\xc9\x6e\x7b\x93\x0d\xbd\xb1\x35\x31\x0a\x48\x24\x93\xec\x4d\x32\x62\x50\xe5\xec\x38\xd5\xca\x1f\xbd\x3b\x01\xfb\xe1\xf8\x5a\xba\x22\x26\x19\xcc\xcf\x60\x4c\x7c\x98\xbc\x1c\xea\x77\x12\xb8\x79\x27\xe5\x87\xce\x39\x30\xf7\x60\x2d\xaf\xc1\xb2\xd7\x52\xf1\xfb\x0a\x84\x09\x29\x9a\x32\x21\xdc\xd4\x36\x09\x32\x85\xb7\x66\x7e\x6d\x78\x86\x19\x7c\x40\x88\x57\x3e\xf4\x67\xbd\x79\x6a\xf9\x5e\xb1\x11\x1e\xa5\xfd\x7f\x7f\x65\x69\xf5\xfe\x20\x50\xbf\x33\xf7\x84\x70\x2e\x17\xc6\xb2\xf0\x2a\xbf\xb2\xe2\x72\x53\x60\x0d\x2c\xc9\x89\x6d\xe5\x68\x11\xfd\x4b\xd1\x3e\xbd\x10\x66\xa0\x86\x03\xc9\xc7\x28\xeb\xda\x76\x1b\x46\xa3\xc8\x7b\x96\x65\x59\x1a\xd3\x78\x18\xf4\xaf\x0c\x8b\xca\x37\xe3\xc1\x26\x44\xe2\x98\xc7\xae\xb4\x21\xff\x24\xde\x06\x42\x11\xd1\x72\x61\xbc\x38\x60\x63\x52\xea\xa1\x5c\x69\x4a\x9e\x8d\x68\xc8\x7e\x2b\x1c\xd8\x96\x17\x30\x36\x1a\x5e\x96\xd8\xac\x1b\xee\x8a\x2d\xa3\x9f\x22\x7b\x83\x1c\x91\xbd\xf9\x66\x74\xee\x89\x8a\x58\x67\x84\xaa\xb3\x4a\xa8\xd2\xb3\x24\x61\x5b\x33\xe7\x4c\x6f\x62\x2f\x20\x24\xa4\xb1\x35\xaa\x14\x10\x02\xd3\x18\x62\xb2\x5a\x54\x64\xc3\x2d\x28\xde\x00\xbb\xbe\x93\xfc\xb7\xcc\x30\x8f\x1c\x0b\x09\x4c\x3d\x34\xb1\xcf\xe0\x3f\xa7\x55\xd7\x6c\xc0\xf8\x44\x62\x9f\x62\x42\xde\x4e\x53\x39\x5f\xca\xe3\xfe\xb5\xad\x43\xf1\xad\x33\x09\xb1\xd0\xc6\x93\xba\xdb\x4e\xe2\x87\xcb\xe9\xcb\x82\x1b\x18\x65\x7f\x7e\x8a\xec\xdf\xbe\xc8\xc1\x15\x6c\x00\xc0\xe2\x02\x2f\xb6\x58\x5a\xeb\xcc\xba\x0e\xaa\xf5\x92\x8f\xca\xeb\xf0\x8a\xc9\x84\xb2\x60\x1c\x0b\x84\x89\x5f\x39\xfd\xae\x30\xe0\x3a\xa3\xfa\x8c\x66\x1b\x98\xca\x39\xca\x14\x07\x2f\x75\xf3\x3e\x0c\x55\xa5\x2c\xbb\xb9\x8d\x59\x76\x13\xa3\x27\xa3\xb7\xbd\x53\x7a\x12\x5c\xe6\x29\xfe\x0d\x00\x00\xff\xff\x00\xb2\xec\x6a\x8e\x0a\x00\x00")
var _runtimePluginsLinterLinterLua = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\xac\x56\x51\x6f\xa4\x36\x17\x7d\x9f\x5f\x61\x59\x1f\x92\x49\x80\x7c\xda\xc7\x91\x50\xb5\x4d\x77\x57\xad\x36\x4d\xd4\xa4\xed\x43\xd3\xad\x3c\x70\x61\x9c\x18\x1b\xd9\x66\x26\xa3\xd1\xfe\xf7\xea\xda\x84\x01\xc2\xac\x5a\xa9\x23\x25\x36\xf6\xf5\x39\xd7\xe7\x1e\x6c\x44\x45\x3e\x81\xbb\x6d\x9d\xd0\x8a\x51\x29\x94\x03\x43\x63\x92\xe7\x44\x09\x49\xdc\x16\xd4\x8a\x10\x42\xde\x97\xe5\x2c\x26\x21\xce\x74\x10\xaf\x40\x95\xab\xd5\x0d\x7f\x86\x6b\xdd\x34\x5c\x95\x21\x80\x26\xa4\x0f\xcc\xb0\xe9\xe7\x68\x42\xfe\x1f\xaf\x56\x55\xa7\x0a\xc4\x22\xa3\x29\x16\x7b\x9e\xeb\xce\xfc\x26\x60\xcf\xe2\xf5\x3d\xdf\x01\xab\xb8\xb4\x10\x66\x4c\xa7\x3e\x7b\x40\xd6\x73\x0e\x28\xe3\x19\x8c\x94\xba\xe0\x92\x54\x8e\xe4\x27\xb8\xec\xfb\xae\x5a\x7f\x14\x12\x1e\x0e\x2d\x4c\xe3\x84\x84\x79\x64\x76\xc7\xdd\x76\x14\x53\xc2\x4e\x75\x52\x92\x9c\xd0\xab\x12\x76\x57\xf8\x40\x47\xf3\x0e\x9a\x96\xe4\x44\xdb\xac\x06\x07\x6a\xc7\xe8\xc3\xcd\xdd\x0f\x3f\xfe\x42\x03\x91\xa8\xc8\xed\x3d\x4a\x4a\xf7\x42\x95\x7a\x6f\xe9\x49\x58\xfc\x8d\xe0\x7f\xfe\xf5\x33\x1d\xc6\x17\x60\x3f\xdc\xdc\xf5\xa0\xa8\x41\x0f\x8e\x5b\xcd\x09\xad\xf5\x0c\x17\xe5\x65\xb4\xd6\x9b\x4e\x48\xd4\x1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\xdb\x1b\x79\xe8\x8d\xed\x8f\x51\x40\x22\x99\x64\x97\xc9\x39\x06\x25\x9a\x45\x68\x1c\x4f\x48\xdf\x1c\xe9\x70\x14\xa4\xa9\x14\xd6\x7d\xec\xa4\xc4\x23\xc6\x86\x21\xeb\x4a\xdd\xb9\xd0\xc7\x3c\xec\x3a\x08\x7d\xca\xe5\xf1\x91\x45\x32\x21\x51\xf9\xf8\x18\x93\xa9\xa8\xaa\x9c\xdd\x20\x5a\xf9\xdb\x66\x27\x60\x3f\x9c\xd8\x4b\xb7\xe2\x24\xeb\xf9\xb5\x83\xbb\x1c\x26\x4f\xf7\xd8\xb5\x04\x6e\xde\x4b\xf9\xa9\x73\x0e\xcc\x0d\x58\xcb\x6b\xb0\xec\x5c\x2a\x5e\x8b\x40\x98\x90\xa2\x29\x13\xc2\x4d\x6d\x93\x50\xb5\x70\x50\xcc\x6f\x4a\xcf\x30\x83\x0f\x08\xf1\xca\x87\xfe\xa4\x37\xf7\x2d\xdf\x2b\x36\xc2\xa3\xb4\xff\xeb\x6f\x69\xad\x3e\xbc\x08\x14\xf4\x95\x7b\x42\x38\x97\x0b\x63\x59\x38\xbd\xce\xac\x38\x5d\x8e\x68\x09\x4b\x72\x62\x5b\x39\x5a\x44\x1f\x15\xed\xd3\x0b\x61\x06\x6a\x78\x21\xf9\x18\x65\x5d\xdb\x6e\xc3\x68\x14\xf9\x57\x88\x65\x59\x1a\xd3\x78\x18\xf4\x6f\x30\x8b\xca\xcb\xf1\x60\x13\x22\x71\xcc\x63\x57\xda\x90\xbf\x12\xef\x4a\xa1\x88\x68\xb9\x30\x5e\x1c\xb0\x31\x29\xf5\x50\xae\x34\x25\x0f\x46\x34\x64\xbf\x15\x0e\x6c\xcb\x0b\x18\x9b\x13\xbf\x0f\xb0\x59\x37\xdc\x15\x5b\x46\xbf\x44\xf6\x02\x39\x22\x7b\xf1\xbf\xd1\x51\x2f\x2a\x62\x9d\x11\xaa\xce\x2a\xa1\x4a\xcf\x92\x84\x6d\xcd\x9c\x83\xbf\xd6\x60\xa1\xc3\xec\x64\xe2\xf4\x55\xe2\x95\x85\x84\x34\xb6\x46\xf9\x02\x74\x48\x61\x8c\x3d\x59\x2d\x2a\xb2\xe1\x16\x14\x6f\x80\xbd\xbd\x9f\xfd\x77\xdd\x30\x8f\x1c\x0b\x99\x4d\xcd\x35\xf1\xd5\x60\x4c\xa7\x55\xd7\x6c\xc0\xf8\x44\x62\x9f\x62\x42\xde\x4d\x53\x79\xfd\x40\x19\xf7\xdf\xfa\x3d\xb8\xc2\x3a\x93\x10\x0b\x6d\x3c\x31\x84\xed\x24\x7e\xc4\x1d\xbf\x2e\xd8\x84\x51\xf6\xc7\x97\xc8\xfe\xe9\xab\x1f\xec\xc2\x06\x00\xac\x3a\xf0\x62\x8b\x35\xb7\xce\xac\xeb\xa0\x5a\x5f\x8b\x51\xdd\x1d\x5e\xb7\x99\x50\x16\x0c\x16\x03\x09\x13\xbf\x72\xfa\x8d\x65\xc0\x75\x46\xf5\x19\xcd\x36\x30\x95\x73\x94\x29\x0e\x9e\xea\xe6\x0d\x1a\xaa\x4a\x59\x76\x71\x15\xb3\xec\x22\x46\xb3\x46\xef\x7a\x0b\xf5\x24\xb8\xcc\x53\xfc\x1d\x00\x00\xff\xff\x3b\x0c\x99\xb2\x9a\x0b\x00\x00")
func runtimePluginsLinterLinterLuaBytes() ([]byte, error) {
return bindataRead(
@@ -1789,6 +1790,26 @@ func runtimeSyntaxNginxMicro() (*asset, error) {
return a, nil
}
var _runtimeSyntaxNimMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x5c\x54\x51\x8f\x15\xb7\x0e\x7e\xe7\x57\xcc\x0d\xdc\x0b\x7b\x10\xe7\xb6\x80\x50\xbb\x2a\xa5\x12\xd0\xbe\x54\x45\xea\xf2\xb6\x73\x90\x3c\x89\xe7\x8c\xd9\x24\x4e\x1d\xcf\xd9\x3d\x60\xfa\xdb\xab\xcc\x1c\x16\xca\xcb\x17\x47\x9e\x89\xed\xcf\x9f\x5d\x8f\x59\xe1\xa6\x73\x99\x92\xeb\x5c\xbf\xcd\x94\xee\xb9\x3b\x77\x3c\x47\x96\xae\x2a\x28\x26\xcc\xda\xb9\x7e\x78\x00\x21\x88\x41\x0e\x06\xd5\xa0\x26\x03\xe5\x44\xde\x06\xca\xc1\x86\xc8\xfe\xca\x06\x41\xb8\x32\x0f\x15\x1b\xa8\x79\xce\x1e\xcb\x72\xae\x37\xa5\x3c\x63\x33\x0e\x28\x8a\x62\x01\xc7\x86\x54\x3d\x48\x68\xa7\x52\xf6\x6a\x81\x0e\x16\xd8\x30\xd2\x68\x18\x2b\x1a\xe6\x60\x98\xe7\x64\x78\xb3\x3c\x88\x37\x85\x45\x6d\xa4\x0c\x31\x1e\x6d\x64\xb1\x51\x38\xd9\x38\x67\x6f\x7b\xcc\x28\xe4\x8d\x46\xa3\xb4\x7c\x47\xd9\x28\xfb\x38\x07\x34\xca\x8a\x32\x82\x47\xa3\x6a\x54\x33\xab\x91\xa2\x80\xb2\x58\x44\xb5\x04\x5e\xd8\x12\xea\xc4\xc1\x12\xdd\x50\xb6\xc4\xc1\x32\x45\x6b\xdf\x66\x56\xca\xc6\xc3\x7b\xf4\x6a\x3c\x1a\x8b\xf1\xac\x56\x84\xbd\x15\x15\x13\xa0\x8a\x26\x38\x9a\xa0\xce\x92\xad\x4e\xd1\xea\x24\xd6\xa8\x24\x6f\x8a\xa9\x44\x50\x34\x95\xa3\xe9\x5c\x22\x9a\x1e\x0b\xda\x5c\x29\xef\xed\x00\x62\xd7\x13\x66\xbb\x9e\x28\xa2\x5d\x93\x4e\x0b\xb4\x10\x37\x2c\x76\x24\x8c\xe1\xac\x1f\xbe\x34\xa8\xa0\x27\x88\x9d\xeb\x3f\xf6\xdb\xcb\x77\x9f\x76\x9b\x7e\xdb\x7f\x72\x27\x6f\x11\x6c\x89\x75\xee\x63\xbf\xdd\x6e\xfa\xe1\x41\xc0\x22\xe8\x41\x31\x58\xe6\x0b\x0a\xf8\x7a\x1c\x5b\x21\x4b\x7f\x64\xf6\x8d\x84\x80\xb7\x26\x1f\x50\x84\x02\x2e\xe5\xb5\xdc\x3c\xa7\x42\x11\xdf\x52\x42\xcb\xfc\xe7\x5a\x21\xf8\xa3\x8f\xe4\xd7\x66\x58\x9d\x20\x46\xbe\xb6\x32\x0b\x36\x95\xfc\xc1\x17\x0a\xfe\xea\x57\x81\x84\x86\x22\xad\x53\xa0\x10\xed\x1a\x24\xb7\x9a\x27\xca\x6a\x91\x32\x2e\x00\x72\xe1\x21\xbf\xce\x61\x89\x35\x2b\x86\xdf\x58\xd9\xe6\x2c\x1c\xa3\x51\x4a\x18\xa8\xd1\xe7\x27\xf4\x57\xd5\x06\x9e\x73\xa8\x2f\xd7\x4b\x4b\x77\x8c\x7c\x7d\xba\x66\x8a\x27\x0b\x6a\x45\x69\xfc\x73\xae\x9f\xe3\xd6\x25\x70\x35\x2e\x4a\x89\x3e\x2c\x4e\x2b\xa0\x8a\x92\xab\x79\x88\xb1\xa9\xd4\xca\x5c\x27\x2b\x5c\x6c\x1f\x79\x80\x68\x45\x60\x9f\xa0\xe9\x0f\x85\xda\x64\x40\xb4\x81\xb4\xd2\x07\xb4\x03\x47\xd0\xd6\xb7\xcc\xaf\xd0\x47\x9b\x10\x02\x4a\x53\x1e\xa7\x12\x51\xf1\x62\x21\xf6\x33\x8b\xad\xde\x2b\x2b\x50\xeb\xcb\x05\x7f\x37\x4c\xa4\x27\xc9\xfa\xcf\x67\x29\x27\x8b\x87\xf7\xde\x3c\x07\xdc\x63\x5e\x9e\xa7\xdc\x44\x78\xa1\xa9\xe9\x5b\x03\x8e\x8d\xc3\xaa\x72\xb2\x0e\x20\x20\xfb\x7a\x1a\x15\x6f\x78\xd3\x4a\xb3\xe1\xe8\xb9\x1c\x6d\x38\x36\x8d\xce\x79\xad\xda\x5f\x61\xb0\x39\x2f\xa4\x62\xb0\x70\xcc\x91\x06\xf3\xa1\x85\xd1\x49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x00\xff\xff\xf2\x64\x25\xb9\x3c\x06\x00\x00")
func runtimeSyntaxNimMicroBytes() ([]byte, error) {
return bindataRead(
_runtimeSyntaxNimMicro,
"runtime/syntax/nim.micro",
)
}
func runtimeSyntaxNimMicro() (*asset, error) {
bytes, err := runtimeSyntaxNimMicroBytes()
if err != nil {
return nil, err
}
info := bindataFileInfo{name: "runtime/syntax/nim.micro", size: 0, mode: os.FileMode(0), modTime: time.Unix(0, 0)}
a := &asset{bytes: bytes, info: info}
return a, nil
}
var _runtimeSyntaxObjcMicro = []byte("\x1f\x8b\x08\x00\x00\x09\x6e\x88\x00\xff\x74\x54\xdf\x73\xdb\x36\x0c\x7e\xcf\x5f\xa1\xd1\xdd\x2a\xb9\xb3\xdd\xfd\xb8\xde\x9a\xb5\x71\xd2\x5c\xba\xf5\x2e\x4b\x76\xcb\xfa\xb0\x8a\x8a\x8e\xa2\x20\x9b\x0d\x45\x6a\x24\x18\xc7\x19\xfa\xbf\xef\x28\xdb\x4d\x9c\x38\x2f\x36\x09\x7d\x00\x3e\xe2\x03\x30\x18\x24\xbf\x83\x83\x44\xf9\x44\x98\x04\x6e\x44\xdb\x69\x48\x1a\xeb\x92\xf3\xea\xf3\xe8\x78\xbc\x37\x18\xec\xf9\xa5\x41\x71\x93\xb0\xf3\xea\x33\x48\x54\xd7\x30\x3a\x66\x09\xe3\xe3\xb4\xa5\xb6\xa5\x79\xf6\x8c\xed\xed\x49\xab\xad\x4b\x70\xd9\x41\xc2\x78\x95\x36\xda\x0a\xa4\xda\x86\x4a\x03\x1d\xff\xf6\xbe\xbf\xaa\x9a\x2a\x6b\x35\xbd\x3b\x3f\x3f\xa5\x77\xd6\x6a\x10\x86\xe4\x5c\x38\x52\x06\xc9\xcf\xad\x43\xd2\xd6\xcc\xc8\xab\x5b\xb0\x0d\x81\x09\x2d\x5d\x5b\x55\x93\x47\x81\x4a\x92\xb4\xc6\x23\x79\x74\x41\x22\x05\xa3\xac\xa1\x98\xb1\x86\x86\xe0\x06\xc1\x19\x4a\x83\xc9\xa6\x5e\xcd\x0c\xd4\xa4\x8c\x56\x06\xe8\x58\x0b\xef\xe9\xe2\xe4\x94\x3e\xfc\xf1\x27\x9d\x5d\xa4\x1f\xb3\xe9\x07\x83\x30\x03\x97\xf1\x8a\x3d\x64\x9e\xfa\x69\x4c\x9f\x51\x9a\x86\x72\x9a\x4d\x95\xc1\xf4\x17\xfa\xe1\x15\xfd\xf4\x23\xbd\xfa\x99\x3a\x74\x59\x96\x95\xf8\xd8\x33\x3f\x1a\x7d\x2a\x56\x3f\xf9\xbe\xd0\x26\xb4\xfb\x45\x31\xdc\x8d\x13\xa3\xdb\x97\xa3\xd7\x65\x31\xdc\x15\xa8\x56\xbe\x13\x28\xe7\x65\x2e\x46\xb7\x47\xa3\x4f\xf7\x91\x6b\x68\xac\x07\xb4\x60\x30\x61\x65\x29\x10\x9d\xaa\x02\x42\x59\xe6\xf9\xbe\xef\x84\x84\x3e\x73\xca\xd3\xfc\x32\x2b\x86\x3c\xe3\x19\x8b\xc0\x54\xe8\x55\x65\x84\x6f\xa9\x0a\x4a\xa3\x32\x34\x57\x75\x0d\x66\x53\xac\x4e\xc8\x2b\xa8\xc9\x81\x47\xa7\x24\x92\x8f\x82\xaf\xcb\x6c\x1b\x5a\x80\xb8\xca\xca\xb2\x8f\x16\x4c\xf0\x50\xc7\xe3\x99\x35\x26\x68\xdd\x1f\x83\xd6\xa2\xd2\xd0\x23\x2a\x6d\xe5\xd5\xea\xb4\x4a\x36\x1e\xb2\xc7\x0f\xe0\x55\x2a\x7b\x89\x8c\x68\xa1\x67\x4f\x08\x6d\xa7\x05\x02\x75\xa1\xd2\x4a\x52\xe7\x2c\x82\x44\xa8\xa9\x73\xea\x3a\x7e\x88\x7c\x22\x9e\x70\xae\x3c\x35\x4e\x81\xa9\xe9\x5a\x39\x0c\x42\x53\xf0\xca\xcc\xa8\x0d\x18\x99\xd0\xb5\xd5\x02\x95\x06\x72\x30\x53\x1e\xc1\x11\xdc\x74\x5a\x49\x85\xf7\xe4\xdf\xe6\xd3\x58\x47\xaa\xa1\xc5\x3c\xba\xd5\x96\x40\x7b\x20\x29\x3c\x50\x0d\x8d\x08\x1a\xc9\x2f\x14\xca\xf9\x93\x01\xd0\x2d\x09\xe7\xce\x2e\x48\x46\x25\xc9\x76\xe0\x04\x5a\x47\x06\x16\x54\x83\x06\x84\x27\x7d\x67\x16\x6d\xec\x74\x54\x26\x00\x55\x0e\xc4\x15\x39\xc0\xe0\xcc\x93\x2e\xc6\x1a\x81\xb6\x55\x92\xd6\x7f\x0e\x44\x6d\x8d\x5e\xf6\x87\x85\x53\x08\x71\x6a\xe2\x68\x45\x05\x49\xf8\x38\x22\xbb\xc3\x1d\xa6\x60\xa4\xad\x81\x62\x45\x95\x41\x70\x4d\x94\x44\xc5\xbd\x10\x11\xa2\xef\x87\x95\x62\x1e\x34\xc8\xf8\xac\x28\x90\x95\x56\x93\x5f\x1a\x39\x77\xd6\xa8\x5b\xa8\x29\x56\x61\xf5\xfe\x46\x19\xa1\xf5\x32\xe2\x3a\x70\xb8\x24\xdb\xc5\x30\x42\x93\x83\x7f\x83\x72\x71\x5a\xdb\x2e\xce\xbf\x08\x68\x1d\x68\x10\x1e\x3a\x6b\x75\xf6\xb5\xe5\x3b\x07\x9d\xb3\x32\x61\x97\xf7\x9b\x7c\x70\xff\x92\xd6\xd0\xc4\x26\x56\x46\xea\x50\xc3\x26\x64\x1a\x0c\xa9\xc6\x4c\xb3\x7e\x4f\x98\x5a\x35\x04\x3a\x55\x0d\x79\xc8\x7a\x99\x85\x33\xb1\x61\xc0\xb9\xfe\x29\x62\xd6\x8a\x6c\x3c\x7c\xc6\x1e\x66\x2e\xcb\xfc\x6e\x1c\xcb\xbb\x61\xec\x40\x2a\xa1\x1f\x30\xcb\x07\x74\x58\x6c\xb1\x5b\xd3\x59\xb3\xcb\xb6\xc0\x9c\xd1\x9b\x62\x3c\xe4\x93\x69\x7e\x40\x9c\x6d\x39\x3e\xdb\x35\xf6\xf9\x78\xff\xd7\xef\x5f\x0c\xe9\xed\x37\xfc\x5b\x9e\xf3\xa2\x60\x09\x7b\xc3\x12\x76\xc0\x12\x36\x61\x09\x1b\xb1\x84\x7d\xc7\x92\x8d\x67\xbf\x39\x85\xc1\xb1\x09\x6d\x05\xae\xef\x9a\xd1\x34\x9b\xe6\x2f\x47\xaf\x8b\x17\xbc\x8a\xfb\xbc\xe2\xeb\xdb\x78\xcb\xfa\xf2\x26\x5e\x8f\x46\xef\x7b\xcb\x83\x78\x09\x3b\xe4\x79\xca\xf9\x98\xf2\x4b\x5e\x14\xd9\x90\x47\x22\x87\xfc\xbf\x8d\xed\x4b\xb4\x7d\xe9\x6d\xe9\xc6\x96\x45\x5b\xf6\x38\x14\xaf\xde\x44\x48\x7e\xc9\x0f\x22\xe2\x60\x57\xba\xd8\xed\x4a\xd3\xd9\xc7\xd3\x53\xfa\xe7\xe4\x82\xce\xce\xe9\xef\xbf\x3e\x9e\x10\xba\x00\xf4\xfe\xe8\xf4\xe2\x84\x1a\x11\xc7\xd5\x83\x6e\xb2\xdd\x11\xae\x36\x0b\x7a\x6b\x3f\x7f\x2d\x51\x5c\x7d\x66\x96\x30\xce\x36\x84\x59\xa4\xc3\xfa\x47\x3c\xb6\x3d\x1f\x3f\x67\x7b\x77\x75\x6e\x57\xfa\x4c\x26\x77\xcb\x6e\x63\xf4\x28\x1c\xbe\x65\x13\x3e\x64\x09\x98\xfa\x2d\xe3\xc3\x49\x74\xfd\x3f\x00\x00\xff\xff\x55\x14\x81\x2c\x84\x07\x00\x00")
func runtimeSyntaxObjcMicroBytes() ([]byte, error) {
@@ -2761,6 +2782,7 @@ var _bindata = map[string]func() (*asset, error){
"runtime/syntax/mpdconf.micro": runtimeSyntaxMpdconfMicro,
"runtime/syntax/nanorc.micro": runtimeSyntaxNanorcMicro,
"runtime/syntax/nginx.micro": runtimeSyntaxNginxMicro,
"runtime/syntax/nim.micro": runtimeSyntaxNimMicro,
"runtime/syntax/objc.micro": runtimeSyntaxObjcMicro,
"runtime/syntax/ocaml.micro": runtimeSyntaxOcamlMicro,
"runtime/syntax/pascal.micro": runtimeSyntaxPascalMicro,
@@ -2939,6 +2961,7 @@ var _bintree = &bintree{nil, map[string]*bintree{
"mpdconf.micro": &bintree{runtimeSyntaxMpdconfMicro, map[string]*bintree{}},
"nanorc.micro": &bintree{runtimeSyntaxNanorcMicro, map[string]*bintree{}},
"nginx.micro": &bintree{runtimeSyntaxNginxMicro, map[string]*bintree{}},
"nim.micro": &bintree{runtimeSyntaxNimMicro, map[string]*bintree{}},
"objc.micro": &bintree{runtimeSyntaxObjcMicro, map[string]*bintree{}},
"ocaml.micro": &bintree{runtimeSyntaxOcamlMicro, map[string]*bintree{}},
"pascal.micro": &bintree{runtimeSyntaxPascalMicro, map[string]*bintree{}},

View File

@@ -29,6 +29,8 @@ 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 == "swift" then
lint("switfc", "xcrun", {"swiftc", file}, "%f:%l:%d+:.+: %m")
elseif ft == "Objective-C" then
lint("clang", "xcrun", {"clang", "-fsyntax-only", "-Wall", "-Wextra", file}, "%f:%l:%d+:.+: %m")
elseif ft == "d" then
@@ -37,6 +39,8 @@ function runLinter()
lint("javac", "javac", {"-d", temp, file}, "%f:%l: error: %m")
elseif ft == "javascript" then
lint("jshint", "jshint", {file}, "%f: line %l,.+, %m")
elseif ft == "nim" then
lint("nim", "nim", {"check", "--listFullPaths", "--stdout", "--hints:off", file}, "%f\\(%l, %d\\) .+: %m")
end
end
@@ -62,6 +66,7 @@ function onExit(output, linter, errorformat)
-- Trim whitespace
line = line:match("^%s*(.+)%s*$")
if string.find(line, regex) then
print(regex)
local file, line, msg = string.match(line, regex)
if basename(CurView().Buf.Path) == basename(file) then
CurView():GutterMessage(linter, tonumber(line), msg, 2)

18
runtime/syntax/nim.micro Normal file
View File

@@ -0,0 +1,18 @@
syntax "nim" "\.nim$"
color statement "\b(addr|and|as|asm|atomic|bind|block|break|case|cast|concept|const|continue|converter|defer|discard|distinct|div|do|elif|else|end|enum|except|export|finally|for|from|func|generic|if|import|in|include|interface|is|isnot|iterator|let|macro|method|mixin|mod|nil|not|notin|object|of|or|out|proc|ptr|raise|ref|return|shl|shr|static|template|try|tuple|type|using|var|when|while|with|without|xor|yield)\b"
color special "\{\.[^}]*\.\}"
color preproc "{\..*\b(deprecated|noSideEffect|constructor|destructor|override|procvar|compileTime|noReturn|acyclic|final|shallow|pure|asmNoStackFrame|error|fatal|warning|hint|line|linearScanEnd|computedGoto|unroll|immediate|checks|boundsChecks|overflowChecks|nilChecks|assertations|warnings|hints|optimization|patterns|callconv|push|pop|global|pragma|experimental|bitsize|volatile|noDecl|header|incompleteStruct|compile|link|passC|passL|emit|importc|importcpp|importobjc|codegenDecl|injectStmt|intdefine|strdefine|varargs|exportc|extern|bycopy|byref|union|packed|unchecked|dynlib|cdecl|thread|gcsafe|threadvar|guard|locks|compileTime)\b.*\.}"
color type "\b(int|cint|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|float|float32|float64|bool|char|enum|string|cstring|array|openarray|seq|varargs|tuple|object|set|void|auto|cshort|range|nil)\b"
color statement "=" "\+" "-" "\*" "/" "<" ">" "@" "$" "~" "&" "%" "|" "!" "?" "^" "." ":" "\\"
color constant.number "\b[0-9]+\b"
color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'"
color comment "[[:space:]]*#.*$"
color comment start="#[" end="]#"
color todo "TODO:?"