mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-08 03:24:45 +08:00
set default filetype to 'html'.
This commit is contained in:
@@ -981,6 +981,7 @@ endfunction
|
|||||||
|
|
||||||
function! s:zen_expand(word)
|
function! s:zen_expand(word)
|
||||||
let type = &ft
|
let type = &ft
|
||||||
|
if len(type) == 0 | let type = 'html' | endif
|
||||||
let line = getline('.')[:col('.')-1]
|
let line = getline('.')[:col('.')-1]
|
||||||
if a:word || type != 'html'
|
if a:word || type != 'html'
|
||||||
let part = matchstr(line, '\([0-9A-Za-z_\@:]\+\)$')
|
let part = matchstr(line, '\([0-9A-Za-z_\@:]\+\)$')
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ script_name: ZenCoding.vim
|
|||||||
script_id: '2981'
|
script_id: '2981'
|
||||||
script_type: utility
|
script_type: utility
|
||||||
script_package: zencoding.vim
|
script_package: zencoding.vim
|
||||||
script_version: '0.14'
|
script_version: '0.15'
|
||||||
required_vim_version: '7.0'
|
required_vim_version: '7.0'
|
||||||
summary: vim plugins for HTML and CSS hi-speed coding.
|
summary: vim plugins for HTML and CSS hi-speed coding.
|
||||||
|
|
||||||
@@ -67,6 +67,8 @@ install_details: |
|
|||||||
copy zencoding.vim to your plugin directory.
|
copy zencoding.vim to your plugin directory.
|
||||||
|
|
||||||
versions:
|
versions:
|
||||||
|
- '0.15': |
|
||||||
|
This is an upgrade for ZenCoding.vim: set default filetype to 'html'.
|
||||||
- '0.14': |
|
- '0.14': |
|
||||||
This is an upgrade for ZenCoding.vim: fixed tag name like 'fs:n' in 'css'.
|
This is an upgrade for ZenCoding.vim: fixed tag name like 'fs:n' in 'css'.
|
||||||
- '0.14': |
|
- '0.14': |
|
||||||
|
|||||||
Reference in New Issue
Block a user