LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: linuxunil

刚升级vim到7.0,怎么没有了语法加亮?

[复制链接]
发表于 2006-5-21 16:28:18 | 显示全部楼层
/usr/share/doc/vim/changelog.Debian.gz

  1. vim (1:7.0-017+1) experimental; urgency=low

  2.   [ Debian Vim Maintainers ]
  3.   * New upstream patches (011 - 017), see README.gz for details.

  4.   [ Stefano Zacchiroli ]
  5.   * Preliminary support for add-on infrastructure
  6.     + added symlinks from /usr/share/vim/addons/ to $VIMRUNTIME for the
  7.       matchit plugin, so that they are no longer version dependent
  8.     + added dir /var/lib/vim/addons/, now in the runtimepath
  9.     + added vim add-on registry entry for the matchit plugin
  10. [color="Red"] * Differentiated behaviour of Vim when invoked as "vi"[/color]
  11.     + added patch patches/virc.c.diff which source /etc/vim/virc when invoked
  12.       as such
  13.     + added debian/runtime/virc; it creates a vi-like environment setting
  14.       'compatible' and nothing else
  15.   * Raised the alternative priority of vim.basic from 20 to 30. Rationale: the
  16.     relative order we want to achieve is vim.tiny < nvi < vim.basic
  17.   * vim-tiny is ready to enter the base system
  18.     + set vim-tiny priority to Important

  19.   [ Norbert Tretkowski ]
  20.   * Removed outdated runtime files from package.
  21.   * Added s390x to debcontrolArchitecture in debcontrol.vim. (closes: #361281)

  22. -- Norbert Tretkowski <nobse@debian.org>  Sat, 13 May 2006 13:23:35 -0500
复制代码
  1. vim (1:7.0-017+3) unstable; urgency=low

  2.   [ James Vega ]
  3.   * Add support for building l10n spellfiles.
  4.     + Added unzip, aap, and locales to Build-Depends-Indep.
  5.     + Added debian/locale-gen to build the locale info.
  6.     + Update debian/rules to build spellfiles (temporarly disabled).
  7.       - Added a check for 'nospell' in DEB_BUILD_OPTIONS to prevent building
  8.         the spellfiles.
  9.     + Added spell-locales.diff patch which updates the aap recipes to set the
  10.       LC_ALL environment variable instead of LANG.
  11.     + Added bg_BG.diff.diff patch which fixes the line-endings in the
  12.       bg_BG.diff patch, allowing it to apply cleanly.
  13. [color=RED] * Add /usr/share/vim/virc symlink, with this fix invoking vim as "vi" will
  14.     actually enable vim to behave differently than when invoked as "vim".
  15.     (closes: #367818)[/color]

  16. -- James Vega <jamessan@debian.org>  Thu, 18 May 2006 08:11:15 -0400
复制代码
回复 支持 反对

使用道具 举报

发表于 2006-5-23 23:16:44 | 显示全部楼层
在~/.vimrc文件中加入两行
  1. syntax on
  2. set nocp
复制代码
全部解决问题了
回复 支持 反对

使用道具 举报

发表于 2006-5-24 00:22:29 | 显示全部楼层
用vim.basic代替vim就可以了.
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表