{"action":"created","issue":{"url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/1","repository_url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp","labels_url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/1/comments","events_url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/1/events","html_url":"https://github.com/ncm2/ncm2-vim-lsp/issues/1","id":376082565,"node_id":"MDU6SXNzdWUzNzYwODI1NjU=","number":1,"title":"This doesn't seem to work","user":{"login":"benwainwright","id":3321885,"node_id":"MDQ6VXNlcjMzMjE4ODU=","avatar_url":"https://avatars3.githubusercontent.com/u/3321885?v=4","gravatar_id":"","url":"https://api.github.com/users/benwainwright","html_url":"https://github.com/benwainwright","followers_url":"https://api.github.com/users/benwainwright/followers","following_url":"https://api.github.com/users/benwainwright/following{/other_user}","gists_url":"https://api.github.com/users/benwainwright/gists{/gist_id}","starred_url":"https://api.github.com/users/benwainwright/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benwainwright/subscriptions","organizations_url":"https://api.github.com/users/benwainwright/orgs","repos_url":"https://api.github.com/users/benwainwright/repos","events_url":"https://api.github.com/users/benwainwright/events{/privacy}","received_events_url":"https://api.github.com/users/benwainwright/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-31T17:39:09Z","updated_at":"2018-11-02T09:08:26Z","closed_at":null,"author_association":"NONE","body":"I don't really know what to say other than I absolutely cannot get completion to work for ncm2-vim-lsp, using the Typescript language server. Here is a minimal vimrc:\r\n\r\n```\r\ncall plug#begin('~/.vim/plugged')\r\nPlug 'prabirshrestha/async.vim'\r\nPlug 'prabirshrestha/vim-lsp'\r\nPlug 'ncm2/ncm2-vim-lsp'\r\nPlug 'ncm2/ncm2'\r\nPlug 'roxma/nvim-yarp'\r\nPlug 'roxma/vim-hug-neovim-rpc'\r\ncall plug#end()\r\n\r\nau User lsp_setup call lsp#register_server({\r\n      \\ 'name': 'typescript-language-server',\r\n      \\ 'cmd': {server_info->[&shell, &shellcmdflag, 'node ~/.vim/plugged/javascript-typescript-langserver/lib/language-server-stdio']},\r\n      \\ 'root_uri':{server_info->lsp#utils#path_to_uri(lsp#utils#find_nearest_parent_file_directory(lsp#utils#get_buffer_path(), 'jsconfig.json'))},\r\n      \\ 'whitelist': ['javascript'],\r\n      \\ })\r\n\r\nautocmd BufEnter * call ncm2#enable_for_buffer()\r\nset completeopt=noinsert,menuone,noselect\r\nset shortmess+=c\r\n\r\ninoremap <expr> <Tab> pumvisible() ? \"\\<C-n>\" : \"\\<Tab>\"\r\ninoremap <expr> <S-Tab> pumvisible() ? \"\\<C-p>\" : \"\\<S-Tab>\"\r\n```\r\nI've enabled logging, and vim-lsp is definitely successfully connecting to the server. Things like rename etc. are working.\r\n\r\nIf anyone is able to provide any help, that would be great..."},"comment":{"url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/comments/435315626","html_url":"https://github.com/ncm2/ncm2-vim-lsp/issues/1#issuecomment-435315626","issue_url":"https://api.github.com/repos/ncm2/ncm2-vim-lsp/issues/1","id":435315626,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNTMxNTYyNg==","user":{"login":"jsfaint","id":571829,"node_id":"MDQ6VXNlcjU3MTgyOQ==","avatar_url":"https://avatars1.githubusercontent.com/u/571829?v=4","gravatar_id":"","url":"https://api.github.com/users/jsfaint","html_url":"https://github.com/jsfaint","followers_url":"https://api.github.com/users/jsfaint/followers","following_url":"https://api.github.com/users/jsfaint/following{/other_user}","gists_url":"https://api.github.com/users/jsfaint/gists{/gist_id}","starred_url":"https://api.github.com/users/jsfaint/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsfaint/subscriptions","organizations_url":"https://api.github.com/users/jsfaint/orgs","repos_url":"https://api.github.com/users/jsfaint/repos","events_url":"https://api.github.com/users/jsfaint/events{/privacy}","received_events_url":"https://api.github.com/users/jsfaint/received_events","type":"User","site_admin":false},"created_at":"2018-11-02T09:08:26Z","updated_at":"2018-11-02T09:08:26Z","author_association":"NONE","body":"It works for me with this config\r\nhttps://github.com/jsfaint/nvimcfg/blob/master/lsp.vim\r\n\r\nBut I don't write typescript, I only tested the lsp servers below:\r\n- bash-language-server\r\n- clangd\r\n- docker-langserver\r\n- go-langserver\r\n- rls"}}
{"actor":{"display_login":"jsfaint"}}