{"action":"created","issue":{"url":"https://api.github.com/repos/neoclide/coc.nvim/issues/130","repository_url":"https://api.github.com/repos/neoclide/coc.nvim","labels_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/130/labels{/name}","comments_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/130/comments","events_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/130/events","html_url":"https://github.com/neoclide/coc.nvim/issues/130","id":374252567,"node_id":"MDU6SXNzdWUzNzQyNTI1Njc=","number":130,"title":"How to know the respective server status?","user":{"login":"liuchengxu","id":8850248,"node_id":"MDQ6VXNlcjg4NTAyNDg=","avatar_url":"https://avatars3.githubusercontent.com/u/8850248?v=4","gravatar_id":"","url":"https://api.github.com/users/liuchengxu","html_url":"https://github.com/liuchengxu","followers_url":"https://api.github.com/users/liuchengxu/followers","following_url":"https://api.github.com/users/liuchengxu/following{/other_user}","gists_url":"https://api.github.com/users/liuchengxu/gists{/gist_id}","starred_url":"https://api.github.com/users/liuchengxu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liuchengxu/subscriptions","organizations_url":"https://api.github.com/users/liuchengxu/orgs","repos_url":"https://api.github.com/users/liuchengxu/repos","events_url":"https://api.github.com/users/liuchengxu/events{/privacy}","received_events_url":"https://api.github.com/users/liuchengxu/received_events","type":"User","site_admin":false},"labels":[{"id":919769354,"node_id":"MDU6TGFiZWw5MTk3NjkzNTQ=","url":"https://api.github.com/repos/neoclide/coc.nvim/labels/enhancement","name":"enhancement","color":"a2eeef","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-10-26T07:02:30Z","updated_at":"2018-10-27T05:40:14Z","closed_at":"2018-10-26T17:08:54Z","author_association":"NONE","body":"**Is your feature request related to a problem? Please describe.**\r\n\r\nIf the language server is busy, e.g., when RLS is doing the initialization or compiling modules, the action of coc normally is not able to get proper results. How can I know the status of server when using coc? In vscode, there is spinner indicating the status of RLS:\r\n\r\n![](https://user-images.githubusercontent.com/10340017/32422249-71d34f98-c286-11e7-8226-500cb85cdd7f.png)\r\n\r\n**Describe the solution you'd like**\r\n\r\nIntroduce something like `g:LanguageClient_serverStatus` in https://github.com/autozimu/LanguageClient-neovim.\r\n\r\n**Describe alternatives you've considered**\r\n\r\nIntroduce status for actions of coc. \r\n\r\nCurrently I can't tell if the result of action is empty or it's just on the way. For instance, when `jumpDefinition`, if the server is not ready, coc could just say `Language server is busy`, if the returned result is empty, just say `Not found` or something else.\r\n\r\n**Additional context**\r\nAdd any other context or screenshots about the feature request here.\r\n"},"comment":{"url":"https://api.github.com/repos/neoclide/coc.nvim/issues/comments/433593131","html_url":"https://github.com/neoclide/coc.nvim/issues/130#issuecomment-433593131","issue_url":"https://api.github.com/repos/neoclide/coc.nvim/issues/130","id":433593131,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMzU5MzEzMQ==","user":{"login":"chemzqm","id":251450,"node_id":"MDQ6VXNlcjI1MTQ1MA==","avatar_url":"https://avatars3.githubusercontent.com/u/251450?v=4","gravatar_id":"","url":"https://api.github.com/users/chemzqm","html_url":"https://github.com/chemzqm","followers_url":"https://api.github.com/users/chemzqm/followers","following_url":"https://api.github.com/users/chemzqm/following{/other_user}","gists_url":"https://api.github.com/users/chemzqm/gists{/gist_id}","starred_url":"https://api.github.com/users/chemzqm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chemzqm/subscriptions","organizations_url":"https://api.github.com/users/chemzqm/orgs","repos_url":"https://api.github.com/users/chemzqm/repos","events_url":"https://api.github.com/users/chemzqm/events{/privacy}","received_events_url":"https://api.github.com/users/chemzqm/received_events","type":"User","site_admin":false},"created_at":"2018-10-27T05:40:14Z","updated_at":"2018-10-27T05:40:14Z","author_association":"CONTRIBUTOR","body":"> One problem: `g:coc_status` is seemingly not updated when switching to a buffer which doesn't have a relevant LS service.\r\n> \r\n> ![image](https://user-images.githubusercontent.com/8850248/47595816-c1966600-d9b4-11e8-8039-67610742841a.png)\r\n\r\nIt works as expected on my neovim, I've added `redraws` command after status change, so it could statusline no updated on vim, that might resolve your issue."}}
{"actor":{"display_login":"chemzqm"}}