Skip to content

support view scope in status line#339

Open
xiaoyaoliu wants to merge 4 commits intoliuchengxu:masterfrom
xiaoyaoliu:master
Open

support view scope in status line#339
xiaoyaoliu wants to merge 4 commits intoliuchengxu:masterfrom
xiaoyaoliu:master

Conversation

@xiaoyaoliu
Copy link
Copy Markdown

#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
Copy Markdown
Owner

@liuchengxu liuchengxu Sep 14, 2020

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.

2 participants