mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-09 03:54:47 +08:00
don't need conversion.
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
"=============================================================================
|
"=============================================================================
|
||||||
" zencoding.vim
|
" zencoding.vim
|
||||||
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
" Author: Yasuhiro Matsumoto <mattn.jp@gmail.com>
|
||||||
" Last Change: 21-Feb-2012.
|
" Last Change: 28-Mar-2012.
|
||||||
|
|
||||||
let s:save_cpo = &cpo
|
let s:save_cpo = &cpo
|
||||||
set cpo&vim
|
set cpo&vim
|
||||||
@@ -1194,10 +1194,6 @@ function! s:get_content_from_url(url, utf8)
|
|||||||
silent! exec '0r!'.g:zencoding_curl_command.' "'.substitute(a:url, '#.*', '', '').'"'
|
silent! exec '0r!'.g:zencoding_curl_command.' "'.substitute(a:url, '#.*', '', '').'"'
|
||||||
endif
|
endif
|
||||||
let ret = join(getline(1, '$'), "\n")
|
let ret = join(getline(1, '$'), "\n")
|
||||||
let ic = iconv(ret, "utf-8", &encoding)
|
|
||||||
if ret != ic
|
|
||||||
let ret = ic
|
|
||||||
endif
|
|
||||||
silent! bw!
|
silent! bw!
|
||||||
return ret
|
return ret
|
||||||
endfunction
|
endfunction
|
||||||
|
|||||||
Reference in New Issue
Block a user