vim不支持lua的插件怎么解决
Tofloor
poster avatar
deepin207
deepin
2017-04-04 08:15
Author
如题,在用vim的时候采用的是spf13vim的配置方案,打造基于vim的ide,提示无法支持lua插件,
这个怎么解决呢?
如下是查看vim版本给出的提示:
peter@peter:~$ vim --version
VIM - Vi IMproved 8.0 (2016 Sep 12, compiled Dec 23 2016 07:10:10)
Included patches: 1-134
Modified by pkg-vim-maintainers@lists.alioth.debian.org
Compiled by pkg-vim-maintainers@lists.alioth.debian.org
Huge version without GUI.  Features included (+) or not (-):
+acl             +file_in_path    +mouse_sgr       +tag_old_static
+arabic          +find_in_path    -mouse_sysmouse  -tag_any_white
+autocmd         +float           +mouse_urxvt     -tcl
-balloon_eval    +folding         +mouse_xterm     +termguicolors
-browse          -footer          +multi_byte      +terminfo
++builtin_terms  +fork()          +multi_lang      +termresponse
+byte_offset     +gettext         -mzscheme        +textobjects
+channel         -hangul_input    +netbeans_intg   +timers
+cindent         +iconv           +num64           +title
-clientserver    +insert_expand   +packages        -toolbar
-clipboard       +job             +path_extra      +user_commands
+cmdline_compl   +jumplist        -perl            +vertsplit
+cmdline_hist    +keymap          +persistent_undo +virtualedit
+cmdline_info    +lambda          +postscript      +visual
+comments        +langmap         +printer         +visualextra
+conceal         +libcall         +profile         +viminfo
+cryptv          +linebreak       -python          +vreplace
+cscope          +lispindent      -python3         +wildignore
+cursorbind      +listcmds        +quickfix        +wildmenu
+cursorshape     +localmap        +reltime         +windows
+dialog_con      -lua             +rightleft       +writebackup
+diff            +menu            -ruby            -X11
+digraphs        +mksession       +scrollbind      -xfontset
-dnd             +modify_fname    +signs           -xim
-ebcdic          +mouse           +smartindent     -xpm
+emacs_tags      -mouseshape      +startuptime     -xsmp
+eval            +mouse_dec       +statusline      -xterm_clipboard
+ex_extra        +mouse_gpm       -sun_workshop    -xterm_save
+extra_search    -mouse_jsbterm   +syntax         
+farsi           +mouse_netterm   +tag_binary      
   system vimrc file: "$VIM/vimrc"
     user vimrc file: "$HOME/.vimrc"
2nd user vimrc file: "~/.vim/vimrc"
      user exrc file: "$HOME/.exrc"
       defaults file: "$VIMRUNTIME/defaults.vim"
  fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H     -g -O2 -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1      
Linking: gcc   -Wl,--as-needed -o vim        -lm -ltinfo -lnsl  -lselinux -lacl -lattr -lgpm -ldl           
peter@peter:~$ vim --version | grep lua
+dialog_con      -lua             +rightleft       +writebackup
peter@peter:~$


Reply Favorite View the author
All Replies
avatar
paopao123
deepin
2017-04-04 16:53
#1
试试gVim
Reply View the author
avatar
jmjoy
deepin
2017-04-04 18:48
#2
apt install vim-nox
Reply View the author
avatar
deepin207
deepin
2017-04-05 05:08
#3

peter@peter:/etc/apt$ sudo apt-get install vim-nox
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following additional packages will be installed:
  fonts-lat*-common libjs-jquery libruby2.3 libyaml-0-2 rake ruby ruby-did-you-mean
  ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 rubygems-integration zip
Suggested packages:
  apache2 | lighttpd | httpd ri ruby-dev bundler cscope vim-doc
The following NEW packages will be installed:
  fonts-lat*-common libjs-jquery libruby2.3 libyaml-0-2 rake ruby ruby-did-you-mean
  ruby-minitest ruby-net-telnet ruby-power-assert ruby-test-unit ruby2.3 rubygems-integration vim-nox zip
0 upgraded, 16 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,684 kB/7,741 kB of archives.
After this operation, 31.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Err:1 http://packages.deepin.com/deepin unstable/main amd64 fonts-lato all 2.0-1                           
  Could not connect to cdn.packages.deepin.com:80 (218.30.118.109), connection timed out
Err:1 http://packages.deepin.com/deepin unstable/main i386 fonts-lato all 2.0-1
  Could not connect to cdn.packages.deepin.com:80 (218.30.118.109), connection timed out
E: Failed to fetch http://packages.deepin.com/deepin/pool/main/f/fonts-lato/fonts-lato_2.0-1_all.deb  Could not connect to cdn.packages.deepin.com:80 (218.30.118.109), connection timed out
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Reply View the author
avatar
shea64
deepin
2017-04-06 07:19
#4
重新编译vim.编译时
Reply View the author
avatar
jingle
deepin
2017-04-06 18:48
#5
https://bbs.deepin.org/post/137097
peter@peter:/etc/apt$ sudo apt-get install vim-nox
Reading package lists... Done
Building dependen ...

http://www.linuxidc.com/Linux/2016-04/129725.htm
Reply View the author
avatar
deepin207
deepin
2017-04-07 17:04
#6
https://bbs.deepin.org/post/137097
http://www.linuxidc.com/Linux/2016-04/129725.htm

我已经搞定了,谢谢你啦
Reply View the author