diff --git a/zencoding.vim b/zencoding.vim index 9767c4c..5afebdb 100644 --- a/zencoding.vim +++ b/zencoding.vim @@ -981,6 +981,7 @@ endfunction function! s:zen_expand(word) let type = &ft + if len(type) == 0 | let type = 'html' | endif let line = getline('.')[:col('.')-1] if a:word || type != 'html' let part = matchstr(line, '\([0-9A-Za-z_\@:]\+\)$') diff --git a/zencoding.vim.vimup b/zencoding.vim.vimup index 2f2c3c3..5dda3cb 100644 --- a/zencoding.vim.vimup +++ b/zencoding.vim.vimup @@ -2,7 +2,7 @@ script_name: ZenCoding.vim script_id: '2981' script_type: utility script_package: zencoding.vim -script_version: '0.14' +script_version: '0.15' 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.15': | + This is an upgrade for ZenCoding.vim: set default filetype to 'html'. - '0.14': | This is an upgrade for ZenCoding.vim: fixed tag name like 'fs:n' in 'css'. - '0.14': |