This commit is contained in:
mattn
2014-05-19 15:12:40 +09:00
parent 018a97523a
commit 3ccd466123
2 changed files with 2 additions and 2 deletions

View File

@@ -19,7 +19,7 @@ function! emmet#lang#css#parseIntoTree(abbr, type)
" emmet
let tokens = split(abbr, '+\ze[^+)!]')
let block = emmet#util#searchRegion("{", "}")
if type == 'css' && block[0] == [0,0] && block[1] == [0,0]
if emmet#getBaseType(type) == 'css' && block[0] == [0,0] && block[1] == [0,0]
let current = emmet#newNode()
let current.snippet = abbr . " {\n" . indent . "${cursor}\n}"
let current.name = ''

View File

@@ -1,5 +1,5 @@
function! emmet#lang#scss#findTokens(str)
return emmet#lang#html#findTokens(a:str)
return emmet#lang#css#findTokens(a:str)
endfunction
function! emmet#lang#scss#parseIntoTree(abbr, type)