-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unknown function: ParinferIndent (only for .xtm file extension) #30
Comments
I'm also running into this error but in .cljs files as well. |
For clojure @BerkeleyTrue, this is usually caused by not running @bryanmaina if I add the extempore.vim plugin and add a |
@snoe Unfortunately that does not seems to change things. This is the output from UpdateRemotePlugins
Here is the list of my plugins, maybe there is something conflicting? https://github.com/BerkeleyTrue/dotfiles/blob/master/dotfiles/modules/plugins.vim |
This is what I've found messing around so far: I also see this message Looking into the manifest file after running UpdateRemotePlugin seems to have no calls to the nodehost
If I remove both
Could it be the process that writes to this file is faulty? |
@BerkeleyTrue Can you make sure that you have the latest node-host and that the versions being brought in are similar to mine? I'm also on neovim 0.1.7 but the api has been quite stable unlike node-host's also I think
|
Some interesting developments: First my versions are similar to yours. My neovim was a single version behind your so I updated it. BerkeleyTrue:node-host berkeley$ npm version Still the same issue. Then I tried cleaning and re-installing the three packages in different combinations. I removed all three packages, installed node-host, updated remote plugins, Installed nvim-parinfer, restarted neovim, and updated remote plugins. This showed the correct message and indeed parinfer was listed in rplugins.vim. But then installing clj-refactor causes the following
then removing clj-refactor gives me the same error as before. I can can't nvim-parinfer working but I cannot get it working with clj-refactor. Is it possible that node-host is caching somewhere within it's directories? edit: |
There's definitely an order dependency between installing plugins and calling I'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 Unfortunately 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 neovim/node-host#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. I noticed your npm list maybe got cut off - I 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. |
I was never able to get parinfer and refactor to work nicely together so I abandoned it. I'm not seeing this same issue with just nvim-parinfer on my new machine. I'll diagnose and post findings here. edit: Looks like it is registering correctly " node plugins
call remote#host#RegisterPlugin('node', '/home/berkeleytrue/.config/nvim/plugged/nvim-parinfer.js/rplugin/node/nvim-parinfer.js', [
\ ])
" python3 plugins
" ruby plugins
" python plugins
edit2: running lein npm install in plugin directory solved the issue. I've changed my plug install to |
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:This 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.I just added to my vimrc:
to avoid this error while waiting to know what's going wrong.
The text was updated successfully, but these errors were encountered: