Comments (22)
See this section https://github.com/liuchengxu/vista.vim#show-the-nearest-methodfunction-in-the-statusline to run vista.vim on startup.
It should be easy to support vista.vim on vim-airline, but I recently don't use airline, so I may not add this support myself.
from vista.vim.
@liuchengxu not sure I see what I am looking there, but will take another look.
also quick question regarding floating_win it seems to blink when you move to function and its kind of annoying is it possible to make sure it doesn't blink
Thanks for you work
from vista.vim.
If you think there is a problem with the floating win, you should raise another issue and describe it carefully, otherwise I can't help about it.
from vista.vim.
No problems, I will open another issue, altho I am still not sure how to load this on startup.
from vista.vim.
Just add this line your vimrc, then vista.vim will run on startup:
autocmd VimEnter * call vista#RunForNearestMethodOrFunction()
from vista.vim.
That is what I tried but got this on error
Error detected while processing VimEnter Autocommands for "*":
E117: Unknown function: vista#RunForNearestMethodOrFunction
from vista.vim.
Have you updated to the latest version?
from vista.vim.
To be honest i just discovered this plugin, so yes i have latest, and I just tried updating it and it says I have latest.
from vista.vim.
This feature has been added since #39, so I can only suggest you make sure that you are really using the right version.
from vista.vim.
this the the git rev i am using 3c222b3
and NVIM v0.4.0-dev
from vista.vim.
Can you open the file autoload/vista.vim
to see if the function is in there?
from vista.vim.
this is what I see in that file.
function! vista#RunForNearestMethodOrFunction() abort
let [bufnr, winnr, fname, fpath] = [bufnr('%'), winnr(), expand('%'), expand('%:p')]
call vista#source#Update(bufnr, winnr, fname, fpath)
let executive = get(g:, 'vista_default_executive', 'ctags')
call vista#executive#{executive}#Execute(v:false, v:false)
from vista.vim.
Then what does :call vista#RunForNearestMethodOrFunction
say?
from vista.vim.
Missing parentheses: vista#RunForNearestMethodOrFunction
also tried :call vista#RunForNearestMethodOrFunction()
Unknown function: vista#RunForNearestMethodOrFunction
from vista.vim.
Oh, my bad, should be :call vista#RunForNearestMethodOrFunction()
.
from vista.vim.
I updated the comment before as I though you might of missed it.
from vista.vim.
No error with :call vista#RunForNearestMethodOrFunction()
? Then it's probably that vista.vim has not been added to your runtimepath when calling the function. You should check your vimrc to ensure it's initialized before your call.
from vista.vim.
That is work considering all else work ..
running:call vista#RunForNearestMethodOrFunction()
I get
Unknown function: vista#RunForNearestMethodOrFunction
from vista.vim.
What is :scriptnames
?
You should post your minimal vimrc to fix this quickly.
from vista.vim.
my vimrc is bit complicated as it's in seperate files etc. Look dont worry about I will continue to look in to it.
It's strange I am having issue only with this plugin, i have other functions/plugins that I use and they seem to be working fine.
from vista.vim.
This problem should be utterly easy to resolve, just ensure that it's initialized correctly and vim can find the right path. It's all on your own vimrc.
from vista.vim.
You can see my minimal config in there, however even with minimal it still doesn't work.
https://asciinema.org/a/K8we8huUfL9I5XAwvSW2xDIq1
from vista.vim.
Related Issues (20)
- Could the sidebar rendering being improved when using ALE?
- Support for YouCompleteMe? HOT 2
- let g:vista_default_executive = 'nvim_lsp' can not save file
- BUG: ruby nest module not show in ctags viewer
- Auto-open Vista window when starting with vim_lsp HOT 1
- A different layout for the Vista window HOT 1
- Statusline gets cleared when changing buffers even when `let g:vista_disable_statusline = 1` is set
- Add additional info like signatures to functions like in tagbar HOT 1
- Does not support Nerd Font v3+
- Automatic folding (zMzv like) when not in focus
- Unsupported kind: 'w' for --go-kinds option HOT 4
- Tree view for ctags HOT 1
- lsp+fzf preview show incorrect line. HOT 1
- I can't use it after installing
- Tex: [vista.vim] ctags: Warning: Unsupported kind: 'f' for --tex-kinds option HOT 1
- Plug-in doesn't get the job done because: "ctags: Warning: Cannot disable fixed field 'xxx' {pattern}" HOT 16
- Any plan for https://github.com/yegappan/lsp HOT 1
- Share same statusline of sidebar and other buffer HOT 7
- Feature Request: Mouse Support for Selecting and Double-Clicking to Jump to Items
- Add for systemverilog support?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vista.vim.