-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
feat: range hover #839
feat: range hover #839
Conversation
With the adjustments from #839 (comment) I was able to execute it:
|
Unrelated to this PR, but tsserver was complaining about |
You can ignore this, this has been fixed already but the typings was not published neoclide/coc.nvim#3232. |
Thank you @resolritter , range hover is working in my tests, this can't be here without your help, thank you! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this :-)
Hello. Could you tell me how I can use this feature? I'm using " Use K to show documentation in preview window.
nnoremap <silent> K <cmd>call <SID>show_documentation()<CR>
vnoremap <silent> K <cmd>call <SID>show_documentation()<CR>
function! s:show_documentation()
if (index(['vim','help'], &filetype) >= 0)
execute 'h '.expand('<cword>')
else
call CocActionAsync('doHover')
endif
endfunction However, after entering to visual mode and selecting some portion of code, when I type Here is the link for my entire configuration files under And here are the versions that I use:
|
My exact mapping is as follows: It's possible that you don't have a recent enough rust-analyzer version which has the range hover feature. |
Thanks for your information. I removed the lines I wrote above and replaced with yours, but it does not still show up. Also, I have the latest stable |
close #836
FYI #256