{"action":"closed","issue":{"url":"https://api.github.com/repos/vim/vim/issues/1340","repository_url":"https://api.github.com/repos/vim/vim","labels_url":"https://api.github.com/repos/vim/vim/issues/1340/labels{/name}","comments_url":"https://api.github.com/repos/vim/vim/issues/1340/comments","events_url":"https://api.github.com/repos/vim/vim/issues/1340/events","html_url":"https://github.com/vim/vim/issues/1340","id":197908795,"number":1340,"title":"Scripts named \"build\" are detected as bzl ","user":{"login":"msonnabaum","id":49792,"avatar_url":"https://avatars0.githubusercontent.com/u/49792?v=3","gravatar_id":"","url":"https://api.github.com/users/msonnabaum","html_url":"https://github.com/msonnabaum","followers_url":"https://api.github.com/users/msonnabaum/followers","following_url":"https://api.github.com/users/msonnabaum/following{/other_user}","gists_url":"https://api.github.com/users/msonnabaum/gists{/gist_id}","starred_url":"https://api.github.com/users/msonnabaum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/msonnabaum/subscriptions","organizations_url":"https://api.github.com/users/msonnabaum/orgs","repos_url":"https://api.github.com/users/msonnabaum/repos","events_url":"https://api.github.com/users/msonnabaum/events{/privacy}","received_events_url":"https://api.github.com/users/msonnabaum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-28T20:05:20Z","updated_at":"2017-03-05T20:32:35Z","closed_at":"2017-03-05T20:32:35Z","body":"I was surprised to see strange syntax highlighting on a shell script named \"build\", with `#!/bin/sh` for the shebang. I checked the detected filetype and it was \"bzl\".\r\n\r\nI then found this setting, which sets any file named build or workspace as bzl:\r\n\r\nhttps://github.com/vim/vim/blob/master/runtime/filetype.vim#L312\r\n\r\nConsidering that it also appears to be case-insensitive, that feels too ambiguous to be a default in vim. It would be great if that could either be made case-sensitive or removed and left to a bzl specific plugin.\r\n"}}
{"actor":{"display_login":"chrisbra"}}