1/17/2023 0 Comments Cellar macvim![]() ![]() Maybe this is because this issue is from 2011, but I'm not finding it works for my JRuby usage. Thanks a lot for the info, that is an amazing speed improvement for me! discussion #9 Heck, you could probably even get away with: if !empty($MY_RUBY_HOME) That also eliminates the dependence on the shell. I'd do if !empty(matchstr($MY_RUBY_HOME, 'jruby')) G:ruby_path is supposed to be comma separated (although spaces do work for backwards compatibility reasons). Let g:ruby_path=system('echo $MY_RUBY_HOME/lib/ruby/')ĭo you see anything wrong with this? discussion #7 This is my workaround: if !empty(matchstr(system('rvm current'), 'jruby')) If that still isn't enough, you can disable the load path querying entirely by setting g:ruby_path in your vimrc. My Mac currently reports that it takes about 125 ms, a significant improvement over what you're seeing. ![]() Just days ago, I significantly improved the speed of this by dropping the querying of Ruby Gems. The delay is attributable to ftplugin/ruby.vim querying the Ruby load path. discussion #4Īctually, I realized that the slowdown was happening because of another plugin: syntastic. Reply to this email directly or view it on GitHub:Īre you using jruby? I definitely see a slowdown when I'm using jruby with rvm. Your output correctly, taking the least amount of time to load of theĪh you are right I misread the output indeed, so it isįtplugin/ruby.vim that is taking a while to load. Is taking a long time? The indent/ruby.vim file is, if I understand Here is some relevant output where you can see how long it takes to load and when it jumps on loading the indent file:Ģ19.092 003.356 003.356: sourcing /Users/markmulder/.vim/syntax/ruby.vimĪm I missing something, or do you mean that the ftplugin/ruby.vim file I was just wondering if others are experiencing this as well. Do I need to compile vim again or is there any way to fix this. In my situation loading the ruby indent file is taking a very long time. Referenced from: /usr/local/Cellar/macvim/8.0-134/MacVim.app/Contents/bin/./MacOS/Vim. I've been trying to see what could cause it with the -startuptime flag: mvim -startuptime vim.out file.rb I'm scared to try any more linking/unlinking because, in addition to just having a bunch of junk on my 4 year old computer that I wanted to be rid of, I went through with the recent wipe and clean install because I broke the builtin Python unlinking stuff I shouldn't have.When I open a ruby file it takes a (relatively) very long while before Vim is fully loaded. I tried ln -s /Applications/MacVim.app /usr/local/Cellar/macvim/7.4-73_1/, but it says the file already exists. usr/local/bin/vimdiff -> /usr/local/Cellar/vim/HEAD/bin/vimdiff usr/local/bin/vim -> /usr/local/Cellar/vim/HEAD/bin/vim MacVim gives you OS X features like S to save, C and V for copy and paste, a proxy icon in the menu bar to drag-and-drop or right-click for the folder hierarchy, a dot in the red 'close' button to indicate unsaved changes. usr/local/bin/view -> /usr/local/Cellar/vim/HEAD/bin/view I highly recommend everyone using TextMate to try MacVim with Janus. Run `brew linkapps macvim` to symlink these to /Applications. configure -with-features=huge -enable-multibyte -with-macarchs=x86_64 -enable-perlinterp -enab Print _config_var("PYTHONFRAMEWORKPREFIX") □ /usr/local/Cellar/python/2.7.9: 4810 files, 78MĪnd here's the output from brew install -override-system-vim macvim:Īlready downloaded: /Library/Caches/Homebrew/ => /usr/local/Cellar/python/2.7.9/bin/python -s setup.py -no-user-cfg install -force -verbose -insta usr/local/bin/2to3 -> /Library/Frameworks/amework/Versions/3.4/bin/2to3 To force the link and overwrite all conflicting files: The formula built, but is not symlinked into /usr/localĪlready exists. Run `brew linkapps python` to symlink these to /Applications.Įrror: The `brew link` step did not complete successfully They will install into the site-package directory => Pouring python-2.7.9.yosemite.bottle.10.tar.gz Already downloaded: /Library/Caches/Homebrew/python-2.7.9.yosemite.bottle.10.tar.gz ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |