{"action":"created","issue":{"url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/256","repository_url":"https://api.github.com/repos/Chiel92/vim-autoformat","labels_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/256/labels{/name}","comments_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/256/comments","events_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/256/events","html_url":"https://github.com/Chiel92/vim-autoformat/issues/256","id":375423277,"node_id":"MDU6SXNzdWUzNzU0MjMyNzc=","number":256,"title":".clang-format or _clang-format not found in ancestry","user":{"login":"binaryplease","id":1719781,"node_id":"MDQ6VXNlcjE3MTk3ODE=","avatar_url":"https://avatars1.githubusercontent.com/u/1719781?v=4","gravatar_id":"","url":"https://api.github.com/users/binaryplease","html_url":"https://github.com/binaryplease","followers_url":"https://api.github.com/users/binaryplease/followers","following_url":"https://api.github.com/users/binaryplease/following{/other_user}","gists_url":"https://api.github.com/users/binaryplease/gists{/gist_id}","starred_url":"https://api.github.com/users/binaryplease/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/binaryplease/subscriptions","organizations_url":"https://api.github.com/users/binaryplease/orgs","repos_url":"https://api.github.com/users/binaryplease/repos","events_url":"https://api.github.com/users/binaryplease/events{/privacy}","received_events_url":"https://api.github.com/users/binaryplease/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-10-30T10:42:39Z","updated_at":"2018-10-30T16:15:29Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI use Neovim on linux arch. Everything up-to-date.\r\nWhen I run `:Autoformat` my .clang-format is only detected if it is in the same directory as the c file.\r\nIf it is in a parent directory (like my /home) it is not recognized. \r\n\r\nDo I have to set something to make it read it or is this a bug?"},"comment":{"url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/comments/434367018","html_url":"https://github.com/Chiel92/vim-autoformat/issues/256#issuecomment-434367018","issue_url":"https://api.github.com/repos/Chiel92/vim-autoformat/issues/256","id":434367018,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNDM2NzAxOA==","user":{"login":"Chiel92","id":1030961,"node_id":"MDQ6VXNlcjEwMzA5NjE=","avatar_url":"https://avatars0.githubusercontent.com/u/1030961?v=4","gravatar_id":"","url":"https://api.github.com/users/Chiel92","html_url":"https://github.com/Chiel92","followers_url":"https://api.github.com/users/Chiel92/followers","following_url":"https://api.github.com/users/Chiel92/following{/other_user}","gists_url":"https://api.github.com/users/Chiel92/gists{/gist_id}","starred_url":"https://api.github.com/users/Chiel92/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chiel92/subscriptions","organizations_url":"https://api.github.com/users/Chiel92/orgs","repos_url":"https://api.github.com/users/Chiel92/repos","events_url":"https://api.github.com/users/Chiel92/events{/privacy}","received_events_url":"https://api.github.com/users/Chiel92/received_events","type":"User","site_admin":false},"created_at":"2018-10-30T16:15:28Z","updated_at":"2018-10-30T16:15:28Z","author_association":"OWNER","body":"The logic used can be found here: https://github.com/Chiel92/vim-autoformat/blob/db17ccbacb55beea82fdaa9a1cde82f6a928d16d/plugin/defaults.vim#L80\r\n\r\nPerhaps there are mounted volumes or symlinks involved? There are outstanding issues for that \r\nhttps://github.com/Chiel92/vim-autoformat/issues/169\r\nhttps://github.com/Chiel92/vim-autoformat/issues/127\r\n"}}
{"actor":{"display_login":"Chiel92"}}