{"action":"created","issue":{"url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/30","repository_url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js","labels_url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/30/labels{/name}","comments_url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/30/comments","events_url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/30/events","html_url":"https://github.com/clojure-vim/nvim-parinfer.js/issues/30","id":191989356,"number":30,"title":"Unknown function: ParinferIndent (only for .xtm file extension)","user":{"login":"bryanmaina","id":8012851,"avatar_url":"https://avatars.githubusercontent.com/u/8012851?v=3","gravatar_id":"","url":"https://api.github.com/users/bryanmaina","html_url":"https://github.com/bryanmaina","followers_url":"https://api.github.com/users/bryanmaina/followers","following_url":"https://api.github.com/users/bryanmaina/following{/other_user}","gists_url":"https://api.github.com/users/bryanmaina/gists{/gist_id}","starred_url":"https://api.github.com/users/bryanmaina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bryanmaina/subscriptions","organizations_url":"https://api.github.com/users/bryanmaina/orgs","repos_url":"https://api.github.com/users/bryanmaina/repos","events_url":"https://api.github.com/users/bryanmaina/events{/privacy}","received_events_url":"https://api.github.com/users/bryanmaina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2016-11-28T12:05:09Z","updated_at":"2017-02-16T16:28:51Z","closed_at":null,"body":"If I open a file with the following extension `.xtm` (which uses Lisp style expressions) and try to edit, I get this error in neovim:\r\n```{vim}\r\nError detected while processing function <SNR>100_indent:                        \r\nline    6:                                                                          \r\nE117: Unknown function: ParinferIndent\r\n```\r\nThis also happens only if I have 'timburgess/extempore.vim' installed. If I remove it there is no more problem. But I need `extempore` plugin to work with extempore.\r\n\r\nI just added to my vimrc:\r\n```{vim}\r\nau BufNewFile,BufRead *.xtm let g:parinfer_mode = \"off\"\r\n``` \r\nto avoid this error while waiting to know what's going wrong."},"comment":{"url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/comments/280381472","html_url":"https://github.com/clojure-vim/nvim-parinfer.js/issues/30#issuecomment-280381472","issue_url":"https://api.github.com/repos/clojure-vim/nvim-parinfer.js/issues/30","id":280381472,"user":{"login":"snoe","id":105012,"avatar_url":"https://avatars.githubusercontent.com/u/105012?v=3","gravatar_id":"","url":"https://api.github.com/users/snoe","html_url":"https://github.com/snoe","followers_url":"https://api.github.com/users/snoe/followers","following_url":"https://api.github.com/users/snoe/following{/other_user}","gists_url":"https://api.github.com/users/snoe/gists{/gist_id}","starred_url":"https://api.github.com/users/snoe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/snoe/subscriptions","organizations_url":"https://api.github.com/users/snoe/orgs","repos_url":"https://api.github.com/users/snoe/repos","events_url":"https://api.github.com/users/snoe/events{/privacy}","received_events_url":"https://api.github.com/users/snoe/received_events","type":"User","site_admin":false},"created_at":"2017-02-16T16:28:51Z","updated_at":"2017-02-16T16:28:51Z","body":"There's definitely an order dependency between installing plugins and calling `:UpdateRemotePlugins` and restarting neovim. \r\n\r\nI'm able to repro your parinfer + refactor error, but I'm also able to recover by removing the refactor plugin line from my rc file, restarting nvim, running `:UpdateRemotePlugins`, restarting again, and then loading a clj file. I can do the opposite too - run refactor by itself and then adding parinfer blows up.\r\n\r\nUnfortunately as with most issues here, I suspect that the source of the problem is somewhere in the node-host dependency chain. I had hoped that https://github.com/neovim/node-host/issues/21 would fix the multiple plugin issue, but it seems there's either been a regression or that fixed already registered plugins and installing multiple is still a problem.\r\n\r\nI noticed your npm list maybe got cut off - `msgpack5rpc@1.1.0` is the transitive dependency that should have fixed the above issue. Make sure you do have that installed at least.\r\n\r\nI think, though, that the path forward is to add host capabilities to https://github.com/clojure-vim/neovim-client and drop node-host all together."}}
{"actor":{"display_login":"snoe"}}