fixed problem that couldn't expand 'link:css' correctly.

This commit is contained in:
mattn
2010-02-23 13:18:12 +09:00
parent 7ec89ce2d4
commit b7281cf0b3
2 changed files with 8 additions and 2 deletions

View File

@@ -2,7 +2,7 @@
" File: zencoding.vim
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
" Last Change: 23-Feb-2010.
" Version: 0.18
" Version: 0.19
" WebPage: http://github.com/mattn/zencoding-vim
" Description: vim plugins for HTML and CSS hi-speed coding.
" SeeAlso: http://code.google.com/p/zen-coding/
@@ -823,6 +823,9 @@ function! s:zen_parseIntoTree(abbr, type)
if multiplier <= 0
let multiplier = 1
endif
if tag_name =~ ':'
let tag_name = substitute(tag_name, ':.*$', '', '')
endif
if has_key(s:zen_settings[type], 'aliases')
if has_key(s:zen_settings[type]['aliases'], tag_name)
let tag_name = s:zen_settings[type]['aliases'][tag_name]
@@ -1103,5 +1106,6 @@ endif
"echo ZenExpand('a#foo$$$*3', '')
"echo ZenExpand('@i', 'css')
"echo ZenExpand('fs:n', 'css')
"echo ZenExpand('link:css', '')
" vim:set et:

View File

@@ -2,7 +2,7 @@ script_name: ZenCoding.vim
script_id: '2981'
script_type: utility
script_package: zencoding.vim
script_version: '0.17'
script_version: '0.19'
required_vim_version: '7.0'
summary: vim plugins for HTML and CSS hi-speed coding.
@@ -67,6 +67,8 @@ install_details: |
copy zencoding.vim to your plugin directory.
versions:
- '0.19': |
This is an upgrade for ZenCoding.vim: fixed problem that couldn't expand 'link:css' correctly.
- '0.18': |
This is an upgrade for ZenCoding.vim: ignore duplicate key map.
- '0.17': |