tweag / promptworks.vim

PromptWorks vim configs as a self-bootstrapping vundle setup
2 stars 1 forks source link

Ensure vim always runs from a shell #20

Closed iamjarvo closed 7 years ago

iamjarvo commented 9 years ago

Allows MacVim to use the correct ruby version

iamjarvo commented 9 years ago

Please double check this. I don't have a good way of testing.

jgarber commented 9 years ago

:+1: Didn't break anything for me, but I also don't understand what it's for. I can :!date successfully both when I start MacVim from a shell and when I don't.

iamjarvo commented 9 years ago

@jgarber it allows macvim to recognize the ruby version in your shell. The problem it solves is macvim using system ruby and not having updated syntax with 2.2.2

nicholaides commented 9 years ago

Cool. What would a test case look like?

iamjarvo commented 9 years ago

@nicholaides when you open macvim use the keyword argument syntax with an empty value so def say_hi(name:) and your syntax highlighting should show an error. With this change and your ruby version set to to 2.2.x you should not see the error.