vim使用css颜色插件的注意事项

Vim、Emacs配置和使用
回复
头像
sunsol
帖子: 55
注册时间: 2009-01-04 21:55

vim使用css颜色插件的注意事项

#1

帖子 sunsol » 2011-02-16 2:02

http://www.vim.org/scripts/script.php?script_id=2150
http://www.vim.org/scripts/script.php?script_id=2539
如果有使用到这个插件
一定要将

代码: 全选

   autocmd CursorHoldI * silent call s:PreviewCSSColorInLine('.')
   set ut=100
改为

代码: 全选

   “autocmd CursorHoldI * silent call s:PreviewCSSColorInLine('.')
   “set ut=1000
否则在编辑html或css文件时将无法使用自动补全
头像
fanhe
帖子: 2357
注册时间: 2007-03-24 23:45

Re: vim使用css颜色插件的注意事项

#2

帖子 fanhe » 2011-02-16 20:11

这个我很早就直接干掉了
autocmd,而且还是hold的,统统干掉
头像
cjxgm
帖子: 1952
注册时间: 2010-04-23 20:40
系统: Arch Linux
来自: 浙江·杭州
联系:

Re: vim使用css颜色插件的注意事项

#3

帖子 cjxgm » 2011-02-16 21:34

这个是怎么回事? :em06

代码: 全选

E764: 没有设定选项 'omnifunc'
Clanjor Prods. | Develop for Developers. (C++, Lua) | 作曲编曲 | 实时渲染引擎
回复