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