Last active
August 29, 2015 14:00
Revisions
-
heavenshell revised this gist
May 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -47,5 +47,5 @@ Vim: Finished. ### - if_python, if_ruby 期待通り動作した - if_lua は lua5.2 の場合期待通り動作した - lua が luajit5.1 の場合 messages に表示されない - if_python2 を無効にし if_python3 のみを有効にする方法が分からないため未確認 -
heavenshell revised this gist
May 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ ### .vimrc ```viml if has('gui_macvim') let $RUBY_DLL = "/opt/local/lib/libruby.2.1.0.dylib" let $PYTHON_DLL = "/opt/local/lib/libpython2.7.dylib" -
heavenshell revised this gist
May 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -48,4 +48,4 @@ Vim: Finished. - if_python, if_ruby 期待通り動作した - if_lua は lua5.2 の場合期待通り動作した - lua が luajit5.1 の場合 - if_python2 を無効にし if_python3 のみを有効にする方法が分からないため未確認 -
heavenshell revised this gist
May 3, 2014 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -45,7 +45,7 @@ Vim: Caught deadly signal ABRT Vim: Finished. ### - if_python, if_ruby 期待通り動作した - if_lua は lua5.2 の場合期待通り動作した - lua が luajit5.1 の場合 - if_python2 を無効にし if_python3 のみを有効にする方法が分からない -
heavenshell revised this gist
May 3, 2014 . 1 changed file with 15 additions and 6 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,9 +1,9 @@ ### .vimrc ``` if has('gui_macvim') let $RUBY_DLL = "/opt/local/lib/libruby.2.1.0.dylib" let $PYTHON_DLL = "/opt/local/lib/libpython2.7.dylib" let $LUA_DLL = "/opt/local/lib/liblua.5.2.3.dylib" endif ``` @@ -13,14 +13,23 @@ endif ### if_lua ``` :lua print('hello') hello ``` ```viml let $LUA_DLL = "/opt/local/lib/libluajit-5.1.2.0.1.dylib" ``` にした場合 ``` :lua print('hello') ``` :messages に出力結果が表示されない ### if_ruby ``` :ruby p 'hello' hello ``` ### if_python ``` @@ -36,7 +45,7 @@ Vim: Caught deadly signal ABRT Vim: Finished. ### - if_python は if_ruby 期待通り動作した - if_lua は lua5.2 の場合期待通り動作した - lua が luajit5.1 の場合 - if_python2 を無効にし if_python3 のみを有効にする方法が分からない -
heavenshell created this gist
May 3, 2014 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,42 @@ ### .vimrc ``` if has('gui_macvim') let $RUBY_DLL = "/opt/local/lib/libruby.1.9.1.dylib" let $PYTHON_DLL = "/opt/local/lib/libpython2.7.dylib" let $LUA_DLL = "/opt/local/lib/libluajit-5.1.2.0.1.dylib" endif ``` - 上記ライブラリは MacPorts でインストール。 - コマンドを入力前に全て Vim を再起動。 ### if_lua ``` :lua print('hello') ``` :messages に出力結果が表示されない ### if_ruby ``` :ruby p 'hello' ``` :messages に出力結果が表示されない ### if_python ``` :python print 'hello' hello ``` ### if_python3 ``` :python3 print('hello') ``` Vim: Caught deadly signal ABRT Vim: Finished. ### - if_python は期待通り動作した - if_lua, if_ruby は print の結果が表示されない - Vim が落ちるなどはしない - if_python2 を無効にし if_python3 のみを有効にする方法が分からない