Clamp
Clamp copied to clipboard
Is there any instruction document ? Can not execute ClampStart
I use neovim and installed this plugin , but I can't found readme file
. It looks like a great plugin but I don't kown how to use it. And I tried to type :ClampStart
,but it print
Error detected while processing function <SNR>46_enable_clamp..<SNR>46_request_shutdown:
line 6:
E900: Invalid job id.
Can you help me?
I already got python clang module installed, but I still got the same issue, a readme file will definitely help.
I am having this issue as well.
this issue should be solved in last commit
@bbchung thanks, that resolves the error. However I can't get it to work. I was looking at the CLighter documentation to see if there was any crossover, but can't find any.
I'm really excited to get this working with nvim.
Any pro-tips? If I get some free time I'll look through the source and see if I can figure it out on my own.
plz check and install https://github.com/neovim/python-client and update Clamp to newest
Thanks. Looks like a need a compliation database. I'm currently using a custom build system that doesn't generate one, so I'll need to use BEAR. I'll try to post back when I give it a try.
compilation database is optional
Hi, I'm having a similar issue.
I tried on both Fedora 23 and Debian unstable, with llvm 3.6 and 3.7.
I have neovim 0.1.2 installed on both, with its python client installed (both py2 and py3). I installed python(2,3)-msgpack just because it was mentionned in the README.md
I have set g:clamp_libclang_file to the location of my libclang.so file
But I do not see any highlighting happening after running ClampStart =/
Is there a way to know what's wrong in my setup? I am guessing this is the same issue the previous posters were having too
Same problem here, sadly there is no debug output whatsoever to check what went wrong. ClampStart/Shutdown run without any error, but no highlighting.
This patch fixes the problem for me:
--- a/plugin/clamp.vim
+++ b/plugin/clamp.vim
@@ -63,7 +63,7 @@ endf
fun! s:enable_clamp()
call s:request_shutdown()
- let g:clamp_channel = rpcstart('python', [s:script_folder_path.'/../python/engine.py'])
+ let g:clamp_channel = rpcstart('python2', [s:script_folder_path.'/../python/engine.py'])
"let g:clamp_channel = jobstart('python '.s:script_folder_path.'/../python/engine.py '.v:servername)
endf
Autostart doesn't work for me btw. I always have to call ClampStart manually. Thanks for this great plugin :-)
i don't know the root cause why ClampStart fail, too, but maybe i will add debug log in the future
I'm getting this same issue on Ubuntu with the latest version of neovim and Clamp. Any update on how to deal with this?