我给vim装了插件taglist,但运行TlistOpen出错

Vim、Emacs配置和使用
回复
falcon_13
帖子: 22
注册时间: 2007-04-03 14:08

我给vim装了插件taglist,但运行TlistOpen出错

#1

帖子 falcon_13 » 2007-04-13 10:23

我给vim装了插件taglist,但运行TlistOpen出错:
Error detected while processing function <SNR>3_Tlist_Window_Open..<SNR>3_Tlist_Window_Create..<SNR>3_Tlist_Window_Init:
line 13:
E319: Sorry, the command is not available in this version: syntax match TagListComment '^" .*'
line 14:
E319: Sorry, the command is not available in this version: syntax match TagListFileName '^[^" ].*$'
line 15:
E319: Sorry, the command is not available in this version: syntax match TagListTitle '^ \S.*$'
line 16:
E319: Sorry, the command is not available in this version: syntax match TagListTagScope '\s\[.\{-\}\]$'


请教个位大哥,这是为什么啊
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2007-04-13 10:35

你确定你的vim版本。
● 鸣学
falcon_13
帖子: 22
注册时间: 2007-04-03 14:08

#3

帖子 falcon_13 » 2007-04-16 15:05

7.0的
头像
Strange
帖子: 1824
注册时间: 2006-05-19 9:54
来自: Shanghai

#4

帖子 Strange » 2007-04-17 9:31

代码: 全选

:version
看 +syntax 有没有被编译进你的vim
falcon_13
帖子: 22
注册时间: 2007-04-03 14:08

#5

帖子 falcon_13 » 2007-04-17 16:32

VIM - Vi IMproved 7.0 (2006 May 7, compiled Oct 20 2006 09:29:41)
Included patches: 1-35
Compiled by buildd@rothera.buildd
Small version without GUI. Features included (+) or not (-):
-arabic +autocmd -balloon_eval -browse +builtin_terms +byte_offset -cindent -clientserver -clipboard +cmdline_compl +cmdline_hist
+cmdline_info +comments -cryptv -cscope -cursorshape -dialog +diff +digraphs -dnd -ebcdic -emacs_tags +eval +ex_extra +extra_search -farsi
+file_in_path -find_in_path +folding -footer +fork() -gettext -hangul_input +iconv +insert_expand +jumplist -keymap -langmap +libcall
-linebreak -lispindent +listcmds -localmap -menu -mksession -modify_fname -mouse -mouse_dec -mouse_gpm -mouse_jsbterm -mouse_netterm
-mouse_xterm +multi_byte -multi_lang -mzscheme -netbeans_intg -osfiletype -path_extra -perl -printer -profile -python +quickfix -reltime
-rightleft -ruby +scrollbind -signs +smartindent -sniff -statusline -sun_workshop -syntax -tag_binary -tag_old_static -tag_any_white -tcl
+terminfo -termresponse +textobjects -title -toolbar +user_commands +vertsplit -virtualedit +visual +visualextra +viminfo -vreplace
+wildignore -wildmenu +windows +writebackup -X11 +xfontset -xim -xsmp -xterm_clipboard -xterm_save
system vimrc file: "$VIM/vimrc"
user vimrc file: "$HOME/.vimrc"
user exrc file: "$HOME/.exrc"
fall-back for $VIM: "/usr/share/vim"
Compilation: gcc -c -I. -Iproto -DHAVE_CONFIG_H -O2 -g -Wall -DFEAT_AUTOCMD -DFEAT_BYTEOFF -DFEAT_CMDL_COMPL -DFEAT_CMDHIST -DFEAT_CMDL_INF
O -DFEAT_COMMENTS -DFEAT_DIFF -DFEAT_DIGRAPHS -DFEAT_EVAL -DFEAT_EX_EXTRA -DFEAT_SEARCH_EXTRA -DFEAT_SEARCHPATH -DFEAT_FOLDING -DFEAT_INS_EXPAN
D -DFEAT_LISTCMDS -DFEAT_QUICKFIX -DFEAT_SCROLLBIND -DFEAT_SMARTINDENT -DFEAT_TEXTOBJ -DFEAT_USR_CMDS -DFEAT_VERTSPLIT -DFEAT_VIMINFO -DFEAT_VI
SUALEXTRA
Linking: gcc -L/usr/local/lib -o vim -lncurses


我接着该做什么啊
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#6

帖子 eexpress » 2007-04-17 16:38

-syntax

不是用源的版本?
● 鸣学
falcon_13
帖子: 22
注册时间: 2007-04-03 14:08

#7

帖子 falcon_13 » 2007-04-18 8:56

我是新手,不是很清楚,vim是ubuntu6.10自带的
那我该怎么办啊
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#8

帖子 eexpress » 2007-04-18 9:17

自带的不是vim。是vim-tiny。你需要安装全新的vim-gnome
● 鸣学
falcon_13
帖子: 22
注册时间: 2007-04-03 14:08

#9

帖子 falcon_13 » 2007-04-18 15:42

哦,原来如此,好的,谢谢
回复