{"action":"created","issue":{"url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/335","repository_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim","labels_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/335/labels{/name}","comments_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/335/comments","events_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/335/events","html_url":"https://github.com/autozimu/LanguageClient-neovim/issues/335","id":306564186,"number":335,"title":"Dart language server error with completion with (NCM) nvim-language-server","user":{"login":"amsayk","id":271111,"avatar_url":"https://avatars0.githubusercontent.com/u/271111?v=4","gravatar_id":"","url":"https://api.github.com/users/amsayk","html_url":"https://github.com/amsayk","followers_url":"https://api.github.com/users/amsayk/followers","following_url":"https://api.github.com/users/amsayk/following{/other_user}","gists_url":"https://api.github.com/users/amsayk/gists{/gist_id}","starred_url":"https://api.github.com/users/amsayk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/amsayk/subscriptions","organizations_url":"https://api.github.com/users/amsayk/orgs","repos_url":"https://api.github.com/users/amsayk/repos","events_url":"https://api.github.com/users/amsayk/events{/privacy}","received_events_url":"https://api.github.com/users/amsayk/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-03-19T17:42:27Z","updated_at":"2018-03-19T17:51:16Z","closed_at":null,"author_association":"NONE","body":"Nvim version: 0.2.2\r\n\r\nPlugin version (git SHA): \r\n* 61657c9 (HEAD -> next, tag: 0.1.42, origin/next, origin/HEAD) (cargo-release) version 0.1.42\r\n\r\nMinimal vimrc:\r\n\r\n```vim\r\ncall plug#begin('~/.local/share/nvim/plugged')\r\n\r\nPlug 'autozimu/LanguageClient-neovim', {\r\n    \\ 'branch': 'next',\r\n    \\ 'do': 'bash install.sh',\r\n    \\ }\r\n\r\n  Plug 'roxma/nvim-completion-manager'\r\n  Plug 'dart-lang/dart-vim-plugin', { 'for': [ 'dart' ] }\r\n\r\ncall plug#end()\r\n\r\nlet g:LanguageClient_serverCommands = {\r\n    \\ 'dart'           : ['dart_language_server'],\r\n    \\ }\r\n\r\nlet g:LanguageClient_loggingLevel = 'DEBUG'\r\n```\r\n\r\nLanguage server name/link and version: \r\ndart_language_server\r\nhttps://github.com/natebosch/dart_language_server\r\nversion: v0.1.9+3\r\n\r\n[LanguageClient.log](https://github.com/autozimu/LanguageClient-neovim/files/1826159/LanguageClient.log)\r\n[LanguageServer.log](https://github.com/autozimu/LanguageClient-neovim/files/1826160/LanguageServer.log)\r\n\r\n\r\n- Reproduction steps (from clean state)\r\n1 - Start vim\r\n2 - Open dart file\r\n3 - Error: LanguageClient: failed to register NCM source.\r\n\r\n<img width=\"1440\" alt=\"screenshot 2018-03-19 17 31 04\" src=\"https://user-images.githubusercontent.com/271111/37612149-4a42dfa0-2b9c-11e8-9998-dbfec73ef2d7.png\">\r\n\r\n\r\nI did a little debugging to show underlying by modifying https://github.com/autozimu/LanguageClient-neovim/blob/next/src/languageclient.rs#L641 and I got the following error:\r\n\r\n<img width=\"845\" alt=\"screenshot 2018-03-18 21 45 15\" src=\"https://user-images.githubusercontent.com/271111/37612223-83b14b32-2b9c-11e8-9b31-eadc2c5ae154.png\">\r\n\r\nThanks."},"comment":{"url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/comments/374305193","html_url":"https://github.com/autozimu/LanguageClient-neovim/issues/335#issuecomment-374305193","issue_url":"https://api.github.com/repos/autozimu/LanguageClient-neovim/issues/335","id":374305193,"user":{"login":"autozimu","id":1453551,"avatar_url":"https://avatars1.githubusercontent.com/u/1453551?v=4","gravatar_id":"","url":"https://api.github.com/users/autozimu","html_url":"https://github.com/autozimu","followers_url":"https://api.github.com/users/autozimu/followers","following_url":"https://api.github.com/users/autozimu/following{/other_user}","gists_url":"https://api.github.com/users/autozimu/gists{/gist_id}","starred_url":"https://api.github.com/users/autozimu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/autozimu/subscriptions","organizations_url":"https://api.github.com/users/autozimu/orgs","repos_url":"https://api.github.com/users/autozimu/repos","events_url":"https://api.github.com/users/autozimu/events{/privacy}","received_events_url":"https://api.github.com/users/autozimu/received_events","type":"User","site_admin":false},"created_at":"2018-03-19T17:51:16Z","updated_at":"2018-03-19T17:51:16Z","author_association":"OWNER","body":"This is a language server bug.\r\n\r\nDart language server sent\r\n```\r\n\"codeLensProvider\": false\r\n```\r\nwhen it should be\r\n```\r\n\"codeLensProvider\": null\r\n```\r\n\r\nPlease report at dart language server repo.\r\n\r\n@natebosch"}}
{"actor":{"display_login":"autozimu"}}