Comments (8)
Hi @pollen00, can you provide details on (1) the error message you're encountering (and/or any other information on how vim-staruptime
is breaking), (2) details on how you have the alias set up, and (3) if relevant, information about the dashboard?
from vim-startuptime.
The error is just the "Is vim-startuptime stuck on 0% progress?" screen. I can run neovim in a nested terminal just fine, and the screen goes away and everything works once I remove the alias.
The alias is set through my zshrc.
from vim-startuptime.
I'm not sure what could be causing the issue.
I've updated vim-startuptime
to include additional debugging information on the screen you're stuck on.
It should now include something like the following (this is what's shown for me, which quickly disappears since I don't encounter any issue):
It may help to run a nested instance of (n)vim in a manner similar
to vim-startuptime. The following lines show the shell-escaped
program and arguments used by vim-startuptime. <OUTPUT> should be
replaced with an output file.
'/usr/bin/vim.gtk3'
'--startuptime'
'<OUTPUT>'
'-c'
'if exists('\''*timer_start'\'') | call timer_start(0, {-> execute('\''qall!'\'')}) | else | autocmd VimEnter * qall! | endif'
Can you post that information here and/or try running a nested Neovim with the program and arguments from the information that's shown for you (if so, be sure to replace <OUTPUT>
with a real file path for saving the startuptime output)?
from vim-startuptime.
This is what's shown in the 0% menu.
'/usr/bin/nvim'
'--startuptime'
'<OUTPUT>'
'-c'
'if exists('\''*timer_start'\'') | call timer_start(0, {-> execute('\''qall!'\'')}) | else | autocmd VimEnter * qall! | endif'
Trying to run with those arguments just spits out error detected while processing command line:
so I think there might be something wrong with all of the single quotes in -c
from vim-startuptime.
The arguments are shell-escaped, so I'm not sure what's causing the problem. Does the following command run from a :terminal
within Neovim?
/usr/bin/nvim --startuptime startuptime_output -c 'if exists('\''*timer_start'\'') | call timer_start(0, {-> execute('\''qall!'\'')}) | else | autocmd VimEnter * qall! | endif'
from vim-startuptime.
It runs, flashes for a sec, and then returns to the :terminal
. Nothing is printed out to the console.
from vim-startuptime.
That's the working behavior. I thought maybe there would be a notification of some error.
Can you share the alias command? I'll try to reproduce by matching your configuration.
from vim-startuptime.
It's just alias nvim="nvim --startuptime /tmp/nvim-startuptime"
from vim-startuptime.
Related Issues (16)
- Error while starting...screenshot attached for your reference HOT 5
- python3.vim is reported by :Startuptime but not by --startuptime HOT 7
- doesn't work in vim, works fine in neovim? HOT 1
- Not working in neovim HOT 2
- Not working in neovim 0.7.0 HOT 3
- API to extract total startup time HOT 3
- Error - [vim-plug] vim-startuptime Invalid argument: vim-startuptime (implicit `vim-scripts' expansion is deprecated) HOT 4
- --self argument isn't implemented HOT 1
- Set filetype to allow easier mapping customization HOT 1
- [Feature Request] Show average total time HOT 2
- setting variable g:startuptime_tries bigger than 1 results in an error frequtently HOT 1
- Feature: Add a config option to display total in StartupTime report HOT 2
- Media
- Inconsistent results with `nvim --startuptime time.log`? HOT 16
- run :StartupTime block nvim if folder have a file `s` HOT 1
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 vim-startuptime.