mirror of
https://github.com/mattn/emmet-vim.git
synced 2025-12-06 10:44:24 +08:00
Remove empty string comparison for xml identification
This commit is contained in:
@@ -385,7 +385,7 @@ function! emmet#getFileType(...) abort
|
||||
let type = 'html'
|
||||
elseif type =~# '^javaScript'
|
||||
let type = 'javascript'
|
||||
elseif len(type) ==# 0 && type =~# '^xml'
|
||||
elseif type =~# '^xml'
|
||||
let type = 'xml'
|
||||
else
|
||||
if has_key(s:emmet_settings, &filetype)
|
||||
|
||||
Reference in New Issue
Block a user