{"action":"created","issue":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/935","repository_url":"https://api.github.com/repos/hlissner/doom-emacs","labels_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/935/labels{/name}","comments_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/935/comments","events_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/935/events","html_url":"https://github.com/hlissner/doom-emacs/issues/935","id":367461228,"node_id":"MDU6SXNzdWUzNjc0NjEyMjg=","number":935,"title":"company-lsp + cquery does not worked well","user":{"login":"verminniu","id":39178319,"node_id":"MDQ6VXNlcjM5MTc4MzE5","avatar_url":"https://avatars2.githubusercontent.com/u/39178319?v=4","gravatar_id":"","url":"https://api.github.com/users/verminniu","html_url":"https://github.com/verminniu","followers_url":"https://api.github.com/users/verminniu/followers","following_url":"https://api.github.com/users/verminniu/following{/other_user}","gists_url":"https://api.github.com/users/verminniu/gists{/gist_id}","starred_url":"https://api.github.com/users/verminniu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/verminniu/subscriptions","organizations_url":"https://api.github.com/users/verminniu/orgs","repos_url":"https://api.github.com/users/verminniu/repos","events_url":"https://api.github.com/users/verminniu/events{/privacy}","received_events_url":"https://api.github.com/users/verminniu/received_events","type":"User","site_admin":false},"labels":[{"id":637660288,"node_id":"MDU6TGFiZWw2Mzc2NjAyODg=","url":"https://api.github.com/repos/hlissner/doom-emacs/labels/investigating","name":"investigating","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-06T14:20:32Z","updated_at":"2018-10-07T06:35:36Z","closed_at":null,"author_association":"NONE","body":"doom-emacs is the best for me, thanks, but there is a little problem for cquery and company-lsp\r\n\r\n### Observed behavior\r\n\r\nthe company-lsp does not work well and the function and args.\r\nfor example:\r\nthere is a function:    \r\nint a(int arg1, int arg2)\r\nthe company-lsp get \r\nint a(\r\n\r\n### Expected behavior\r\n\r\nI try to close smartparen, add yasnippet, but not worked well, at last i disable company at init.el, and add in my private config, it work's ok\r\n\r\nit's seems company-backends cause this.\r\n\r\nwhen used company at init.el the company-backends only has ( company-lsp  company-yasnippet company-capf)\r\n\r\n### System information\r\n\r\ndoom-emacs ( develop )\r\nMac os \r\n"},"comment":{"url":"https://api.github.com/repos/hlissner/doom-emacs/issues/comments/427629791","html_url":"https://github.com/hlissner/doom-emacs/issues/935#issuecomment-427629791","issue_url":"https://api.github.com/repos/hlissner/doom-emacs/issues/935","id":427629791,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNzYyOTc5MQ==","user":{"login":"MaskRay","id":416322,"node_id":"MDQ6VXNlcjQxNjMyMg==","avatar_url":"https://avatars3.githubusercontent.com/u/416322?v=4","gravatar_id":"","url":"https://api.github.com/users/MaskRay","html_url":"https://github.com/MaskRay","followers_url":"https://api.github.com/users/MaskRay/followers","following_url":"https://api.github.com/users/MaskRay/following{/other_user}","gists_url":"https://api.github.com/users/MaskRay/gists{/gist_id}","starred_url":"https://api.github.com/users/MaskRay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MaskRay/subscriptions","organizations_url":"https://api.github.com/users/MaskRay/orgs","repos_url":"https://api.github.com/users/MaskRay/repos","events_url":"https://api.github.com/users/MaskRay/events{/privacy}","received_events_url":"https://api.github.com/users/MaskRay/received_events","type":"User","site_admin":false},"created_at":"2018-10-07T06:35:36Z","updated_at":"2018-10-07T06:35:36Z","author_association":"NONE","body":"It is likely configuration issue that is not related to doom-emacs.\r\n\r\n```elisp\r\n  (set-company-backend! '(c-mode c++-mode objc-mode) 'company-lsp)\r\n```\r\n\r\nCan you inspect the output of `(lsp--client-capabilities)` in your buffer and check if it contains `:completion (:completionItem (:snippetSupport t)))`?\r\n\r\nYou may use strace/sysdig to dump `textDocument/completion` responses of the language server."}}
{"actor":{"display_login":"MaskRay"}}