set default filetype to 'html'.

This commit is contained in:
mattn
2010-02-22 15:24:06 +09:00
parent c4846feebf
commit 2d8dc43dc0
2 changed files with 4 additions and 1 deletions

View File

@@ -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_\@:]\+\)$')

View File

@@ -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': |