Comments (6)
怎麼出現的?是每次都是出現還是在某種情況下會出現。
能否給出reproduce的步驟?
from leaderf.
每次都會,但是在我的某台server上才會. 另一台不會.
我猜可能是環境的設定不太一樣.
from leaderf.
既然每次都会,问题应该很好查。能否给一些更详细的信息?
from leaderf.
難道是因為少了-lpython2.7 ?
但是兩邊echo has('python')
都是1
兩邊的/usr/bin/python2 --version
都是Python 2.6.6
這是執行失敗的server上的vim設定
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Jul 24 2015 02:23:23)
引入修正: 1-207, 209-629
修改者為<[email protected]>
編譯者:<[email protected]>
超強版本 不使用圖型界面。 目前可使用(+)與不可使用(-)的模組列表:
+acl +conceal +farsi +libcall +mouse_netterm +profile +syntax +visualextra
+arabic +cryptv +file_in_path +linebreak +mouse_sgr +python/dyn +tag_binary +viminfo
+autocmd +cscope +find_in_path +lispindent -mouse_sysmouse -python3 +tag_old_static +vreplace
-balloon_eval +cursorbind +float +listcmds +mouse_urxvt +quickfix -tag_any_white +wildignore
-browse +cursorshape +folding +localmap +mouse_xterm +reltime -tcl +wildmenu
++builtin_terms +dialog_con -footer -lua +multi_byte +rightleft +terminfo +windows
+byte_offset +diff +fork() +menu +multi_lang -ruby +termresponse +writebackup
+cindent +digraphs +gettext +mksession -mzscheme +scrollbind +textobjects -X11
-clientserver -dnd -hangul_input +modify_fname +netbeans_intg +signs +title -xfontset
-clipboard -ebcdic +iconv +mouse +path_extra +smartindent -toolbar -xim
+cmdline_compl +emacs_tags +insert_expand -mouseshape +perl -sniff +user_commands -xsmp
+cmdline_hist +eval +jumplist +mouse_dec +persistent_undo +startuptime +vertsplit -xterm_clipboard
+cmdline_info +ex_extra +keymap +mouse_gpm +postscript +statusline +virtualedit -xterm_save
+comments +extra_search +langmap -mouse_jsbterm +printer -sun_workshop +visual -xpm
系統 vimrc 設定檔: "/etc/vimrc"
使用者個人 vimrc 設定檔: "$HOME/.vimrc"
第二組個人 vimrc 檔案: "~/.vim/vimrc"
使用者個人 exrc 設定檔: "$HOME/.exrc"
$VIM 預設值: "/etc"
$VIMRUNTIME 預設值: "/usr/share/vim/vim74"
編譯方式: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -pipe -Wall -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=gen
eric -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1
鏈結方式: gcc -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -L/usr/local/lib -Wl,--as-needed -o vim -lm -lnsl -lselinux -ltinfo -lacl
-lattr -lgpm -Wl,-E -Wl,-rpath,/usr/lib64/perl5/CORE -fstack-protector -L/usr/lib64/perl5/CORE -lperl -lresolv -lnsl -ldl -lm -lcrypt -
lutil -lpthread -lc
這是執行正常的server上的vim設定
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Mar 30 2017 08:45:56)
引入修正: 1-525
編譯者:chris@tpe-dev-l2
超強版本 使用 GTK2 圖型界面。 目前可使用(+)與不可使用(-)的模組列表:
+acl +conceal +file_in_path +libcall +mouse_sgr +profile +tag_old_static +viminfo
+arabic +cryptv +find_in_path +linebreak -mouse_sysmouse +python -tag_any_white +vreplace
+autocmd +cscope +float +lispindent +mouse_urxvt -python3 -tcl +wildignore
+balloon_eval +cursorbind +folding +listcmds +mouse_xterm +quickfix +termguicolors +wildmenu
+browse +cursorshape -footer +localmap +multi_byte +reltime +terminfo +windows
++builtin_terms +dialog_con_gui +fork() -lua +multi_lang +rightleft +termresponse +writebackup
+byte_offset +diff +gettext +menu -mzscheme -ruby +textobjects +X11
+channel +digraphs -hangul_input +mksession +netbeans_intg +scrollbind +timers -xfontset
+cindent +dnd +iconv +modify_fname +num64 +signs +title +xim
+clientserver -ebcdic +insert_expand +mouse +packages +smartindent +toolbar -xpm
+clipboard +emacs_tags +job +mouseshape +path_extra +startuptime +user_commands +xsmp_interact
+cmdline_compl +eval +jumplist +mouse_dec -perl +statusline +vertsplit +xterm_clipboard
+cmdline_hist +ex_extra +keymap -mouse_gpm +persistent_undo -sun_workshop +virtualedit -xterm_save
+cmdline_info +extra_search +lambda -mouse_jsbterm +postscript +syntax +visual
+comments +farsi +langmap +mouse_netterm +printer +tag_binary +visualextra
系統 vimrc 設定檔: "$VIM/vimrc"
使用者個人 vimrc 設定檔: "$HOME/.vimrc"
第二組個人 vimrc 檔案: "~/.vim/vimrc"
使用者個人 exrc 設定檔: "$HOME/.exrc"
系統 gvimrc 檔案: "$VIM/gvimrc"
使用者個人 gvimrc 檔: "$HOME/.gvimrc"
第二組個人 gvimrc 檔案: "~/.vim/gvimrc"
defaults file: "$VIMRUNTIME/defaults.vim"
系統選單設定檔: "$VIMRUNTIME/menu.vim"
$VIM 預設值: "/usr/local/share/vim"
編譯方式: /opt/rh/devtoolset-3/root/usr/bin/gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_GTK -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/
gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -
I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -g -O2 -U_FORTIFY_SOURCE -D_FORTIF
Y_SOURCE=1
鏈結方式: /opt/rh/devtoolset-3/root/usr/bin/gcc -ltinfo -L/usr/local/lib -Wl,--as-needed -o vim -pthread -lgtk-x11-2.0 -lgdk-x11-2.0 -la
tk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -l
gthread-2.0 -lrt -lglib-2.0 -lSM -lICE -lXt -lX11 -lSM -lICE -lm -ltinfo -lelf -lnsl -lselinux -lacl -lattr -ldl -L/usr/local/lib/py
thon2.7/config/ -lpython2.7 -lpthread -ldl -lutil -lm -Xlinker -export-dynamic
from leaderf.
我想应该是的,SyntaxError: invalid syntax
, 应该是说2.6不支持那样的语法。这个插件是需要Python2.7+的。
from leaderf.
瞭解, 謝謝
from leaderf.
Related Issues (20)
- LeaderfBufTag 能按moudle名排序,或者只显示特定module名的内容?
- 如何高亮加载到 quickfix 中 的搜索 HOT 1
- relativenumber, 无法相对跳转, 并报错: E481: No range allowed HOT 3
- 5ad91dc is causing error HOT 3
- `UnboundLocalError: cannot access local variable 'filename' where it is not associated with a value` HOT 1
- No feedback when there is a permission denied HOT 5
- Help buffers are not seen in `buffer` mode HOT 2
- g:Lf_Rg配置似乎不生效 HOT 3
- LeaderF触发nvim cpu loading 异常 HOT 6
- 添加nix文件的devicon
- 关于Leaderf git的一个小建议 HOT 10
- Feature request for Preview: toggle auto preview temporarily for the current leaderf buffer HOT 1
- 保存或再打开文件报错 HOT 2
- Leaderf function 对 ini 文件显示 section 即可
- [HELP WANTED] error when called the ' leaderf#Rg#NormalModelFilter ' HOT 7
- 使用Lf_PopupPreviewPosition = 'top'时提示Pattern not found: Lf_PopupPreviewPosition = 'top' HOT 10
- 每次键入中文句号后紧接着键入小写字母y,会引发错误 HOT 2
- 让 leaderf git 支持多个git 仓库 HOT 2
- Regex mode of Leaderf rg matching result is unexpected HOT 3
- Not seeing files in the list of LeaderfFile HOT 3
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 leaderf.