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- 上記ライブラリは MacPorts でインストール。
| diff --git a/src/edit.c b/src/edit.c | |
| index 0d9e9d4..bedda9c 100644 | |
| --- a/src/edit.c | |
| +++ b/src/edit.c | |
| @@ -2820,7 +2820,7 @@ set_completion(colnr_T startcol, list_T *list) | |
| compl_cont_status = 0; | |
| compl_curr_match = compl_first_match; | |
| - if (compl_no_insert || compl_no_select) | |
| + if ((compl_no_insert || compl_no_select) && list->lv_len > 1) |
| let s:save_cpo = &cpo | |
| set cpo&vim | |
| function! s:rand(list) | |
| let s:choice = '' | |
| py << endpy | |
| def _choice(l): | |
| import random | |
| import vim | |
| ret = random.choice(l) |
| #!/bin/sh | |
| TSTAMP=`date +%Y%m%d-%H:%M:%S` | |
| FILENAME=$1 | |
| LOGPATH=$2 | |
| Rotate=3 | |
| logfile=backup.log-`date +%Y%m%d` | |
| echo ".............Backup Script Running on $TSTAMP............" >> $logfile | |
| let i=$Rotate-1 | |
| if [ -f "$FILENAME.$Rotate" ];then |
| $LUA_DLL = "/opt/local/lib/libluajit-5.1.2.0.3.dylib" | |
| これが | |
| let $LUA_DLL="/opt/local/lib/liblua.dylib" | |
| あるいは、MacVim Kaoriya の組み込みの LUA_DLL だとクラッシュしない。 |
| var env = process.env.NODE_ENV || 'dev'; | |
| var winston = require('winston'); | |
| winston.setLevels(winston.config.syslog.levels) | |
| if (env !== 'dev') { | |
| winston.remove(winston.transports.Console); | |
| } | |
| var customColors = { |
| def foo(): | |
| def add(x, y): | |
| return x + y | |
| return add(1, 2) | |
| print(foo()) # 3 |
| function <SNR>159_define_signals..<SNR>159_libcall の処理中にエラーが検出されました: | |
| 行 4: | |
| dlerror = "dlsym(0x7fbd6cd9c770, vp_get_signals): symbol not found" | |
| E364: "vp_get_signals"() のライブラリ呼出に失敗しました |
| if g:jedi#popup_select_first == 0 | |
| inoremap <buffer> . .<C-R>=jedi#complete_opened() ? "" : "\<lt>C-X>\<lt>C-O>\<lt>C-P>"<CR> | |
| end |
| diff --git a/plugin/jedi.vim b/plugin/jedi.vim | |
| index 9e0b013..aba7e18 100644 | |
| --- a/plugin/jedi.vim | |
| +++ b/plugin/jedi.vim | |
| @@ -68,7 +68,7 @@ if 1: | |
| text = 'import %s' % args.pop() | |
| scr = jedi.Script(text, 1, len(text), '') | |
| try: | |
| - path = scr.goto()[0].module_path | |
| + path = scr.goto_assignments()[0].module_path |