Trying to get symbols to work with what I am currently hovered on (if anything).
nnoremap <silent> <c-s> :<C-u>CocList -I symbols expand("<cword>")<CR>
This works in other remapping for other plugins, but this seems to never be expanded. Any ideas?
What's problem with goto deifinition?
For some reason in my PHP/Laravel project, it does not pick up go to definition on any symbol.

But manually searching for the symbol works fine:

You should use command like:
nnoremap <silent> <c-s> :exe 'CocList -I --normal --input='.expand('<cword>').' symbols'<CR>
Works perfectly. Just improved my workflow massively, thank you.
You should use command like:
nnoremap <silent> <c-s> :exe 'CocList -I --normal --input='.expand('<cword>').' symbols'<CR>
is there any way to accept the item from the resulting list without hitting
Most helpful comment
You should use command like: