Skip to content
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

support view scope in status line #339

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

xiaoyaoliu
Copy link

#338

as cpp programer,i need to see the context of function in cursor,such as: namespaces, classes.

return
endif

let found = vista#util#BinarySearch(g:vista.raw, line('.'), 'line', '')
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I realized that we actually don't need the further processing, just providing the found should be enough, which contains everything, it's up to the API user how to use it, namely call setbufvar(g:vista.source.bufnr, 'vista_cursor_info', found). I don't want to introduce another API because someone wants the signature info later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants