forked from VimPlug/emmet-vim
set default filetype to 'html'.
This commit is contained in:
@@ -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_\@:]\+\)$')
|
||||
|
||||
@@ -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': |
|
||||
|
||||
Reference in New Issue
Block a user